Re: [dhcwg] Yangdoctors early review of draft-ietf-dhc-dhcpv6-yang-19

t petch <ietfa@btconnect.com> Thu, 03 June 2021 11:43 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 093E93A07E0; Thu, 3 Jun 2021 04:43:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.244
X-Spam-Level:
X-Spam-Status: No, score=0.244 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FAKE_REPLY_A1=2.144, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 jdfQAlReifpe; Thu, 3 Jun 2021 04:43:12 -0700 (PDT)
Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60134.outbound.protection.outlook.com [40.107.6.134]) (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 AFF423A07D4; Thu, 3 Jun 2021 04:43:12 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LtghOI9qyUYFgxDa3CIEIDriX4QyRLxoj+HFAcHM6IIovoDp6EVDcO0RpDYkSmyHpST8tMNO+NyNyyHCSGu2+XM4tqUFAn3bLUt+4N5cyXY5ttExD6ExAxES5gDLgnc9GNOTUYbuCiubDfSs1cdMJqx9iFe1Qk6Q3S3FGcdjnj2WiEhRaexG53wghK69YftyEoYDTC4gcAJfPcVz1PrBCJySOi6sHOBVtBOFOXVOStWjo/uC8q8b85bWAmMRZOIfc69YAQ7HGaULImhdeZC11g8m5zdZ5WjRg6nd+J7jPDv28OS/u7wjrh11JX1qapK1soWZfalr+Lr3kCxtefLjaw==
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=G0659fn2rJSfVSkj0rl48T9Lbl1mN8rl2MrTT4dxvxE=; b=ZQ3Y8K7T3W5gWcWTuIdtrEDdcOWcVWHTExCBlGXpgq4TZQdtHbwaagq2nVKz22i9+QBbyiHt7KkOS+xCLOu0tXdB9Si+umUA0PwPwFIvMhWqpsA5d35IK9obUq8HPDAYYQMSIzW1uPhhg+KTG4e0OniA3NhD8hSunMv0yG9lSy4mQGdiAGE0B3s+Bub4Qj10Zsx9t+wZNg1ds9Ds4zYfG1fuZOCLAGXS1tH7kmz10qasSp2rcBpmYW6TsDgihBDNUnTNe2q151LRHH5ots/Bcz9FP72fhhJGvCt2s3Rkyrhfk2h+rVRsj9aZ3OwL2VjDkQ2HmoMN4G2kEWlaqJAVXw==
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=G0659fn2rJSfVSkj0rl48T9Lbl1mN8rl2MrTT4dxvxE=; b=DIR9zh5/1Z+TrO3lLIpQkpCrBNgZX5IO36DyE2tvxQa6/ImhF4fBzDvQT/mlY8QcCfldMmElW7yG74AyF3PKJylSBG1SUFuG7ihLeE1h4TUHHH9+paDS18UG1bYf7XN6RHUPB3pvSOsbUQdHh6dU8ksIYFoYv2FzdDbX6UYZJTs=
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 DB7PR07MB5031.eurprd07.prod.outlook.com (2603:10a6:10:5b::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4195.12; Thu, 3 Jun 2021 11:43:09 +0000
Received: from DB7PR07MB5546.eurprd07.prod.outlook.com ([fe80::ddb2:16dd:9380:90c7]) by DB7PR07MB5546.eurprd07.prod.outlook.com ([fe80::ddb2:16dd:9380:90c7%3]) with mapi id 15.20.4195.020; Thu, 3 Jun 2021 11:43:09 +0000
From: t petch <ietfa@btconnect.com>
To: ianfarrer@gmx.com
Cc: yang-doctors@ietf.org, draft-ietf-dhc-dhcpv6-yang.all@ietf.org, dhcwg@ietf.org
Message-ID: <60B8C04B.1060703@btconnect.com>
Date: Thu, 03 Jun 2021 12:43:07 +0100
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [86.143.250.49]
X-ClientProxiedBy: LO4P123CA0332.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18c::13) 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.143.250.49) by LO4P123CA0332.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18c::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4195.20 via Frontend Transport; Thu, 3 Jun 2021 11:43:09 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: a496a866-ecaa-4d0c-3ee4-08d92684c2c0
X-MS-TrafficTypeDiagnostic: DB7PR07MB5031:
X-Microsoft-Antispam-PRVS: <DB7PR07MB503153705C8EB50F3F8B9369A23C9@DB7PR07MB5031.eurprd07.prod.outlook.com>
X-MS-Oob-TLC-OOBClassifiers: OLM:10000;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: 7IXK2xCHFJcfSPEnTrdpxXTXEXF4nfuVzK0J33hI/xMAO9xYeyQVKkvlHY0ZcF7vjUQg7RWiJTxlETHLnEdxeMR8pZZi6iXwGM/WvyQYI7rU/RwsAuaASFNRJHa6eGm6398Jn4GMpITEe/96ss1RNmx5bGdHppxM7J8Aroc0C3Q2c4bBDLVhWd8z6JAjWY568/mUSDXT4OSgTAnhCqstZKEJ6lf1MetfiutXdRl25Tmj039u836aTPGR9zaJlBSo4tN9/36f5hV+sSeeHAmBy8ptwQaFnZNk4ujISTzY0Y8Vhae/KJWK+bTk+4RB3l4iExseWaq4bYZu2ErQV4PySC5d6fNvS75nlOa2MBCh7ZulEx+DuK+PuJDTJtUWznu2iX/NqP4bfw36TPBM94IfICKOjjFdDaFYlX2PrsoCZ3uAqGZz+G/W3WaqYCQuz8Q6xio5MXiRrYE2P61uIOG8li34K0g2Oo/d6lV6u1uTBPZPhb9hG4RiymmGwn2QWYmvJNRTjW//MakvPtEeI+OD74FyfTXAizhHZNbSdD3yqOGYSQHxFvdgOPyceBYCYQcJYWSsZF7PpPHLIUe58IQWENm8tGyPjn1ejmD1pXyZcCtm2zf+NKoUo5pS3ljVfM5sodGGvqKKmuOlBhYOX8+06mRBPjvsrp8+iZZQIMrLsGlQybkmCiqp1oaDqsAU483WOlZZZkbYLZpNjsIrj0f1mQuP9vHLyICauIqGSwKXmYYAzKDGAsLhQs2gOHolahDHP+Z3GfQK55bme06xKtTj/i1a95x2EED+OPoQdL13lIk=
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:(39860400002)(396003)(346002)(376002)(136003)(366004)(83730400007)(966005)(66946007)(66556008)(5660300002)(66476007)(52116002)(16576012)(956004)(316002)(86362001)(2616005)(6486002)(38350700002)(83380400001)(26005)(16526019)(8936002)(186003)(2906002)(8676002)(6916009)(478600001)(33656002)(87266011)(38100700002)(4326008)(36756003)(518174003); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData: OKRZuLhl+9C/pAMhTtADIOGCB9bhjiYpoC4iOQFjfR0y9ZvZFq0dZNr+m4xhJWZC7XMAHklOjqlnQAAjF7pFKKTh0NG0HIUZZRkjHZuslEAg7QKpPeGXyeG26ERr3Oc4ksEzu0i8/9enQ25x+cgN2cY9V5/I5fiG3rXd2xUkI9U3ZCviCN7shxV0QVwe9RWCJI/TtPFHVcB0NswjbIKkB9QvstEh1lTdIvT4H3HwSmfu463nCOY8kR/sC+CCbM1BT8EUYch3+eMQluwaSnuXAAbDrWHLFdSrobIRnxdbRQLJsMnBSiiz2FmAChndT+8T5H++Gy4o+PM+VqVpVK5UOOwfYhDiiLvyWs5mUYxpjcvtVHEnPHaZtEdDwOiRNN3eELzdavqDt7XosdJFJpExdi1sUl6a5GVNQkQDXUb+ic2qIHyajNAL0tuIRpvMUMQPiL0e78C9MvXEjM3gwSFxJ+kZe5GVlfAaooZT5YyjUcJp33chVMIGod7e6SRzXrgAlghaVytoiBr1C4yPoVx8TcwIvF4QoVdwgFFgm/Nnqj9vUCrEf77iZdxAKAwFVqGF4IVsTqApz81hsA6Veamr7t4nTeVmwF2UtBU5zZJ5p5JNXbU574v+N5n1sL/KHakULHnFut4nGPLZagR+S3v2jlL33HU7arD95nqVLOpuEFEHvlwpDW+sTI1P2YtbOfBw4g2hTjM/AKCnPctW6DdPr81AazeG68UauMAFbeYHPptDqK89eqHMncg/YyOvdqIi5VXd6/M9EkpSU//7aMbt16B/cUO5nsCySSVtRLhO37pSEKdL9fXUq60CBfaXy/U3Op9UhJPjMggxeeJaGTtl1xPI1ZC4bQ2Er4PzM7h+EdgdrNqIRuznr4oty/lAEpt3Fa8DfyCvLTZ8JluGTT9q80T32kvp4WmsKRmO0ewlUuQbbXZz4bYhWGKhjlUJyKPKgv7oYwQYyiW5lupmixH5pZ+LXKWjVxtnXqSCbxJ9MyCm6ZuQZs51X8CkS5cixMpJZR4W1kPGxJ3T9YAKXLN21vNMZuNAZgZjdz3XmmhzMpUFITwtlZyUaf8Tq029M7bioomtYUguBuJVEvKoSiwKyVmxj57nZFtn5pP6TFQj0Jy40Jb1PFRG8XriALMOnlbXK4T/YdDglQ9ejiB71A796SCMPISj4TzH+YttQLCbZ/Cg1KRshdIF87L5aNB8svN0SZSVqUA7LG/IwI082t+9rs+NLb9fl10YCzMkKUEUi6WMfpKUjfSKKskKg6KCRIQcezJWbk6MPJMQpz9Tgj9TV0UlYXUyMMT8mHuBkeUEaXzd2QsQTpg2DEmQol0ywW9x
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: a496a866-ecaa-4d0c-3ee4-08d92684c2c0
X-MS-Exchange-CrossTenant-AuthSource: DB7PR07MB5546.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jun 2021 11:43:09.5872 (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: 5+fExPQS0cwABNGeB7kpZ0e1oq89gipvmVVBwpmM8fwV774ugHPTCCJanVD0OMlvWRdTsxQ6mQXWw9ZK3dNnLA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB5031
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/Q2K9bwoUQwPyoRshPdWloPStPLc>
Subject: Re: [dhcwg] Yangdoctors early review of draft-ietf-dhc-dhcpv6-yang-19
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: Thu, 03 Jun 2021 11:43:17 -0000

----- Original Message -----
From: <ianfarrer@gmx.com>
Sent: Tuesday, June 01, 2021 5:48 PM

> Hi Acee,
>
> Thanks again for your review. My apologies for how long to work
through them all and prepare the update. I've just posted -20 which aims
to address your comments.
>
> Please see inline below.
>
> Additionally in this version, there are some small errors corrected
(typos, incorrect regexs) and the example YANG modules have been renamed
and have namespaces according to RFC847.

Ian

Piggybacking on your note to Acee...

When I saw the revised prefixes I thought 'I wonder if the IANA
Considerations have been updated'!

The revision statement for the RFC-to-be needs the publication date, a
change which the RFC Editor is now well used to, and needs to say
"Initial Revision" in all the modules and  reference of "RFC XXXX: YANG 
Data Model for
DHCPv6 Configuration" i.e. the I-D current title; again, the RFC Editor
knows what to do with XXXX.

The description of 'typedef duid-base' looks corrupt.

Tom Petch

> BR,
> Ian
>
> >> On 5. May 2021, at 23:32, Acee Lindem via Datatracker
<noreply@ietf.org> wrote:
> >>
> >> Reviewer: Acee Lindem
> >> Review result: On the Right Track
> >>
> >> Document: draft-ietf-dhc-dhcpv6-yang-19
> >> Reviewer: Acee Lindem
> >> Review Date: May 5, 2021
> >> Review Type: Early Review
> >> Intended Status: Standards Track
> >> Summary: On the right track - Issues and questions need to be
resolved.
> >>
> >> Modules: ietf-dhcpv6-server@2021-03-17.yang
> >>         ietf-dhcpv6-relay@2021-03-17.yang
> >>         ietf-dhcpv6-client@2021-03-17.yang
> >>         ietf-dhcpv6-common@2021-03-17.yang
> >>
> >> Tech Summary: The document contains the base configuration and
operational
> >>              YANG model for the DHCPv6 protocol. The basic
structure is
> >>              very good but the major issues need to be addressed
prior to WG
> >>              last call.
> >>
> >> Major Comments:
> >>
> >>    1. Should the DHCP server, relay, and client functions be
enabled by
> >>       default? It seems they are require specific configuration to
be
> >>       viable.
>
>
> [if - I've removed 'default enabled' from server and relay and
> left it present for client, as discussed]
>
> >>
> >>    2. The threshold type in the ietf-dhcpv6-common is strange. It
is a
> >>       union with an enumeration to disable the threshold. Normally,
if
> >>       there is no threshold, you would simply not specify it.
However,
> >>       the data nodes of this type are mandatory. I'd make it a
simple
> >>       type and remove the mandatory designations for the data
nodes. Also,
> >>       the range should not start at 0% since this % makes no sense.
>
> [if - Removed enum and changed type to uint8
> Removed 'mandatory true' from the data nodes in the server module
> Changed range to 1..100]
>
> >>
> >>    3. There are examples of augmenting the ietf-dhcpv6-server
module but
> >>       no "Module Usage Examples" as specified in section 3.12 of
RFC 8407.
>
> [if - Added Appendix A with XML examples for all of the element
> modules]
>
> >>
> >> Minor Comments:
> >>
> >>    1. While not required by RFC 8407, many YANG RFCs explcitly call
out
> >>       the interaction with imported YANG modules in a separate
section.
>
> [if - I've extended the description in the introduction to describe
> interactions]
>
> >>
> >>    2. No sense in maintaining all the intermediate revisions in the
> >>       modules. Just update the one that is the initial version and
update
> >>       the date.
>
> [if - Removed]
>
> >>
> >>    3. The module prefixes are very descriptive but a bit long.
Given
> >>       the examples of augmentations, this will be especially true
for
> >>       DHCPv6 server augmentations. Perhaps, dhc6-serv, dhc6-rly,
and
> >>       dhc6-clnt would be better.
>
> [if - Changed. 'dhcpv6-common' has also been shortened to 'dhc6']
>
> >>
> >>    4. Can host-reservation prefixes overlap with holes? If so,
> >>       reserved-prefix may not be unique. If not, no problem.
>
> [if - For the DHCP server implementations that I am familiar with,
> the prefixes will be checked when config is applied and any prefix
> overlaps will be rejected as invalid.]
>
> >>
> >>    5. For nodes with patterns, describe what the pattern allows in
> >>       the description with an example or two. This applies to
> >>       link-address, duid-base, duid-llt, duid-en, duid-ll,
> >>       duid-unstructured, and sub-option-data.
>
> [if - added examples in the description fields]
> >>
> >>    6. With respect to link-address, what type of address is this?
If it is
> >>       an IPv6 link-local address, there is an ipv6-adddress type in
RFC 6021.
>
> [if - link-address should be a GUA. I've changed the type to
ipv6-address.]
>
> >>
> >> Nits:
> >>
> >>    1. IETF documents should use US English - not UK English. I've
> >>       changed in suggested edits.
>
> [if - Incoporated the proposed changes, see below]
> >>
> >>    2. Description format - Sometimes starting right have
"description"
> >>       and sometimes starting on the next line.
>
> [if - Moved description text to start on the next line throughout.]
>
> >>
> >>    3. sol-max-rt-option-group and inf-max-rt-option-group should
spell out
> >>       the words in the description rather than just repeating the
short
> >>       abreviations.
>
> [if - Changed]
>
> >>
> >>    4. In ietf-dhcpv6-client,  for ia_ta and ia_pd, spell our
> >>       acronyms in the descriptions rather than just repeating them
(which
> >>       is useless).Is "ia" "interface address"? Don't make the
reader
> >>       go to the DHCPv6 RFC to know what you mean. What is "ia_ta"?
>
> [if - Added expanded version in the description for each IA (e.g.
IA_PD (Identity
> Association for Prefix Delegation)).]
>
> [if - for the remaining diffs, I've incorporated them exactly as
suggested, with the
> Exception of one comment below:
>
> >> ***************
> >> *** 1216,1222 ****
> >>             path
"/dhcpv6-server/option-sets/option-set/option-set-id";
> >>           }
> >>           description "The ID field of relevant set of DHCPv6
options
> >> !            (option-set) to be provisioned to clients of this
> >>             network-range.";
> >>         }
> >>         leaf valid-lifetime {
> >> --- 1218,1224 ----
> >>             path
"/dhcpv6-server/option-sets/option-set/option-set-id";
> >>           }
> >>           description "The ID field of relevant set of DHCPv6
options
> >> !            (option-set) to be provisioned to clients of the using
> >>             network-range.";
> >>         }
> >>         leaf valid-lifetime {
>
> [if - I'm not sure if the intended change here is correct. I've
> changed the wording to 'clients using the network-range.']
>
> _______________________________________________
> dhcwg mailing list
> dhcwg@ietf.org
> https://www.ietf.org/mailman/listinfo/dhcwg
> .
>
>