Re: [netmod] Syslog YANG Model Presentation

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Wed, 23 July 2014 22:03 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
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 81E211B27BD for <netmod@ietfa.amsl.com>; Wed, 23 Jul 2014 15:03:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.551
X-Spam-Level:
X-Spam-Status: No, score=-1.551 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RP_MATCHES_RCVD=-0.001] autolearn=no
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 lSy_IIuygjqq for <netmod@ietfa.amsl.com>; Wed, 23 Jul 2014 15:03:38 -0700 (PDT)
Received: from atlas3.jacobs-university.de (atlas3.jacobs-university.de [212.201.44.18]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E82F71B2911 for <netmod@ietf.org>; Wed, 23 Jul 2014 15:03:37 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id 54F68715; Thu, 24 Jul 2014 00:03:36 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas3.jacobs-university.de ([10.70.0.220]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10030) with ESMTP id oU8Z7vWkXTEY; Thu, 24 Jul 2014 00:03:21 +0200 (CEST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "Jacobs University CA - G01" (verified OK)) by atlas3.jacobs-university.de (Postfix) with ESMTPS; Thu, 24 Jul 2014 00:03:35 +0200 (CEST)
Received: from localhost (demetrius3.jacobs-university.de [212.201.44.48]) by hermes.jacobs-university.de (Postfix) with ESMTP id 780192002C; Thu, 24 Jul 2014 00:03:35 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius3.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id rPX5LOkoHE6e; Thu, 24 Jul 2014 00:03:34 +0200 (CEST)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id AFD3020017; Thu, 24 Jul 2014 00:03:33 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 5867F2DF7D34; Thu, 24 Jul 2014 00:03:33 +0200 (CEST)
Date: Thu, 24 Jul 2014 00:03:33 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: "Clyde Wildes (cwildes)" <cwildes@cisco.com>
Message-ID: <20140723220333.GC41955@elstar.local>
Mail-Followup-To: "Clyde Wildes (cwildes)" <cwildes@cisco.com>, "netmod@ietf.org" <netmod@ietf.org>, Kiran Agrahara Sreenivasa <kkoushik@Brocade.com>
References: <CFF2F9DA.8B4CA%cwildes@cisco.com> <20140722150553.GB12083@elstar.local> <CFF547D1.8B865%cwildes@cisco.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CFF547D1.8B865%cwildes@cisco.com>
User-Agent: Mutt/1.4.2.3i
Archived-At: http://mailarchive.ietf.org/arch/msg/netmod/LEdVsTwoPcXWBkmFixSEO0vUwyw
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
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
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:03:40 -0000

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/>