Re: [netmod] AD review of draft-ietf-netmod-system-mgmt
Benoit Claise <bclaise@cisco.com> Wed, 11 December 2013 16:20 UTC
Return-Path: <bclaise@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 8A9891AE09E for <netmod@ietfa.amsl.com>; Wed, 11 Dec 2013 08:20:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.901
X-Spam-Level:
X-Spam-Status: No, score=-8.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, J_CHICKENPOX_45=0.6, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] 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 pXpugRigMI1Q for <netmod@ietfa.amsl.com>; Wed, 11 Dec 2013 08:20:33 -0800 (PST)
Received: from aer-iport-2.cisco.com (aer-iport-2.cisco.com [173.38.203.52]) by ietfa.amsl.com (Postfix) with ESMTP id A86431AE078 for <netmod@ietf.org>; Wed, 11 Dec 2013 08:20:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=16520; q=dns/txt; s=iport; t=1386778827; x=1387988427; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to; bh=zWEiuu0Cxr1qi0TJeE2LoKDDHAq1uvtYzezM8GwcpaQ=; b=VEx4LpdaKJxJLsMr3VM107CG5Qm0EbfNnpkkthUn0blYxnfWFwl6rWPU iGyADX8uABUXfKrRJyYXSToYl8KqBEfzTFvm146jczO9X3eQ924VDDFOB Fykia728tMb067JwAQJ6gjRnmoU2iYZGdHuCFyWfpoSVq0F2rcXMcoxql w=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ai8FAPaPqFKQ/khL/2dsb2JhbABZgwc4iTOwOYEdFnSCJQEBAQMBeAEQCw4KCRYPCQMCAQIBRQYNAQUCAQGHeAYNwgcXjiYRAVAHCYQrBJQxg2OBMIUVi06DKjuBNQ
X-IronPort-AV: E=Sophos;i="4.93,872,1378857600"; d="scan'208,217";a="1411980"
Received: from ams-core-2.cisco.com ([144.254.72.75]) by aer-iport-2.cisco.com with ESMTP; 11 Dec 2013 16:20:26 +0000
Received: from [10.60.67.86] (ams-bclaise-8915.cisco.com [10.60.67.86]) by ams-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id rBBGKJMj027423; Wed, 11 Dec 2013 16:20:20 GMT
Message-ID: <52A890C3.3020504@cisco.com>
Date: Wed, 11 Dec 2013 17:20:19 +0100
From: Benoit Claise <bclaise@cisco.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <52A5CCD2.7030903@cisco.com> <52A5EBA1.50802@cisco.com> <20131210.131838.821365541466219199.mbj@tail-f.com>
In-Reply-To: <20131210.131838.821365541466219199.mbj@tail-f.com>
Content-Type: multipart/alternative; boundary="------------060307010800090403060207"
Cc: netmod@ietf.org
Subject: Re: [netmod] AD review of draft-ietf-netmod-system-mgmt
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, 11 Dec 2013 16:20:36 -0000
Martin, > Benoit Claise <bclaise@cisco.com> wrote: >> Dear authors, >> >> Here is my AD review. >> >> - >> exactly like indraft-ietf-netmod-interfaces-cfg >> <https://datatracker.ietf.org/doc/draft-ietf-netmod-interfaces-cfg/>, >> which contains a summary table with MIB variable table, this document >> should contain a similar mapping table >> For example >> +--rw system >> | +--rw contact? string >> | +--rw hostname? inet:domain-name >> | +--rw location? string >> +--ro system-state >> +--ro platform >> +--ro os-name? string >> +--ro os-release? string >> +--ro os-version? string >> +--ro machine? string >> >> This maps to the system group MIB variables. Some leavs definitions >> already refer to some MIB variables: sysContact, sysLocation, etc. >> I understand the MIB variables don't map 1:1, but telling that >> os-name part of the sysDescr MIB variable >> os-release part of the sysDescr MIB variable >> os-version part of the sysDescr MIB variable >> machine? part of the sysDescr MIB variable >> ... is also useful info. > For the 1-1 mapped object, we'll have this table: > > +----------------+-------------------+ > | YANG data node | SNMPv2-MIB object | > +----------------+-------------------+ > | contact | sysContact | > | location | sysLocation | > +----------------+-------------------+ > > >> Considering that NETCONF is now also used for monitoring, and that >> people were used to SNMP, such mapping tables would be a good practice >> in all NETMOD documents to help SNMP people/NMS make the transition. >> There might be some read-only MIB variables in the following RFCs: >> RFC 4668 RADIUS Authentication Client MIB > Our model provides parameters for configuring the radius client; this > MIB has objects for read-only monitoring. The config objects affect > what is operationally used, but there is no 1-1 mapping. The "related" > objects are: > > radius/server/transport/udp/udp/address > radiusAuthServerInetAddressType > radiusAuthServerInetAddress > > radius/server/transport/udp/udp/authentication-port > radiusAuthClientServerInetPortNumber > > But I am not sure that listing these adds any value...? If there is no 1:1 mapping, that's different. Up to you to mention a sentence such as: The YANG module provides parameters for configuring the radius client; the RFC 4668 RADIUS Authentication Client MIB has objects for read-only monitoring. There is no 1-1 mapping between the YANG module and MIB module objects. The "related" objects are: radius/server/transport/udp/udp/address radiusAuthServerInetAddressType radiusAuthServerInetAddress radius/server/transport/udp/udp/authentication-port radiusAuthClientServerInetPortNumber > >> RFC 4669 RADIUS Authentication Server MIB > This is not applicable; we don't have any parameters for RADIUS > servers. > >> RFC 5907 Definitions of Managed Objects for Network Time Protocol >> Version 4 (NTPv4) > Same situation as for the radius client. > >> ... >> >> So it needs a little bit of research, but shouldn't be too hard. >> >> >> - >> leaf location { >> type string; >> description >> "The system location. The server MAY restrict the size >> and characters in order to maintain compatibility with >> the sysLocation MIB object."; >> reference >> "RFC 3418 <http://tools.ietf.org/html/rfc3418>: Management >> Information Base (MIB) for the >> Simple Network Management Protocol (SNMP) >> SNMPv2-MIB.sysLocation"; >> } >> >> Question: do we want to be aligned with the leaf name logic >> inhttps://datatracker.ietf.org/doc/draft-ietf-netmod-interfaces-cfg/ ? >> >> leaf name { >> ... >> In most cases, the "name" of an "interface" entry is mapped to >> ifName. ifName is defined as a DisplayString [RFC2579] which uses a >> 7-bit ASCII character set. An implementation that performs this >> mapping MUST restrict the allowed values for "name" to match the >> restrictions of ifName. >> >> So basically >> NEW: >> leaf location { >> type string; >> description >> "The system location. In most cases, the "location" of an >> "interface" entry >> is mapped to sysLocation. sysLocation is defined as a DisplayString >> [RFC2579] >> which uses a 7-bit ASCII character set. An implementation that >> performs this >> mapping MUST restrict the allowed values for "location" to match >> the >> restrictions of sysLocation."; >> reference >> "RFC 3418 <http://tools.ietf.org/html/rfc3418>: Management >> Information Base (MIB) for the >> Simple Network Management Protocol (SNMP) >> SNMPv2-MIB.sysLocation"; >> } > As Randy pointed out, the text above has some copy&paste errors. > > OLD: > > The server MAY restrict the size and characters in > order to maintain compatibility with the sysContact > MIB object."; > > NEW: > > This leaf MAY be mapped to the sysContact MIB object by an > implementation. Such an implementation MUST restrict the > allowed values for this leaf so that it matches the > restrictions of sysContact." > > ... but I am not convinced the new text is better than the old. If > you think it is, I am fine with adding it. > > (and same for location). Let's follow up in the other email thread. > > > >> +--rw system >> | +--rw clock >> | | +--rw (timezone)? >> | | +--:(timezone-location) >> | | | +--rw timezone-location? ianatz:iana-timezone >> | | +--:(timezone-utc-offset) >> | | +--rw timezone-utc-offset? int16 >> | +--rw ntp! >> | +--rw enabled? boolean >> >> leaf enabled { >> type boolean; >> default true; >> description >> "Indicates that the system should attempt >> to synchronize the system clock with an >> NTP server from the 'ntp/server' list."; >> } >> >> >> How come that enabled is marked as optional while there is a default >> value? >> Aren't they slightly conflicting statements? >> Disclaimer: no strong feeling about that one. > It is optional to set for the client. ok Regards, Benoit > >> - >> Do we need the NTP version, 3 or 4, as a config field? > I saw that you answered this one yourself! > > > /martin > . >
- Re: [netmod] AD review of draft-ietf-netmod-syste… Benoit Claise
- Re: [netmod] AD review of draft-ietf-netmod-syste… Martin Bjorklund
- [netmod] AD review of draft-ietf-netmod-system-mg… Benoit Claise
- Re: [netmod] AD review of draft-ietf-netmod-syste… Benoit Claise
- Re: [netmod] AD review of draft-ietf-netmod-syste… Randy Presuhn
- Re: [netmod] AD review of draft-ietf-netmod-syste… Martin Bjorklund
- Re: [netmod] AD review of draft-ietf-netmod-syste… Juergen Schoenwaelder
- Re: [netmod] AD review of draft-ietf-netmod-syste… Martin Bjorklund
- Re: [netmod] AD review of draft-ietf-netmod-syste… Randy Presuhn
- Re: [netmod] AD review of draft-ietf-netmod-syste… Randy Presuhn
- Re: [netmod] AD review of draft-ietf-netmod-syste… Martin Bjorklund
- Re: [netmod] AD review of draft-ietf-netmod-syste… Randy Presuhn
- Re: [netmod] AD review of draft-ietf-netmod-syste… Juergen Schoenwaelder
- Re: [netmod] AD review of draft-ietf-netmod-syste… Randy Presuhn
- Re: [netmod] AD review of draft-ietf-netmod-syste… Martin Bjorklund
- Re: [netmod] AD review of draft-ietf-netmod-syste… Juergen Schoenwaelder
- Re: [netmod] AD review of draft-ietf-netmod-syste… Benoit Claise
- Re: [netmod] AD review of draft-ietf-netmod-syste… Benoit Claise
- Re: [netmod] AD review of draft-ietf-netmod-syste… Benoit Claise
- Re: [netmod] AD review of draft-ietf-netmod-syste… Randy Presuhn
- Re: [netmod] AD review of draft-ietf-netmod-syste… Martin Bjorklund
- Re: [netmod] AD review of draft-ietf-netmod-syste… Randy Presuhn
- Re: [netmod] AD review of draft-ietf-netmod-syste… Juergen Schoenwaelder
- Re: [netmod] AD review of draft-ietf-netmod-syste… Juergen Schoenwaelder
- Re: [netmod] AD review of draft-ietf-netmod-syste… Martin Bjorklund
- Re: [netmod] AD review of draft-ietf-netmod-syste… ietfdbh
- Re: [netmod] AD review of draft-ietf-netmod-syste… Andy Bierman
- Re: [netmod] AD review of draft-ietf-netmod-syste… Ladislav Lhotka
- Re: [netmod] AD review of draft-ietf-netmod-syste… Andy Bierman
- Re: [netmod] AD review of draft-ietf-netmod-syste… ietfdbh
- Re: [netmod] AD review of draft-ietf-netmod-syste… Andy Bierman
- Re: [netmod] AD review of draft-ietf-netmod-syste… Juergen Schoenwaelder
- Re: [netmod] AD review of draft-ietf-netmod-syste… Juergen Schoenwaelder
- Re: [netmod] AD review of draft-ietf-netmod-syste… Andy Bierman
- Re: [netmod] AD review of draft-ietf-netmod-syste… Randy Presuhn
- Re: [netmod] AD review of draft-ietf-netmod-syste… Martin Bjorklund
- Re: [netmod] AD review of draft-ietf-netmod-syste… Ladislav Lhotka
- Re: [netmod] AD review of draft-ietf-netmod-syste… Martin Bjorklund
- Re: [netmod] AD review of draft-ietf-netmod-syste… Ladislav Lhotka
- Re: [netmod] AD review of draft-ietf-netmod-syste… Martin Bjorklund
- Re: [netmod] AD review of draft-ietf-netmod-syste… Ladislav Lhotka
- Re: [netmod] AD review of draft-ietf-netmod-syste… ietfdbh
- Re: [netmod] AD review of draft-ietf-netmod-syste… Randy Presuhn
- Re: [netmod] AD review of draft-ietf-netmod-syste… Ladislav Lhotka
- Re: [netmod] AD review of draft-ietf-netmod-syste… Ladislav Lhotka
- Re: [netmod] AD review of draft-ietf-netmod-syste… Randy Presuhn
- Re: [netmod] AD review of draft-ietf-netmod-syste… Ladislav Lhotka
- Re: [netmod] AD review of draft-ietf-netmod-syste… Martin Bjorklund
- Re: [netmod] AD review of draft-ietf-netmod-syste… Juergen Schoenwaelder