[netmod] comments on RFC6087bis-01
"Sterne, Jason (Jason)" <jason.sterne@alcatel-lucent.com> Thu, 08 January 2015 18:00 UTC
Return-Path: <jason.sterne@alcatel-lucent.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 7F7931A8AF9 for <netmod@ietfa.amsl.com>; Thu, 8 Jan 2015 10:00:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.91
X-Spam-Level:
X-Spam-Status: No, score=-6.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] 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 oEBTNJeLB1nV for <netmod@ietfa.amsl.com>; Thu, 8 Jan 2015 10:00:48 -0800 (PST)
Received: from smtp-fr.alcatel-lucent.com (fr-hpgre-esg-01.alcatel-lucent.com [135.245.210.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A427E1A8F40 for <netmod@ietf.org>; Thu, 8 Jan 2015 10:00:48 -0800 (PST)
Received: from us70tusmtp1.zam.alcatel-lucent.com (unknown [135.5.2.63]) by Websense Email Security Gateway with ESMTPS id 78D879ECECC0C for <netmod@ietf.org>; Thu, 8 Jan 2015 18:00:43 +0000 (GMT)
Received: from US70TWXCHHUB03.zam.alcatel-lucent.com (us70twxchhub03.zam.alcatel-lucent.com [135.5.2.35]) by us70tusmtp1.zam.alcatel-lucent.com (GMO) with ESMTP id t08HwxfX028589 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for <netmod@ietf.org>; Thu, 8 Jan 2015 13:00:45 -0500
Received: from US70TWXCHMBA11.zam.alcatel-lucent.com ([169.254.5.170]) by US70TWXCHHUB03.zam.alcatel-lucent.com ([135.5.2.35]) with mapi id 14.03.0195.001; Thu, 8 Jan 2015 13:00:28 -0500
From: "Sterne, Jason (Jason)" <jason.sterne@alcatel-lucent.com>
To: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: comments on RFC6087bis-01
Thread-Index: AdArbPtoOaTzCL/WRZ6OFcWOgUZIhw==
Date: Thu, 08 Jan 2015 18:00:27 +0000
Message-ID: <A125E53CE190A749957C19483DC79F9F5C9A68C5@US70TWXCHMBA11.zam.alcatel-lucent.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [135.5.27.16]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/B9Yskl-qJlRY9bk9enVuuJsP8GY>
Subject: [netmod] comments on RFC6087bis-01
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: Thu, 08 Jan 2015 18:00:50 -0000
Hi guys,
RFC6087 contains a lot of useful guidelines. It would be really nice if some of the guidelines were illustrated with some examples. If various folks know some of this stuff well and can provide an example off the top of their heads it would help make an update easier.
### Section 5.2
Perhaps add a few examples of valid and invalid identifiers ?
Good: leaf my-interface
container Hello67890123456789012345678901234567890123456789012345678901234
list _a10-locations.in.canada
Bad: leaf xml-config (can't start with 'xml')
container Hello678901234567890123456789012345678901234567890123456789012345 (65 chars)
list 5alive (can't start with a digit)
### Section 5.3.3
After the discussion about 64bit values in YANG settles out we should likely move this into its own section and put more comprehensive information in the doc.
There is a nice example for the last XPath expression point (for 'when' statements). It would be great to get an example for the other 3 points (mixing of yang & xpath space, xpath conversions and xpath with identities).
### Section 5.6
I know there has been a lot of recent debate over how modules include/import each other. If it has settled out enough to update this section that would be great (I don't think it has) - otherwise this is just a placeholder comment to update that part of the doc. We should probably continue that debate in the other email threads and not drag it into this particular email thread.
### Section 5.9
The paragraph about mandatory definitions seems to somewhat conflict with the 'type' leaf in the ietf-interfaces module. RFC6087bis says that a mandatory leaf must be provided by the client. RFC6020 section 7.6.5 says the leaf must *exist* (but doesn't seem to require the client to necessarily provide it).
### Section 5.10
Does someone have an example for "since a double-quoted string can modify the content" ?
Regards,
Jason
- [netmod] comments on RFC6087bis-01 Sterne, Jason (Jason)
- Re: [netmod] comments on RFC6087bis-01 Juergen Schoenwaelder
- Re: [netmod] comments on RFC6087bis-01 Jonathan Hansford