Re: [dhcwg] I-D Action: draft-ietf-dhc-dhcpv6-yang-17.txt

ianfarrer@gmx.com Mon, 22 February 2021 14:09 UTC

Return-Path: <ianfarrer@gmx.com>
X-Original-To: dhcwg@ietfa.amsl.com
Delivered-To: dhcwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1E9083A0935 for <dhcwg@ietfa.amsl.com>; Mon, 22 Feb 2021 06:09:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gmx.net
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 1Mg1N7-YimYY for <dhcwg@ietfa.amsl.com>; Mon, 22 Feb 2021 06:09:20 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (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 CBFE23A0930 for <dhcwg@ietf.org>; Mon, 22 Feb 2021 06:09:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1614002956; bh=JAfXQh63BuasgtJXX3o0Z0G5koSc5WZi4OgpYgTCB1c=; h=X-UI-Sender-Class:Subject:From:In-Reply-To:Date:Cc:References:To; b=bFrFBKjafPZ5DAQZaqIzPCL5T3l8T4ZLdP6i5vEiksjklrikLDQBmcsEyKnZjvYHm L/QIuEfnOoj1HqOd6n3M0Ykro45xoC/6c9tYq78tV0m8pVe/N1POrNfxRPe5MylAzi 8KHulPuAAwZL7YjBszaO3MVD+AFnb+IwD28p4P58=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from mbp-big-sur-2.fritz.box ([84.44.211.212]) by mail.gmx.net (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1Mk0Ne-1lgbps2cwK-00kTCg; Mon, 22 Feb 2021 15:09:16 +0100
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
From: ianfarrer@gmx.com
In-Reply-To: <6019394A.8010303@btconnect.com>
Date: Mon, 22 Feb 2021 15:09:15 +0100
Cc: dhcwg@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <F93B94A9-BD9C-4B0E-88DA-7A481458166A@gmx.com>
References: <6019394A.8010303@btconnect.com>
To: t petch <ietfa@btconnect.com>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
X-Provags-ID: V03:K1:62s8VzOBta4QJxIMv4Fi6bWfE3m6adysRatOMy0v1vLXvMT4weZ nOEo5iv2P5aC8GYIzSRlzsegu++r0J19IFqeB6dywFs3qn4ZawsttVJT2A2Sh9/EhCkdeVX bg+rHJ/AzIYU1YXXvKmJ1g1GiytsFjlzs7KWn3ifmhyMgkbKmrLSgtlEIKLjmAfD+2xfqgx pw8JZoXVMQTlOrShj18Qg==
X-UI-Out-Filterresults: notjunk:1;V03:K0:+KOrDoSfxNs=:51e4PFgV+JYSoDOKGTEp0j kaOqbk7Zz9b0dTimEwXl8sWsqQS4bBdI7QR6IxR2I/NVZfDl+vqUtC0Te2N5/EZIFbEFY1E5d JcF84SW3yuqlu70ZyyZjwGHU3GAAe+jeQDpA8mTnyu+ICVTNXJswhoKi9tlDGPeAq3luRGqtA 8IM+CBEdO+FjvT02ao1DMZFgLzodW6u6ri53CdPrpZBSDJAJiIc77f0NdYaYmf9mhw1gZGO9/ EQVmC9H6zaXLPqQ2Zd6ixYX4whgQyDTLDeUTYU3zAaTqNNLi2Ri0XzdjjtfW//rr8DRe9xcnW DDmTT2pEPB99XIthzgdj4EjyQ01ky1ae80z1aKTyeqBkniy1Jzp1ThJLjQvyXtSqjCrjSM2db i5wqAINDRHpIiewXwd/rQoEFlW0qnFFJFrX4ku7IOsNs0obRfZ4CzxMAlxCnJnUOJQUKcSh8f A2aAVTmzPejStQYPNxrnAyTDCbUzJF8C2i2SSXr4X95uOLg7TQ2TGfghcnerUL0BV1UDPefeJ OEj+2TYM5735Ejf61q7CQ4LzXYZOSB9aHyH6jSzsOEWYhhjkIxe5mXRM/vSHGEkygWyR+j22I ARfjaJptFmtvMKQlWxWyF4wXPHJqxHfiT0M5jtFDEJbsyyMdiu8sFCvX61/1oFCdyueJW73Lv g7kOmuk/EjYHjI8Py9aZr2ED+PyPZUdukuiAq5yyiaZPW050RjllGn6icW0lJy6eiHAyK+eok mpQ3yHcr6BQOQTVki8AonlnsVBxhqMNhuvup5i3Oawv7i1dPn5oLLospyNbxjXfGzknhwfuyg M25TQ+R0J4luMsWUWU73Z5Wvw5r/4z0d0lbU/5e4J5DMdGj6LjYVVT/f5fJbOsWygbIX6feVZ D5lzwK1wlrzr4r6RIjhQ==
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/SU4EeDq1gDX7xiC1C1YQemjUdYE>
Subject: Re: [dhcwg] I-D Action: draft-ietf-dhc-dhcpv6-yang-17.txt
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <dhcwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dhcwg/>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Feb 2021 14:09:22 -0000

Hi Tom,

Thanks for your comments. I’ve just posted an update to address these. Also, please see inline below. 

Ian

> On 2. Feb 2021, at 12:36, t petch <ietfa@btconnect.com> wrote:
> 
> Ian
> 
> Looks good, although it will be some time before I digest all the
> detail.
> 
> Some admin type thoughts to be going on with.
> 
> Authors: the I-D has six, which may or may not be ok with the AD, but
> the YANG modules have five or six or seven which is not ok! Consistency
> please.

[if - Fixed]

> 
> Contact in YANG modules must include WG website and e-mail, in the YANG modules in Appendices as well.

[if - done]

> 
> NMDA or lack thereof needs a mention in Introduction or Abstract

[if - done]

> 
> References: the YANG modules  reference
> RFC826
> RFC2464
> RFC4122
> <https://www.iana.org/assignments/dhcpv6-parameters>
> which need to be in I-D Normative References

[if - done]

> 
> References in the YANG modules are patchy. You need them, I think, for
> many more leaves, all the timers, all the counts, as RFC and section therein, and for IANA Enterprise numbers (the URI)
> Without them I do not know where to look to see if the YANG matches the
> underlying definitions.

[if - Done, with the exception of counters and some notifications. These are not formally defined anywhere (RFC, MIB etc.)]

> 
> IANA Considerations must register the four namespaces

[if - Done]

> 
> RFC8513 appears in several places, which I find rather telling

[if - Replaced with RFC XXXX]

> 
> s.1 lacks reference for YANG and Netconf and lacks RESTCONF

[if - Added reference]

> 
> Options: I would like a list of all the options supported so I do not
> have to reverse engineer the YANG to find them

[if - added table]

> 
> Abbreviations need expanding on first use

[if - done]

> 
> s.2.1
>  *  enabled: Enables/disables the function of the //DHCPv6 /server.

[if - done]

> 
> s.3.1
>       leaf rapid-commit {
>         type boolean;
>         description "A value of 1 specifies that the pool supports
> boolean are true or false
> 
>       leaf client-duid {
>         type binary;
> for me 'duid' cries out for a YANG type definition

[if - done]

> 
> s.3.3
>         defined in [RFC8415] is unsuccessful.";
> looks like markup language which is not allowed in YANG modules

[if - done]

> 
> s.3.4
>     typedef timer-seconds32 {
>       type uint32 {
>         range "1..4294967295";
> 4294967295 looks the maximum value which case you can say 'max'
> 
> you exclude zero which used to be a valid value for such as T1 and T2

[if - removed the range statement as it is redundant]

> 
>       leaf type-code {
>         type uint16;
>          default 65535;
> why is the default 65535?

[if - removed] 

> 
>         case duid-unstructured {
>         ...
>           leaf data {
>             type binary;
> as above, I think that this should be a type.  Were it binary, I think length should be restricted, such as min 3 octet max 128 octet

[if - The DUID type is a string and restricted to a length of 260 (to include the 2 octet type field and max 128 octet DUID)]

> 
> /description "The replay detection method used/description "The Replay
> Detection Method used/

[if - done]

> 
> Tom Petch
> 
> 
> ----- Original Message -----
> From: <ianfarrer@gmx.com>
> To: <dhcwg@ietf.org>
> Sent: Friday, January 29, 2021 3:25 PM
> Subject: Re: [dhcwg] I-D Action: draft-ietf-dhc-dhcpv6-yang-17.txt
> 
> 
>> I've just posted -17 of the draft following discussion on the
> structure on the netmod mailing list. The discussion is here:
>> 
>> 
> https://mailarchive.ietf.org/arch/msg/netmod/uFNY9XfCcNANQNA34HpLVsF_lU8
> /
>> 
>> 
>> A number of changes were discussed and have been incorporated in this
> update. These are:
>> 
>> * The element specific modules previously had a second module which
> described options relevant to the node. These options definitions have
> been incorporated into the relevant element modules. This means there
> are now total 4 modules in the draft  (instead of 7):
>> 
>> Ietf-dhcvp6-common
>> Ietf-dhcvp6-client
>> Ietf-dhcvp6-relay
>> Ietf-dhcvp6-server
>> 
>> * Options which are applicable to more than one node are now defined
> in the 'common' module to be imported and used by the relevant elements.
>> 
>> * As a result, the identities for each node type is no longer needed,
> so these has been removed.
>> 
>> * Additional option definition modules no long use 'RFCXXXX' in their
> naming. Short, descriptive names are used instead.
>> 
>> * The appendix example for defining additional option definitions has
> been updated along with the accompanying text.
>> 
>> * 'Enable' nodes have been added to the client, relay and server
> modules to enable disable overall function. Client and relay modules
> also have enable nodes for each DHCP interface included.
>> 
>> 
>> In addition, there are a number of small wording cleanups. Also,  in
> the security section, a bullet point about reconfiguring the
> relay-destination address has been removed. This was a duplicate bullet,
> copied in error under the read-only security descriptions.
>> 
>> Thanks,
>> Ian
>> 
>> On 29. Jan 2021, at 16:21,
> internet-drafts@ietf.org<mailto:internet-drafts@ietf.org> wrote:
>> 
>> 
>