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

t petch <ietfa@btconnect.com> Tue, 02 March 2021 12:40 UTC

Return-Path: <ietfa@btconnect.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 875613A173E for <dhcwg@ietfa.amsl.com>; Tue, 2 Mar 2021 04:40:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=0.001, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H2=-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=btconnect.onmicrosoft.com
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 gqJUSjRP6XLp for <dhcwg@ietfa.amsl.com>; Tue, 2 Mar 2021 04:40:30 -0800 (PST)
Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60132.outbound.protection.outlook.com [40.107.6.132]) (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 7AF2E3A173D for <dhcwg@ietf.org>; Tue, 2 Mar 2021 04:40:30 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j/XpUTBJNVZ0NeDESi+nIG5py38bc3BAh1CmJOP5EzK/UyAGe5r2bhD60uMD9D5eOiD4lA72NK/g7fNIUAH8VK87PTGFoZuSE164YNKXySU98teFpYyQr9nuCSiUjfs92CCR4JfYDy99MmXtJYy43U9qCW0mYyi6l3ty4PL9mOjOGwU/6PXJHALK45OmkyDG5u4fqTnNiOPGxAsFcNDaZH16Fu7WWLSOfQ6Q238jh/0gR4E3yEgjaIg8qNWQqblsfZz5q/3oh4N5hTcS6KaIn1xueHIQScE6UwTRROKh3XMfNzhxJFcGXZ2zFryzRfOb7kDPjgnclgfCpNpfzf61bw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Kp+p9QWskVLnksIdqttAxh+NWTlm0Z+COjO47muBG/0=; b=b7VcowHmDA+LqKpKtWx6e9a+CTFpn/FlaVURB/LHHSqPd4fLfTB2NBzePey+QCiQwM5MLOFPN/YR4awo6BKjErhCjLs0iHdcUP/DmdNta6u+Pk7u/X58TrqYVJSOzcqtBLmU6fP5tmsoWePGoCZjUz/Twg9MKu37iNWG+l7qObyHgogebImYrJSO4Gpmd4rLGRVO1Zsl8hTrCw/dlkZYDpcXxlHySGuNW7106f1KtvMjYFhurKywqM+THR1KakGFDzeoSS7X8tQtTuErb10RbB2OymSy2jex2qauQu0jT4h6ShCsXkC/hKvA216vKMWGAvhixW2tr53OPOps2V3AlA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=btconnect.com; dmarc=pass action=none header.from=btconnect.com; dkim=pass header.d=btconnect.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Kp+p9QWskVLnksIdqttAxh+NWTlm0Z+COjO47muBG/0=; b=GYfCOC5NRJOVYQ7zvj4F9hio0cQhFWmcQzh47LkmMOgvGBtPs4ekvTrAvxynG+e4qcgYeByXAkr8kpcWJ8Mk9C0F4jBagJh0dTD9Cn0h5OeMWXXCLPDy2zicV9/x58/h3cWBUp4sfygEDGWWrYEQFf51TC6qDYaoLYn+DILjZdA=
Authentication-Results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=btconnect.com;
Received: from DB7PR07MB5546.eurprd07.prod.outlook.com (2603:10a6:10:73::23) by DB7PR07MB3932.eurprd07.prod.outlook.com (2603:10a6:5:8::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.11; Tue, 2 Mar 2021 12:40:27 +0000
Received: from DB7PR07MB5546.eurprd07.prod.outlook.com ([fe80::e5d9:cd75:1ebc:a236]) by DB7PR07MB5546.eurprd07.prod.outlook.com ([fe80::e5d9:cd75:1ebc:a236%4]) with mapi id 15.20.3912.016; Tue, 2 Mar 2021 12:40:27 +0000
To: ianfarrer@gmx.com, dhcwg@ietf.org
References: <6019394A.8010303@btconnect.com>
From: t petch <ietfa@btconnect.com>
Message-ID: <603E3235.10501@btconnect.com>
Date: Tue, 02 Mar 2021 12:40:21 +0000
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
In-Reply-To: <6019394A.8010303@btconnect.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [86.146.121.140]
X-ClientProxiedBy: LO4P123CA0052.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:152::21) To DB7PR07MB5546.eurprd07.prod.outlook.com (2603:10a6:10:73::23)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from [192.168.1.65] (86.146.121.140) by LO4P123CA0052.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:152::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3890.23 via Frontend Transport; Tue, 2 Mar 2021 12:40:26 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: ed42c537-0a88-4506-5bda-08d8dd785b2d
X-MS-TrafficTypeDiagnostic: DB7PR07MB3932:
X-MS-Exchange-MinimumUrlDomainAge: iana.org#9402
X-Microsoft-Antispam-PRVS: <DB7PR07MB3932F0FB0CD3FE6CC9F25E18A2999@DB7PR07MB3932.eurprd07.prod.outlook.com>
X-MS-Oob-TLC-OOBClassifiers: OLM:6430;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: B04BKWeEcVoGMWfsWCzvajpdIf3TWFJnEY8M5mqqjtpLlwMcmkSmRBH7+qa6oPMYVi+FVge3/31NFVu0bCG6lCg9FHvYyYFtJ1nL+nrokdO6otHGcCLoKXb5fudzWP7//GwvGylaBkArETIMhGcYWchMYJXFqH6L0mGAs4oMYUPEXwDRZVUJRkx+bw4sHOyXzlsYH3lQ50srjXgH6bxC8+TW65pJdEvi4RStq9ngharrDgX78P0Q1vn/r+4Gmtke5t+eR5xFjqbgAkFDh23hGJ6cZCRnDiQgEplDBWf/+mSRLy9ca+DWmW+LLrrCMaa+U+3kaoOPl2syvpjIJITeDi0wZyYXDmFNn+sGciBYXpc8ugrCPjJ9gyNH2gfQk6A9icIBSADtLLNKzBGE0YmS+obv5zGaxYNBTjChvGUK+eFT00fxJ8by0RDDkp690i2mi2dzf4P7yFrgF8f/T+jlMZif9fTAbyEJJRr/7fYghnTVuPrloKYD7gmXZrrVnH09uHil91Nh18US/66vgnGD2R8wXS9Ly4i3sb8rpSw0BrLTwujFROS+0P87h6D7FYFXWD0Ye8FrCY1gz6B76ONouBvG6XuifwrVDI7LvBO+hvugIlCBpIxd6idINANKSBbDQ5180CXEajG0JU/2BfF3CGMInCpDfUz2lJrq1qrXWgTlNnR/8aZwmFzayASsZgpc
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR07MB5546.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(376002)(39860400002)(396003)(136003)(346002)(16526019)(316002)(66574015)(16576012)(2616005)(6666004)(83380400001)(966005)(86362001)(6486002)(2906002)(8676002)(66476007)(478600001)(8936002)(66556008)(52116002)(53546011)(36756003)(26005)(5660300002)(956004)(186003)(66946007)(33656002)(518174003)(43740500002); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData: zxtWW1h2RvkxOFN9DaZAbMgbHpgwEgW+anZm0LB9u3ThPOPItENWoTH6gDoAOvs5ajb5odizgr8/6tkHuCe/jRmNScMb7aAjh7eC5ne40Ekfs4E0fbAGHToRCgW6J5cPeU3/GtDWtBRA1hWS4IM7SctWOzCuffkzK3vyjcoUqMnNuJs4hZyschEFwSU2vhFgXZvN8EyvV+AQ3i0LU9Q6h1T0pZhBSb0bYf9Dl4o854E3fK6BDHxepp36IgnHGxshbvx6M5n03DjDvWs2rs1fOLNwLOS+TFZWunGI35CLnZYQXzlxrodmP8MhLANSggB9htdVT8gnt6pnZIDvhRtqpBjaE/A+4tDXHHmwpOF9bY/THk4J8oWua+l8UxD7q9SsCMuj2NrV+je92m5EtwsM9kz0PPJX5WwIUOlds6F0hU3tJtVGBdq5BufGK9ALeChV8I0R9Z4jXaOEQts5hmyweeKzenIZpw2fGhPDYfxy+AxBoHPA2uvlWOHfmWmi/J6XxJ1IAUgCr3pIJ/LtvZ4WBcZvED522DSUU6bennUQaprecKdEa5aKbYAFZVuomTybC6h0Hj+VY6KMvQiKayIimnfKLcjYMR3OIMCpw/Bccq90hNL3jEMB6khNN+Aa2LLWM84/GU1W7rzAkQtukm3plN++1tGlQfHfef5gSx5/wK9QGT6BDqSWVjAdQMDLP6cR2PJHSFrnDayzqB22JuGZjpZq0fa8qXbKQyfWY9USaVTxXNgtD6bTTU/EWsLxuNs7isdRkkiVL3PevGp09apWp1mMpqjQIWNozq9qpVt4TLg4TC3nw0m1+zObK1DFx35ldUFDkk9IDojwBeqXOK6ed5e9e0BAkWwJqB1AyZSYOBthix+M2/X1tY1wHmIHw/m1LTbyeGlQVpBKWt+l20Kaap6i/JwsnP773M1tWx/FOEZ3cXbvoNFiwZ3zYXhKLYomXi+LdxlmJimfqUJUt37DKrfNdPDdJIknfPgZajoQXfY4gWLd4jrRG6IztlyWu9xFrJw73T0JvcyTrdzVVjWGiqv8U+tBGzTy1Zjd9cnU9ATdZGMaZOCqEJ68eh+/KkGvsYzw2S5EMpneBv8OfytLSaSAdDnlwTMigplZYs0Ki50btSpFoqsQGg3iMT9m2zq3S80Do6MjWOKyXQyrzmxxuh8nw1jaeXbyc4Nmw2/drp4aWsHIQbiWfHMss6WVhwuXYakxoX6leZnUOyPtgFbpxLn0h9dW+G+da0vgM9g4j2sjVZFPaWtPaRawjjIXM6aDszu0XL59vFYAEjoLEdi6RYDSGHH/ET2I9l1Dm6pZbPCawn4CJ9thRQ9PSZQNMzYH
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: ed42c537-0a88-4506-5bda-08d8dd785b2d
X-MS-Exchange-CrossTenant-AuthSource: DB7PR07MB5546.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2021 12:40:27.1876 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: v6xIYGbEAd8Vp3G+iSjvvUvX1BVUyjNjvApmyeLQggTJDEp/3WAjO9bZJwlFN/o4doEDp28+a2wWD5ZrUZRuNw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB3932
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/zLEMxRQZJDdxL0RXnKLlYhu8x4M>
Subject: Re: [dhcwg] I-D Action: draft-ietf-dhc-dhcpv6-yang-18.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: Tue, 02 Mar 2021 12:40:34 -0000

Ian

I put your last e-mail to me somewhere safe, too safe for me to find 
just now.  So, I am going through -18 and thoughts so far

I like the treatment of DUID.

IANA status codes needs adding to the I-D references

server-module (part-reviewed)
prefix-delegation
6.3 would seem a better reference than 6.2

rapid commit
5.1 might be better than 5.2

leaf id
  Equivalent to subnet ID
I do not understand this, nor do the RFC uses of subnet enlighten me


common module
You have a MUST in the common module which means you should have the 
RFC8174 text in the module as well

duid-base
why a length of 260?  RFC allows 128 which sort of suggests two-byte 
character sets!

between 1 and 128 bytes
RFC has octets so I think that better

duid-unstructured
I do not understand what the pattern is doing here

OPTION_AUTH
the RFC references auth-namespaces so I think that this should too here 
and in I-D references

I note that this uses HMAC-MD5; I do not know how Security ADs view 
this; it may need a note in the Security Considerations

auth-information
string or binary?

sub-optiondata
again string or binary?  RFC does not help me here
I note that there is a two octet length field ie 65535 max

More to come.

Tom Petch


On 02/02/2021 11:36, t petch 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.
>
> Contact in YANG modules must include WG website and e-mail, in the YANG
> modules in Appendices as well.
>
> NMDA or lack thereof needs a mention in Introduction or Abstract
>
> References: the YANG modules  reference
> RFC826
> RFC2464
> RFC4122
> <https://www.iana.org/assignments/dhcpv6-parameters>
> which need to be in I-D Normative References
>
> 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.
>
> IANA Considerations must register the four namespaces
>
> RFC8513 appears in several places, which I find rather telling
>
> s.1 lacks reference for YANG and Netconf and lacks RESTCONF
>
> Options: I would like a list of all the options supported so I do not
> have to reverse engineer the YANG to find them
>
> Abbreviations need expanding on first use
>
> s.2.1
>    *  enabled: Enables/disables the function of the //DHCPv6 /server.
>
> 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
>
> s.3.3
>           defined in [RFC8415] is unsuccessful.";
> looks like markup language which is not allowed in YANG modules
>
> 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
>
>         leaf type-code {
>           type uint16;
>            default 65535;
> why is the default 65535?
>
>           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
>
> /description "The replay detection method used/description "The Replay
> Detection Method used/
>
> 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:
>>
>>
>