Re: [netmod] Syslog YANG Model Presentation

"Clyde Wildes (cwildes)" <cwildes@cisco.com> Wed, 23 July 2014 22:38 UTC

Return-Path: <cwildes@cisco.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6BE901B2936 for <netmod@ietfa.amsl.com>; Wed, 23 Jul 2014 15:38:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.502
X-Spam-Level:
X-Spam-Status: No, score=-14.502 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gwFSsnICFtpx for <netmod@ietfa.amsl.com>; Wed, 23 Jul 2014 15:38:07 -0700 (PDT)
Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 44A041B28CE for <netmod@ietf.org>; Wed, 23 Jul 2014 15:38:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4866; q=dns/txt; s=iport; t=1406155087; x=1407364687; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=4HSUcBuNXW6gSfX6ViJXRAWBryJQJJ8HouqrJint0FU=; b=h8y6CfUtezKk9gxpdRiTic8Cam+x5q5h9WgP9HM1WbHH0+sBIanQ3K2j DgZYuYFHG0qE3AVvaRY4qy/RZ++phBTN50apHWQF+oXZ0YbLa7UYMYZN/ 77yVdpfT1ddk9aDGTVCH+PAzNjh1fz/cmeyLy4NA3q9hIbjsyqyPQ9x4Y w=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AvUIAGQ40FOtJA2D/2dsb2JhbABWA4JqJFJXAQOCdMY7h0UBGXIWdoQEAQEENEUOAgIBCA4CCAQoAgIZFyUCBA4FCYg5AQyMQZwhBpdiFwSBIo1yGAsQBxGCYYFUBZstgVKSboNIbAGBRA
X-IronPort-AV: E=Sophos;i="5.01,720,1400025600"; d="scan'208";a="63487921"
Received: from alln-core-1.cisco.com ([173.36.13.131]) by alln-iport-3.cisco.com with ESMTP; 23 Jul 2014 22:38:06 +0000
Received: from xhc-rcd-x07.cisco.com (xhc-rcd-x07.cisco.com [173.37.183.81]) by alln-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id s6NMc536025284 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 23 Jul 2014 22:38:05 GMT
Received: from xmb-aln-x13.cisco.com ([fe80::5404:b599:9f57:834b]) by xhc-rcd-x07.cisco.com ([173.37.183.81]) with mapi id 14.03.0123.003; Wed, 23 Jul 2014 17:38:05 -0500
From: "Clyde Wildes (cwildes)" <cwildes@cisco.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Thread-Topic: [netmod] Syslog YANG Model Presentation
Thread-Index: AQHPpSkC2ZiRgh9DtUicY+pcm0HXCJushl6AgAGsuQCAAFpLgP//xqeA
Date: Wed, 23 Jul 2014 22:38:05 +0000
Message-ID: <CFF5B0D7.8B9A7%cwildes@cisco.com>
References: <CFF2F9DA.8B4CA%cwildes@cisco.com> <20140722150553.GB12083@elstar.local> <CFF547D1.8B865%cwildes@cisco.com> <20140723220333.GC41955@elstar.local>
In-Reply-To: <20140723220333.GC41955@elstar.local>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.21.97.159]
Content-Type: text/plain; charset="euc-kr"
Content-ID: <462259C3D1B5DF4BA36BB084C268213B@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/netmod/mYWUwI4u5VGm_ZivNL0M07ZGPQY
Cc: Kiran Agrahara Sreenivasa <kkoushik@Brocade.com>, "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] Syslog YANG Model Presentation
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jul 2014 22:38:08 -0000

Juergen,

We will update the description for global-logging to be clear.

We will consider adding syslog listener configuration as a feature.

We will update the reference section in the model as you described.

Thanks,

Clyde


On 7/23/14, 6:03 PM, "Juergen Schoenwaelder"
<j.schoenwaelder@jacobs-university.de> wrote:

>On Wed, Jul 23, 2014 at 08:40:11PM +0000, Clyde Wildes (cwildes) wrote:
>> >
>> >PS: I do not really understand 'global logging'.
>> 
>> [clyde] Some vendors include an extra log message suppression mechanism
>> that is logically before the selectors/actions mechanism. We called this
>> mechanism ³global-logging². It is listed as a feature for those vendors
>> that support it and it is described in the RFC document.
>
>If this is a global filter, it should probably have a name that makes
>this clearer. But then, the I-D also says:
>
>  feature global-logging {
>    description
>      "This feature represents the ability to adjust
>       log message severity per logging facility on the
>       global level.";
>  }
>
>This says 'adjust severity' which is again different from suppression
>or filtering. The data model uses the facility-logging grouping, which
>then again reads as a filter. In other words, it seems like messages
>not passing 'global-logging' will be dropped. If this is the
>intention, please make sure this is clearly described.
>
>> >PS: A configuration model should probably also include ways to
>> >    configure on which endpoints the syslog 'daemon' is receiving
>> >    input.
>> 
>> [clyde] This model does not include syslogd daemon listener
>>configuration
>> (the daemon listens for syslog messages on port 514 on all interfaces if
>> the ³-r² switch is included on the syslogd command line). I am thinking
>> that syslog daemon configuration should be a separate model since this
>> model is concerned with syslog message distribution. For reference here
>>is
>> the FreeBSD syslogd man page which shows the many syslogd daemon
>>options:
>> http://www.freebsd.org/cgi/man.cgi?query=syslogd&sektion=8
>
>Listener configuration could be left out or it could be made a
>feature; most open source syslog daemons can listen for incoming
>messages.
>
>> >PS: The reference in the revision statement is usually used to refer
>> >    to the document defining that specific revision of the data model.
>> >
>> >PS: For the example, simple show the config instance not the NETCONF
>> >    exchange.
>> 
>> [clyde] Please explain. Should the reference for revision 02 be to:
>>         http://tools.ietf.org/html/draft-wildes-netmod-syslog-model-02
>> 
>> The current revision 03 contents are:
>> 
>>  revision 2014-06-10 {
>>    description
>>      "Initial revision.";
>>    reference
>>      "This model references RFC 5424 - The Syslog Protocol.";
>>   }
>> 
>
>The idea is to refer to the document defining the YANG module, e.g.:
>
>     // RFC Ed.: update the date below with the date of RFC publication
>     // and remove this note.
>     revision 2014-06-10 {
>       description
>         "Initial revision.";
>       reference
>         "RFC XXXX: A YANG Data Model for SYSLOG";
>     }
>
>This way, someone who has the YANG module can easily find the RFC
>defining it.
>
>/js
>
>-- 
>Juergen Schoenwaelder           Jacobs University Bremen gGmbH
>Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
>Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>