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

t petch <ietfa@btconnect.com> Tue, 02 February 2021 11:36 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 8E5213A19B9 for <dhcwg@ietfa.amsl.com>; Tue, 2 Feb 2021 03:36:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.896
X-Spam-Level:
X-Spam-Status: No, score=0.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FAKE_REPLY_A1=2.796, 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 bq23OsDkUusZ for <dhcwg@ietfa.amsl.com>; Tue, 2 Feb 2021 03:36:53 -0800 (PST)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80119.outbound.protection.outlook.com [40.107.8.119]) (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 815333A19BD for <dhcwg@ietf.org>; Tue, 2 Feb 2021 03:36:53 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EK/N3dIrVN/hfAMJ4Sg/i0h8815+Uxy6WI0fc0MMc3d9Fa9a06uKCHS6LUpE7jir+gjYcBVuV5gJRoXav1yOUPh8pOH16RC2yv9IcnuLyigDTzoAn2f6X3WENqerZbcC97xK1GXMwRPJqayyXxKUmMXI8uJvjjpC99lywYJngIbOeIrvJL7o6noHLew33+zxQOs+OwjA0dIZTX+8WtB1ts3jy3Jn7+7VUJC3futrMpbV1HtvMz1lzZMYIk5aQvyEIlsxlZYxB0HmbxMsh5HemaHDWqpM+DEhzZGvxflvjzcHkDt/9Go2csulK/6+7VhDixZV8wdUOuOK1bn/6Sd00w==
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=GfoRBhQ9yBFlUwn14vKP0n50Rz/JIoZmhSHUN2iFcX4=; b=cB7155DPmdVPLrteB+PNxNpzs82FI9f+wfwk7mngrFUJfYkRUL29RrC+YQn7PPnWoC55+EAa4GeZlQD2PWsnmH6Dho0J6WEDnD3VBruutsOvgxv7fN59K05FyYBxRtPlAtGTurZl/7bLjOWmTrDGLv3xwEpGnMN7CKz9wk+s5NL/JhiQ9/lp900wgxyVWLwtyMPZyaNk8SSzM5jbI2A67ArkAm2++bIO/lFip2/jEhttTpovwFtM0c0oJQG6a9PybOUcaLbM9QtRTJcUzQ5n4seEthwnQne1dPAUM+PzhD64j3aQ3VUpRfTk5M/HZdsdxQlt+brIqgMm1KqSGSOpzg==
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=GfoRBhQ9yBFlUwn14vKP0n50Rz/JIoZmhSHUN2iFcX4=; b=txc/V3++lOYVkVU7PEPy+XjB2B0SpTKsd4L73pzy5QQYsfLO/euLAtrs3Q6nUi3yqaq+LLuscUG7I6aK2KhlSVlY3jgfzkvyypkckjm1GH0/H9/V/wnQM7gAicHPlvHqo2X9u8YuTM7SqWH7NuUXA0bLD08jqWP6iFi8ur2Znz0=
Authentication-Results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=btconnect.com;
Received: from (2603:10a6:10:73::23) by DB7PR07MB4570.eurprd07.prod.outlook.com (2603:10a6:5:3b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3825.8; Tue, 2 Feb 2021 11:36:50 +0000
Received: from DB7PR07MB5546.eurprd07.prod.outlook.com ([fe80::e079:baec:373c:824f]) by DB7PR07MB5546.eurprd07.prod.outlook.com ([fe80::e079:baec:373c:824f%7]) with mapi id 15.20.3825.019; Tue, 2 Feb 2021 11:36:50 +0000
From: t petch <ietfa@btconnect.com>
To: ianfarrer@gmx.com, dhcwg@ietf.org
Message-ID: <6019394A.8010303@btconnect.com>
Date: Tue, 2 Feb 2021 11:36:42 +0000
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.146.121.140]
X-ClientProxiedBy: LO4P123CA0038.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:152::7) 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 LO4P123CA0038.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:152::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3825.17 via Frontend Transport; Tue, 2 Feb 2021 11:36:49 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 3d8a1287-f7a2-423c-bd35-08d8c76ed454
X-MS-TrafficTypeDiagnostic: DB7PR07MB4570:
X-Microsoft-Antispam-PRVS: <DB7PR07MB4570734BDFEAD35A9CD27459A2B59@DB7PR07MB4570.eurprd07.prod.outlook.com>
X-MS-Oob-TLC-OOBClassifiers: OLM:8273;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: A1OBTWMIRyngrT3eiD1oJT0MQM3NZ+wOVS2sGbnJVad6gKksPvjZkaHqkJRMvHVyM+KTCJL77ihRIH5zuE1odhGjrR7U7hr4OiKY68n2bTkVtkravDnk4hBIHVUcJ1hY4ybd1qfzB31/ukcjzRlTtagfCtJB/zonppstMeTCO/XNLlugfUb9Y4JYgzjiKgTRN6uzzYuJ8IClXmpfwS/UhK9XIegAND8kLx12hH8Wo/GGU6fObFByj+v0d7G8biQxt0Y5FYAPYglCHvmMwHM8JTRQoPbRcEaKCX9nca0Ifqs7YkpH84ZYSd+sv/OG4EADnINKDYwqI6pk5qx2kjt/dnhikgYnrk6MItjJHDNK5boLB9lnHIH0nPge9S5kGFd2ZYmtPIdGvCihIUpBXrP4uWcxeGrlBWKnkcpO0uKYxJZZkxnFo5WH2bhSlLaYd75UwqqK1zmNRXS74P6oG/9XQo7nd8vcqxYnrBFQPqSwJYeCGv2bkjf78o60MHpi1YRHJoTcDRXW0Zt1cu+m9TeycHiYwfjUcMb7EfKuWWrdcEjRXFXEHO2cDH4JeXJd5Eom5EWU8cAqfpJahlv8mizCAouGyPFuLAAFkMNqP0LeQ5VnMLOcij/Ci2J4euabpIi/QMVkFhyeq+702LjJzvPDlQ==
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:(396003)(39860400002)(136003)(366004)(376002)(346002)(83730400007)(8936002)(53546011)(66556008)(83380400001)(66476007)(66946007)(36756003)(16526019)(87266011)(186003)(52116002)(6666004)(33656002)(478600001)(966005)(66574015)(956004)(316002)(26005)(86362001)(2616005)(5660300002)(16576012)(6486002)(8676002)(2906002)(518174003); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData: =?Windows-1252?Q?7JabPZ11BJ1qO9wXqUvEX+lHmv4Uif7XZY+GdO1ZbnxFcM+mxT81Ma6A?= =?Windows-1252?Q?xJ2sh7yM46c16SNTAE+t95mIfKd7PhXIpURXsr1YYoffzufuqqQpiONj?= =?Windows-1252?Q?zRBSeUUEHj3BW5FplCGF5QEpv5vXqMcdLkSeE6mWBxNiKHsXs+Eciv1k?= =?Windows-1252?Q?1rErx4YvmLWp6or7TZ3jFbwWJRd8v0n/ADxMX4jgp0YYDcu5366vQHvm?= =?Windows-1252?Q?b2VOUlsnIdNq4ZhzqdaddJzFiGnysz6IVWeT9BKq/CTk0fK7IxJ867hT?= =?Windows-1252?Q?fpiH1ePvI7py4ulRMjW3ETK46GTB2WWVsv99/ZB+uy1uRacJr2PIxgNJ?= =?Windows-1252?Q?PIlhmZZhk9gySF3MDilnhZSrNg7dLEmhPtTRxF28i5fKJQZn3Pxy6Mbj?= =?Windows-1252?Q?9u8zzUM53GiwW04jkPq0J+tEYD3eFYVja+SjKfn2dgWOTcALtWPGEDbP?= =?Windows-1252?Q?z9o1cY6sVYkZRFU6IUQUVJ5+01v2mD8p1r+3mRYq6fGuoj8xKUX0o0Lk?= =?Windows-1252?Q?WIN87JXSD0+CX6/kOMz037gy1RBlsIkhRAGsuf8sQdtMobgAyfneZy55?= =?Windows-1252?Q?k1E6z4Lwn1DFAAvhGaiQsPiV6X73uQ3xmGJl8YT31//p64TtniWtWiom?= =?Windows-1252?Q?5wAjBtZIQX1no+BqFCA7r9+7b1+vnmjhxhD5nnxh94rKLHbD6EXkIn+E?= =?Windows-1252?Q?q/22wl8g9GjGAkPjS72sJyPoF1xYaI7wXKlbS0CcxKUXOh/Gr3Dh+CtS?= =?Windows-1252?Q?9ylQcuewOdefp4z89OdkELsH8fPOs19KoO26FPafo+7TabMYWvDxgtgk?= =?Windows-1252?Q?IlhPsVB4US0XLp1jP2J/Kh1I/0qw6CQeDzPPUR9lV/sihSL8r4TavS+e?= =?Windows-1252?Q?iIrvY/lvt4Qo4wCBOAJp+ed3xp1kK9qb33lySSkhIgt+QeU7ejqL2y7I?= =?Windows-1252?Q?EKlM6CuLV9ko+OL5aFlFCUXgR6KXXg4uBFfiURVg6vwSZK2fVdxizoF2?= =?Windows-1252?Q?LqOd4RogiHFtw4ieUSgkli7W1uj3ArJwjCzXa1flPgO6uV7KapNhoVBj?= =?Windows-1252?Q?QfnvrajXubgw3nJyVC+S2xLbQ9fY35qHI97uUnyJ0TACycRU/0iftpBr?= =?Windows-1252?Q?UzYqrbh8Pj5GpzVdu9U1rGcn?=
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 3d8a1287-f7a2-423c-bd35-08d8c76ed454
X-MS-Exchange-CrossTenant-AuthSource: DB7PR07MB5546.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2021 11:36:49.9466 (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: PyS73pa0p+N90voYgDowMtDQZi1EsZzxuMHhXvnHkAo2s8LrKfKjZWVhFUG545vbIWXjIoTqD7Coxn4taG5ttw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB4570
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/A9WICIVUBKobzL_j9xUgizaOCE8>
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: Tue, 02 Feb 2021 11:36:56 -0000

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:
>
>