
From nobody Fri Sep 10 09:46:50 2021
Return-Path: <ietfa@btconnect.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3066C3A0C1F for <babel@ietfa.amsl.com>; Fri, 10 Sep 2021 09:46:48 -0700 (PDT)
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, 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 9b3HvtyKQFJh for <babel@ietfa.amsl.com>; Fri, 10 Sep 2021 09:46:43 -0700 (PDT)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70137.outbound.protection.outlook.com [40.107.7.137]) (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 7EEF93A0C1D for <babel@ietf.org>; Fri, 10 Sep 2021 09:46:43 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aEUIqW+06i0HRgJuwMTx0CSZHdJ7yB5lr6FEyTXA3M7HJKO+8HRo5+VDLPhvzI8JQokz5pALkWxH5NBoRSe3eXw8WxziQho+MKBB4/UEcIqVXP3ODw4JGbAd7zT6A53DBl9g2h8G3AQemZ1xSfvkbRn+ugIHoIpA18hBifAKABZcPdNq2cNWpBe7jRm93cd2cYVoAEKdaWVYOrqImMLeXpmhYclylsG6ZS74wTVW2kQwMAqBNqxW7OGhyF1ITzqt/Cg0GQC6M7weFBPpLiYTvg9EN2sJn+zrOMld/XJwskDo/qDFs3iFsg/EHHoejOipxwuq5soYPQdGU1nWh33PsQ==
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;  bh=tuQGmrbWGKcwR5O9FMa4BmR6idw1an3MW3MAkzy+3xo=; b=J5+fwgCdrN3u7HoI4llNb8kKi9BsM18mAhqyHmoFrRNUblq9QQD45wh0Z+pyghgYgAR8UAB/YyR0jKeBGI4jD2Y72hj4jjP0fTYO9J1VVF5Nv60evNsF1k/B6QyouEP+8PbhxgCsTJEG6va9cusFjYl6bfgMe1GFJy3EtZKztDItQj6/1PwZsvMJDCKYzJ5YHazh45W3mrVqVau3yejZQ7DNp+DVuRh6l7TCBGDpRmL+WaiIQQs031bFP9fOuTAa8v8JSlnKRVO849VAHPVn823f8yCRacHSJ7zO83wawLcfNgVOHfupGiszzyxKsbn1qThEKmouaGVKmcEkcTyFIA==
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=tuQGmrbWGKcwR5O9FMa4BmR6idw1an3MW3MAkzy+3xo=; b=fO+U2IXzSPDu9lp4BHdVl6ZWHibHxUB4PH9PkWO797V9MJ62+ta7zouUWhL5nP1OsKInBrnGEAe7zJ7o1ZhMSpW/INdb/N5ZVLbEwtUGNck4V08BqTVgt0nycyqgZkU7H3DfLybdN6X7/nL8UHslKq8aj7ydz04X1cRHkEb+a1c=
Received: from DB7PR07MB5546.eurprd07.prod.outlook.com (2603:10a6:10:73::23) by DB6PR0701MB2165.eurprd07.prod.outlook.com (2603:10a6:4:51::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.8; Fri, 10 Sep 2021 16:46:40 +0000
Received: from DB7PR07MB5546.eurprd07.prod.outlook.com ([fe80::1df3:bc53:dcc9:1187]) by DB7PR07MB5546.eurprd07.prod.outlook.com ([fe80::1df3:bc53:dcc9:1187%4]) with mapi id 15.20.4500.012; Fri, 10 Sep 2021 16:46:40 +0000
From: tom petch <ietfa@btconnect.com>
To: "babel@ietf.org" <babel@ietf.org>
Thread-Topic: Babel YANG
Thread-Index: AQHXpmEhfrNCNOMkUk2PzmKWt+pFjaudeXHO
Date: Fri, 10 Sep 2021 16:46:40 +0000
Message-ID: <DB7PR07MB5546BFF81F6BB3B31ADD8BAEA2D69@DB7PR07MB5546.eurprd07.prod.outlook.com>
References: <DB7PR07MB55467D5DEBB64F863E4D6D63A2D69@DB7PR07MB5546.eurprd07.prod.outlook.com>
In-Reply-To: <DB7PR07MB55467D5DEBB64F863E4D6D63A2D69@DB7PR07MB5546.eurprd07.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
suggested_attachment_session_id: 18f58d8c-ee9b-859d-f31c-38a665afca81
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=btconnect.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 5b0566ee-b662-4256-130f-08d9747a907d
x-ms-traffictypediagnostic: DB6PR0701MB2165:
x-microsoft-antispam-prvs: <DB6PR0701MB2165A98BF5C89BCE2C49E172A2D69@DB6PR0701MB2165.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Z2FrYi8Loc963v5HvDhXFnnU5okBkBsEf4/xXSvTXDpkIPQpvVwmPaBa2GCxaJVuGeYTqlxUuBiDJ323tNg77y1yYwDf3WtIR0KdUqBpZdPFLPLy9ISFMPxWcfLiXhnAipILIpX2P7TBjTsJx0AGGR6MsHUgP8dg8CTmdbw70JiTCouXkcOcB61vIsjBBKDhQ/zjQA/GKhFULtwUWcvpo2zuX773/qAASLybAs7hxWny5p6EJ/5mXRi2p1HP1EvVOZUCHAaZde6whHURAeckdTju43Mq7MrhjmBabJvBQYb7R8jY8hRjQDAAnVxt2J6one1ln6hef24HKqIr+ptog1/BoHy+MS1fHr7UEiRiJC5xOKg2uwLqZ+NGYrLrXkJ/1XNdt/0gEoIQd3Qoy0Wn4gG5bpJN2munbvZH2XREZW44tYgt3a8Oo5x4tpuVgHf1KGgIbxSp8caKo4TC/WywKRfcVN6+5Fr2MhwavqEXW9geidQ9Sn3zE71pUYnjGp5hsCqQwae709VlMJdPYWFQ0eD9T2Mwg/U3ajucv/l9/RV5yqUUdycelecPLzUP3DyYyS3WVTZ9zMs434gpAAsNY1DscuOx4dICwxqZsTg9aW7rQAoj2s01N7v62QVQxadjDa6VAslUe7NFsoJDPcByHmCYNYstP/OSq2ycQfMkldluGAvtQMuBM0Uj9FBb5B87fNPWfxOrrvKdowjPLKp3q4ZSHSNjvhdqxvkYuHv8KLZoJqQ6njq6jSfnmYt+jQxhmCRTCDXJ1SfD90AeCM+dI5GMqUk4kde2emgbUhsSZiE=
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:(136003)(366004)(346002)(39860400002)(396003)(376002)(7696005)(966005)(6506007)(86362001)(66476007)(478600001)(66446008)(2940100002)(8936002)(66556008)(26005)(64756008)(53546011)(122000001)(66574015)(91956017)(66946007)(76116006)(33656002)(38070700005)(71200400001)(6916009)(83380400001)(5660300002)(8676002)(38100700002)(7116003)(2906002)(186003)(9686003)(316002)(55016002)(40140700001)(52536014); DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?GmmF9dvf8voN5bRCH9N7BUHWz0vMn6NV6ISmxtWeslN5SsBR8MxQdWIQtf?= =?iso-8859-1?Q?cP1q1WoC1qwgr32IxgOwv6cPWhMYM54WwNCOLBI24v6SJTCJe3pQg+DVNK?= =?iso-8859-1?Q?xtHy4q2QFkCtd878EckowjY65pFFLdwKDM4jJXsWvRFo51onZ4iSiOtkbd?= =?iso-8859-1?Q?kN9h/zitDvl1xGUvS7yPHGc9hFzDjHa8A6jHqy+ZQKOP/nx40GbNKFzboo?= =?iso-8859-1?Q?IzSP/sqPQhU+1Di2F7oWzrc3RBt72zuvE93S2310Yp4EbPrfF7L3r8Xowu?= =?iso-8859-1?Q?FXI5E3l9PpZgJZ1pmijMuvsoEcsaBo7EUMp5V3ythhPuCF0T8vB3KBXmPQ?= =?iso-8859-1?Q?5HIX+vTZs4RUaQ1UkqH1Q3mZdVQctkokc+rENb8edz5sCTX0v2ugYuIyTT?= =?iso-8859-1?Q?YHkmp/O/Ei/mA/U4SGMgGQHIRhm4tloiJBjjNfeq1SDTnFMxkdIoEOvpJ8?= =?iso-8859-1?Q?zkBLzGpoDSvjFtfLzk7+LUGtwaRj4mLbzMZvTf6ub2zsjn/e5f0mc/Jodv?= =?iso-8859-1?Q?b1KF8G90Wk2ZHDNaP/rt3Omoe2skO+Y4+bBsZY/UXcwD5inSznk6fqz16v?= =?iso-8859-1?Q?dJw35WceelHcaJ5BO+Zd8nfnf83gEg/pAM339SyOZeSafkzO7pyQCAfxtl?= =?iso-8859-1?Q?3kmYYU40OyQ8xwK0gbjrYQQVPeupDQ2ozOCfq7KxSSIAVP/vuiF4zv6mrf?= =?iso-8859-1?Q?v2RdOVmTnqqjoMDJo+GyqpMMXbDCPIMVnQH19pQs0X1nIdHtG4PjiuNjAz?= =?iso-8859-1?Q?alqZvkCk0Zm5UjL8vHM5VI6bl+oMKqhR9IMaX6WIKbraxNEGBwZERn1VFs?= =?iso-8859-1?Q?bCWzE3BvJTx7XEIIxZBXrAtpHScY6RM1pIA8A/AzKKmHnrnFCRAeCnbKd3?= =?iso-8859-1?Q?eLxWX/3HpahE/tN6llVounTVGMqu8qt1IH1HmkLd3dCHMleRRg53KGOxqi?= =?iso-8859-1?Q?NEDRtGYaeEkVHez2g38CYdn/D4eI2GF+/hrsfSI/HhxHUCEGDIxFtW+GdH?= =?iso-8859-1?Q?JFTkl2bdYAbiEK7Ric7etPy3HOypRcVeEO2ONL3HJ+UfP0XpzxKAa8ZfBj?= =?iso-8859-1?Q?Aw+Hhd04Nl+aavJzBI0ScOrMfrSu7cmMn+8VTflgvbT7TNxtIyY0J59Y4Y?= =?iso-8859-1?Q?BYGBiCAaXGGecBS4qgaiIE8Qs5er23SOUE4mU3A5c321t+jA6dpzcyAJzL?= =?iso-8859-1?Q?PVm/lu7xwsvkN8Xs+2mdkiGhw/15kbMUO/P1tT4elIUpqCBLeiI+Q2qnU1?= =?iso-8859-1?Q?ZDPlA8v2f3X3dzelm2MjMJQSz2WhBWsqBN4CjcfnmGlWaAO0Wcb22Q8QIl?= =?iso-8859-1?Q?4SUmRxpNZlVTl8eP88Wje8YSLvMgKAT5V0Dq7Q1ZQiXjPIHoUg0dIanYWN?= =?iso-8859-1?Q?o2W5P/IUlb?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DB7PR07MB5546.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 5b0566ee-b662-4256-130f-08d9747a907d
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Sep 2021 16:46:40.2057 (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: 0kER7M4dny+6vYWhBK9yaqpdL++CBsM2okx9q5Azj01zfHfCCSi7Fid0W1ovthmDva9A1F9riV/qO3EUhVjAsg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0701MB2165
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/3Z1vBOxtK33x6iRVg01jQxAMG-E>
Subject: [babel] Fw: Babel YANG
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Sep 2021 16:46:48 -0000

TRY again (the glories of WEBMAIL last thing on a Friday afternoon)=0A=
=0A=
________________________________________=0A=
From: tom petch <ietfa@btconnect.com>=0A=
Sent: 10 September 2021 17:37=0A=
To: d3e3e3@gmail.com=0A=
=0A=
I see a version of the Babel YANG I-D has appeared and that the AD is looki=
ng at it.  Looking through it I was struck by the references to a uint16 le=
af having a NULL value.  This is not something I am familiar with so I aske=
d on the NETMOD list and they are not familiar with it either.  They sugges=
ted that it should be fixed=0A=
=0A=
Some languages have the concept, YANG does not.=0A=
=0A=
I used to have an MUA that allowed me to attach another e-mail but I cannot=
 see how to do that with modern software so you may have to look at NETMOD =
list to see the thread.=0A=
=0A=
Re: [netmod] NULL value for uint16=0A=
=0A=
The RFC editor is not going to fix this, for them it is beyond=0A=
editorial. For me it makes sense to report this, let alone to spread=0A=
the word that there is no NULL in YANG land. Sure, things like this=0A=
should be catched earlier but things are as they are and a late fix=0A=
is still better than publishing questionable examples.=0A=
=0A=
/js=0A=
=0A=
On Fri, Sep 10, 2021 at 04:06:14PM +0000, tom petch wrote:=0A=
> From: J=FCrgen Sch=F6nw=E4lder <j.schoenwaelder@jacobs-university.de>=0A=
> Sent: 10 September 2021 13:14=0A=
> =0A=
> I guess the description should be worded as=0A=
> =0A=
>   "This leaf does not exist if ..."=0A=
> =0A=
> instead of talking about NULL, a concept that does not exist in the=0A=
> YANG language and the protocols.=0A=
> =0A=
> One subtle point with the "does not exist" approach is that a client=0A=
> cannot reliably distinguish between 'a leaf does not exist' and=0A=
> 'access to a leaf was denied by an authorization policy'. In practice,=0A=
> though, most authorization policies tend to be rather coarse grained.=0A=
> =0A=
> <tp>=0A=
> =0A=
> Juergen, Lada=0A=
> =0A=
> Thank you for the prompt responses.  This is an I-D that has been to the =
IESG although the announcement has yet to appear, which makes me coy about =
saying which it is:-)  My inclination is to let sleeping dogs lie and see w=
hat comes out of the RFC Editor (probably the same as went in: but if you t=
hink it significant enough, I would flag it to the WG Chair:-(=0A=
> =0A=
> Tom Petch=0A=
> =0A=
> /js=0A=
> =0A=
> On Fri, Sep 10, 2021 at 11:56:22AM +0000, tom petch wrote:=0A=
> > Does NULL have any meaning for a leaf of type uint16?=0A=
> >=0A=
> > Looking at a leaf of type uint16 the description says that=0A=
> > 'This metric will be NULL (no value) ..'=0A=
> >=0A=
> > Some languages differentiate  a 'never been set' state from e.g set to =
zero or some other value but for me, YANG does not have that concept.  Rath=
er the leaf does not exist which  will be reflected by the protocol accessi=
ng the leaf.=0A=
> >=0A=
> > I see no NULL at least in this context in RFC7950.=0A=
> >=0A=
> > Tom petch=0A=
> > _______________________________________________=0A=
> > netmod mailing list=0A=
> > netmod@ietf.org=0A=
> > https://www.ietf.org/mailman/listinfo/netmod=0A=
> =0A=
> --=0A=
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH=0A=
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany=0A=
> Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>=0A=
=0A=
-- =0A=
Juergen Schoenwaelder           Jacobs University Bremen gGmbH=0A=
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany=0A=
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>=0A=
=0A=
=0A=
=0A=
=0A=
 =0A=
Tom Petch=0A=


From nobody Mon Sep 13 02:54:55 2021
Return-Path: <ietfa@btconnect.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CB8373A0FCA for <babel@ietfa.amsl.com>; Mon, 13 Sep 2021 02:54:51 -0700 (PDT)
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, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-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 pYqH-nEn-u66 for <babel@ietfa.amsl.com>; Mon, 13 Sep 2021 02:54:48 -0700 (PDT)
Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30130.outbound.protection.outlook.com [40.107.3.130]) (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 A62D03A0FC9 for <babel@ietf.org>; Mon, 13 Sep 2021 02:54:48 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FRNSOQlPdgY+qe02GRV+ZDE/U7CmfjGYLtCNsaTBnXVxCxfTTppvQkuvK/loyMheOreN3sdzeDoSOrIm3M3G8zLokf7QaHgsHqfZk+bfyI8DvNCRVb8IoAUKnAIBlQMpydAgQmJNMmePBxJPYQQsP22vWlbxyQNbGgHVtxlUw7sVXsYb3nt1ejR2Y8fEd0ZRXjV6WUhE2RvC5cY/Xbh5fHlKrCMogqdnRmSGESqirng26vhwCTh2qwgbhEyjJk+XF2DBfbBj/kfTFFbjeWC0K5nq3dw1QnzEv7+EKL0cmTZ8fop/1g2vi0A+VqVRhLjqpqUahp4En6s+QyoxQStV+A==
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;  bh=j35MlYbqdR2EuWqAC//oFfqybW4MRGq4ogYGkF960cA=; b=dj43HZu8U+cSW029qXLf/fO6X8v58rfcUNcDiSyqIQOvO01ebEHySmtYDwuXS+UpUUhP8MfHbLQtN8JCXxaOgrjZuq0xRs2JDE6NA/sYQHQOlhzCLtlykqrPDHkW30oc/MtzyJtoUnxqFtbj3wISdSwTgmEMQ3EeTeS9puS5Nqup588gIxmS1knMMG9CHhij8/lTzAw5I27dtokr3S1YP5jQmHAmNuQsvwJC7iAF0TeOgs9lMfnetuusvCHnaV256HSAeaNNlgD0RFnkOtc5DvRDnJ/EHpcTWQNTTed3Gjx19qiryWiaJRt76mTeYe2QoW4PnBHTy2ATT7i7vaXndw==
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=j35MlYbqdR2EuWqAC//oFfqybW4MRGq4ogYGkF960cA=; b=NPhEX+gqQLjEiSjr8MYEJob2GrUFFpUN7l6HFVgiJzsnXudFdJjsIM1EETuFisSchigBNjCpDU4eraC0eEcax160dzaydOQs5tX6vBwdK5NdeJxQ0SWQsUaFZQg0gHr2xjp5hxDWl3NQTj6WAPEnk8lAR0LhUynm6yE16Ol62Qs=
Authentication-Results: att.com; dkim=none (message not signed) header.d=none;att.com; dmarc=none action=none header.from=btconnect.com;
Received: from DB7PR07MB5546.eurprd07.prod.outlook.com (2603:10a6:10:73::23) by DBAPR07MB6917.eurprd07.prod.outlook.com (2603:10a6:10:19d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.13; Mon, 13 Sep 2021 09:54:45 +0000
Received: from DB7PR07MB5546.eurprd07.prod.outlook.com ([fe80::1df3:bc53:dcc9:1187]) by DB7PR07MB5546.eurprd07.prod.outlook.com ([fe80::1df3:bc53:dcc9:1187%4]) with mapi id 15.20.4523.014; Mon, 13 Sep 2021 09:54:45 +0000
To: babel@ietf.org, d3e3e3@gmail.com, bs7652@att.com
From: t petch <ietfa@btconnect.com>
Message-ID: <613F1FDF.8070908@btconnect.com>
Date: Mon, 13 Sep 2021 10:54:39 +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-ClientProxiedBy: LNXP265CA0003.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5e::15) To DB7PR07MB5546.eurprd07.prod.outlook.com (2603:10a6:10:73::23)
MIME-Version: 1.0
Received: from [192.168.1.65] (86.131.180.104) by LNXP265CA0003.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5e::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4500.14 via Frontend Transport; Mon, 13 Sep 2021 09:54:44 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 3b9d4d25-706e-4843-b3c9-08d9769c83c4
X-MS-TrafficTypeDiagnostic: DBAPR07MB6917:
X-Microsoft-Antispam-PRVS: <DBAPR07MB6917EBA68FB10C1534001EF0A2D99@DBAPR07MB6917.eurprd07.prod.outlook.com>
X-MS-Oob-TLC-OOBClassifiers: OLM:10000;
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: 9TjIXEpnCJca9Df/325VyxRwRhyJhdQmraAPHY4QjxPUshyAZrEVu9rLBY48dCHt6YZBak1LsfhWi+c97D6rJP63kJTF6Tn1QnoZWwo6pX6DFm8Akj5h70rxlBrrGUXNPlk81LGKatRGrDdeEGeqjOmyZlRDlChcNjzIXaHyzmJohTQYB5ESdb8c8RCkrJdWRMXx50EbZA76C2DnyWzEeiUKkJKHJ/YWa2BG2ON+jaCFf9h8BnwZqcovIjd3yZWD/V2RQZwxEOK4iKa3LfiHhVDTjJ5r09YFPVBVsCnYTQqY6KlzK54Q8/gyBvsN5yTJZLQsV+qmZcjeWZjTCQzOnhPlWUNPDohBmIBuZ3aqn9V9YvtQBD9Ppe4En16kSc3N2YWRWb2roVKoMjRS9sAsTf0Pgmv34IUTu4Us5LCxgpmZW9304HWznfBJQco7GXtHY0kPW7+A7QD8DnkOZPq8RHWl8u4DCAej9uwGIM3YAjAXQfUBfdYq2/WaB/5TC6wwI0w9jNRZMdpYgTVYbPAYe8OIyaeTRxc1w6WiyMZMKtjamtoK5hRuZlWPej2Unv7E070Z7OosiT2DDHIdmAMJrbLytI6Q5Vb2qd0qLNSNwpfInKO6DgvtjI+KCPJ0YGs6QfPg+jYnVs89sCqas9rR1qzXoNHMUOILSvVvVi0dp8jU7e/Jq9z0FBO9GD2qq6WMlflpqGoTs4pdvPzRmkqMtw==
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:(346002)(376002)(39860400002)(136003)(396003)(366004)(83380400001)(66946007)(66476007)(66556008)(52116002)(26005)(186003)(5660300002)(316002)(16576012)(36756003)(87266011)(6486002)(6666004)(478600001)(2906002)(8676002)(8936002)(33656002)(956004)(2616005)(86362001)(38350700002)(38100700002); DIR:OUT; SFP:1102; 
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: =?Windows-1252?Q?uBLTQ664lhQUKCmshGyUOFKsrOhaXhjOouWi09EqaPk8RPnMJDxr7Dqc?= =?Windows-1252?Q?E/LEZKni7w4oWf9zOUd0BSohPAYHC5g3KRj/cZc9d5oeXKn1ovNp5okh?= =?Windows-1252?Q?JCYkdZKN+v7jlPxN+7QRWApyHGuz73PTwuKQs08bUlliC49iFieVeaxo?= =?Windows-1252?Q?Ix2bhs6RY8Q930qGGV1T1h7lCbxDawLLXn5xayVRCosqekfzWFz02wvZ?= =?Windows-1252?Q?4dJ7uV4aacSmAhED6DVqOfi5CZWPIUx6viySaFHAEGp//PAN181dJ2cw?= =?Windows-1252?Q?yxPqFJLnALyNcXgSfCPYh72t463T2zY7PdpCYzAWiT/jdRu7xVIADkBx?= =?Windows-1252?Q?F+9EaxmVQh5ePNxGiRRV1JnL3GfXP5UDmM90hoVcT2/HDBw98mr/sjCg?= =?Windows-1252?Q?0hhWKy00F6+FQGFi72haNBDmx+bwbByVWrOmnOWmze226+YTn0u68Fa6?= =?Windows-1252?Q?Vl151757ml3yq8Pt8aWHDR8YRKV1fABBYbgULxONKwzwJqriie0q05G4?= =?Windows-1252?Q?p+QMPhdhKGiPth64gY+LnlN6g9rvyssX/49kkK6+tHTUk45f0tkxtB/p?= =?Windows-1252?Q?WM+xc4ZABeSacV8v4DmyquzLQNjIrduSG0ZFBYmbzm+BkAQUCI87FAqw?= =?Windows-1252?Q?chug+vh77DSxAmhmWYPItxCBVhB5qq3oaSsxoRTLAl8iQEABR54jwOEh?= =?Windows-1252?Q?JAObsYr/vfM3Mvwm0hR6e1GYbeXjF+jJuJvW3p/6LxgpDrOF2Ie5QOnH?= =?Windows-1252?Q?TO48k/70a+iHLQnUZmWrE6eDbiZ0GzhAQ7WUjF4rQzZHt0J6HHubHhKV?= =?Windows-1252?Q?tPZlRPFZt0y5V56bO5HItnrSvgRaC9Ym/wFJBFeerOroBYbQ9gwxw1rr?= =?Windows-1252?Q?kgedPwJ3ebNqoAYlN1LnZ53GyRWGfqjJRmrD9zTVa+nm5OX5J0CTsE28?= =?Windows-1252?Q?AscqFSKvvUi6qfC+PVo2B7l55Wp5NGzAnkYCHyMOuJ0GCmPR3wmGyWDV?= =?Windows-1252?Q?Qcoe/OZA4BkIn7f60XTtIiMXjZQD7cZcsvcPwY/W/pctZKhE1G1B9QLh?= =?Windows-1252?Q?vD68r3xam0VVyUamqbtR+DDJmNoJSDAgD0XxiF2roMHOVzA+gV7Q0YsU?= =?Windows-1252?Q?Je1EnUaJyG/960++s7ZEpmYcMNUJVCcuN2QnM/2hFZFPva/DuGl2O0x3?= =?Windows-1252?Q?wNO4LSZeKTkBEeCA0er2kap1klMhoFJvNYe2P+nHPl46rYmva2iO38aa?= =?Windows-1252?Q?h1GE99875cwmDpCaT+iK/nqfgt+SGJ3CjAFzbzQ+J2LTMAigreNebSbu?= =?Windows-1252?Q?m2KjS6TJGoVTJ/dLdShFLZrqDq1JehTJJ4kyB5SLMK8Q8PNIR9d8v75B?= =?Windows-1252?Q?v0O/8SXWpwgfIfMxKYPw7Q+fYngrcOJhDFTAMUCaIHIrhix1lx0bVp+Z?=
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 3b9d4d25-706e-4843-b3c9-08d9769c83c4
X-MS-Exchange-CrossTenant-AuthSource: DB7PR07MB5546.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2021 09:54:44.9436 (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: 5O0LoS67bBCUu0nPQrEOYQiQ3IHtqSiWFsqPF4X9qmcCDO/con7NHuLfY+GvXvAiHTi6GUuPv4/JGOe2ZJ4hkg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR07MB6917
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/HTCxkRc7fuDYcLkx3nmtzzDlM1s>
Subject: [babel] problems with draft-babel-yang-model
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Sep 2021 09:54:52 -0000

Apologies for my scruffy post last Friday afternoon - I was gettting 
overwhelmed by a PC with webmail that wants me to do nothing but Social 
Media!

This I-d has several references to a metric being NULL (no value).

Trouble is, YANG has no such concept.  I raised this on the Netmod list 
and there is agreement that YANG has no such concept but they also did 
the homework, that I had not done, and read RFC9046 which assumes that 
the concept of NULL exists.  It says ' if the data model uses zero to 
represent NULL values ..' but that is not the case here.  YANG uses zero 
to mean zero and does not have the concept of NULL.  Rather, if a value 
is not set, then NETCONF, RESTCONF return nothing which is not the same 
as setting it to NULL as can happen in other languages.  As was pointed 
out on the Netmod list, this absence of a value cannot be distinguished 
from access being denied by access control, one solution to which is 
using a YANG union with another data type.

Anyhow, for me, the wording in babel-yang-model is wrong.  It talks of 
metrics being 'NULL (no value)' but this is not a concept that exists in 
YANG.  I think that either this needs calling out in the data model, 
that there is no representation for NULL in YANG and so that aspect of 
the information model cannot be represented, or if the representation of 
NULL is required, then the YANG needs changing, e.g. by creating a union 
with e.g. a leaf of type 'empty' with the description explaining how 
NULL is modeled.

I have seen this sort of approach elsewhere, may be in LSR or TEAS, 
although I cannot lay my hand on an example just now.

Tom Petch


From nobody Mon Sep 13 12:49:56 2021
Return-Path: <mjethanandani@gmail.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C09933A0138; Mon, 13 Sep 2021 12:49:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level: 
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=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 (2048-bit key) header.d=gmail.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 6KQvWoA0KTBF; Mon, 13 Sep 2021 12:49:37 -0700 (PDT)
Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E69963A012A; Mon, 13 Sep 2021 12:49:36 -0700 (PDT)
Received: by mail-pf1-x429.google.com with SMTP id j6so9561428pfa.4; Mon, 13 Sep 2021 12:49:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=XhOaN0avawxbgB1O4GKRepvvrGSnBj6nFW2MkQ1I9w8=; b=me2UCDLN4WJdLfqfq778WCq4fxFk5ux5ptgyMfOUoxAiGd3RKcmniS8tRdSn+QIuKv 2uWViZ4povCtWUjo0GTLif1x3OfQJemXHDHL3o/FUMJVWKyCkHOBeAP4mDjP+dV16SA3 DRddSlQESCsoUzEB7v6asbd6i3OznMKnC+UXIr0rw2PfG5nSvO9JdRjXoEC/PDJlygdY 0MjNgTkT+Qe2v2o8Y2fMy+9mrr+tCgpQ+IkowCXfbgoW71vEUGPSTjNClmvajzOCqkao 1qL5gV94I0bVWMMRU5mYQiPNJm8GrFTi3UrtHdE5ApmWvEYfjzCMZN5sr/3lUMeFUuEr AzvQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=XhOaN0avawxbgB1O4GKRepvvrGSnBj6nFW2MkQ1I9w8=; b=c9iU+WRRBwGyDT56QOeeTv6w9PnSDPUxpCV1rl+nJLnWAvwZVhno18PX7cUxqEFXpN ZjAHD9/Bn7neFWtUJFVEpcmtPAPT4QGU86i1wcV9TD5esL7XRQOLAXCnfpshIiDLzWrW taqE89KB9+E8u2bkGA3+zoQSFb1zeys7BtVmJsd2vLlfXnwVDeJKkl/DsRRa9iSyUq1t /ZSEzNaeYzdl/DHVZdJ08Bu++qZCQ+YeGRq2QYk6z4zItz7XIpfLTlS1Yn03+jBZAc/Q XIk09ej03KjSeuzkeJD4onatrlSx8B/Y9unxexAqNOEU0sMsIOdYo2hlaprFYsnDHrkb mWfw==
X-Gm-Message-State: AOAM530SA/ZZYx04R4kligNWSBSRY2Xso/XlA5tb3jrr9zT9xrIvVJ5F 6xHA9SdlYuVbUTtSm+nfmbvVhtvboi8=
X-Google-Smtp-Source: ABdhPJwX9j4vnlnOq4havdCifJLKUUeXEj8xJWrthE0Edro3BHYU2zhAjRx2Jx+XFB3REYAOBbJrdw==
X-Received: by 2002:a65:5b04:: with SMTP id y4mr12583983pgq.195.1631562575267;  Mon, 13 Sep 2021 12:49:35 -0700 (PDT)
Received: from [192.168.1.133] (c-69-181-169-15.hsd1.ca.comcast.net. [69.181.169.15]) by smtp.gmail.com with ESMTPSA id on6sm5878257pjb.19.2021.09.13.12.49.34 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Sep 2021 12:49:34 -0700 (PDT)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <BBC6AA9F-86C1-4A9C-86FD-AD77668CA9D9@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_42F7EB2A-C472-4B6B-9F33-499A86D9DC46"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
Date: Mon, 13 Sep 2021 12:49:33 -0700
In-Reply-To: <20210910200902.bic4rhyhp75bgsjz@anna.jacobs.jacobs-university.de>
Cc: Lou Berger <lberger@labn.net>, "netmod@ietf.org" <netmod@ietf.org>, Babel at IETF <babel@ietf.org>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
References: <AM7PR07MB624802516EFB174B6912C5DAA0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <20210910121430.kofyvd2q3ludm2pk@anna.jacobs.jacobs-university.de> <AM7PR07MB62482A4271AF1CA5013EB136A0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <b1b1cd18-537f-561f-dcb1-9aca41b7d3c9@labn.net> <20210910200902.bic4rhyhp75bgsjz@anna.jacobs.jacobs-university.de>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/UPGz4JhzPRqT9POPu5ovqT3IXaI>
Subject: Re: [babel] [netmod] NULL value for uint16
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Sep 2021 19:49:45 -0000

--Apple-Mail=_42F7EB2A-C472-4B6B-9F33-499A86D9DC46
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

[Bringing in babel WG, instead of maintaining two threads]


Hi Juergen,


> On Sep 10, 2021, at 1:09 PM, J=C3=BCrgen Sch=C3=B6nw=C3=A4lder =
<j.schoenwaelder@jacobs-university.de> wrote:
>=20
> On Fri, Sep 10, 2021 at 01:40:03PM -0400, Lou Berger wrote:
>=20
>> and it references an RFC that says:
>>=20
>>      This is a 16-bit unsigned integer;
>>      if the data model uses zero (0) to represent NULL values for
>>      unsigned integers, the data model MAY use a different data type
>>      that allows differentiation between zero (0) and NULL.
>=20
> We are talking about RFC 9046? RFC 9046 repeats this sentence several
> times but I find it difficult to infer the intended meaning. If 0 is a
> legal value, you can't have it represent "NULL" at the same time.

There are five definitions in the Babel YANG model =
<https://www.ietf.org/archive/id/draft-ietf-babel-yang-model-11.html> =
that use NULL to represent a special meaning.

With =E2=80=98babel-route-received-metric=E2=80=99, and =
=E2=80=98babel-route-calculated-metric=E2=80=99 values use NULL or 0 to =
represent that a route was NOT received. A non-zero value indicates that =
a route was received and subsequently advertised.

With =E2=80=98babel-expo-mcast-hello-seqno=E2=80=99, and =
=E2=80=98babel-exp-ucast-hello-seqno=E2=80=99 a value of NULL or 0 is =
used to represent that a multicast, or unicast hello packets =
respectively are NOT expected or processing of multicast/unicast packets =
is not enabled. Although not explicit stated, it also means that the =
sequence number cannot be a 0.

Finally, with =E2=80=98babel-ucast-hello-seqno=E2=80=99 a value of NULL =
or 0 is used to represent a unicast hello is not being sent. A non-zero =
value reflects the current sequence number in use for unicast hellos. =
Again, although not explicit, it also means that the sequence number =
cannot be a 0.

>=20
> In YANG, we tend to not instantiate leafs that do not have a value.
> Anyway, if a YANG author wants to report a special value to indicate
> that there is no value, then you have design for it and reserve and
> set aside a special value from the number space or use a union.

This YANG model reserves the value of 0 to indicate that these leafs are =
not set or the particular attribute is not enabled.

Thanks.

>=20
> RFC 9046 uses the same text for things like sequence numbers. Skimming
> RFC 8966, it seems sequence numbers are 16-bit integers:
>=20
>   Sequence numbers (seqnos) appear in a number of Babel data
>   structures, and they are interpreted as integers modulo 2^(16).
>=20
> The text in the context makes me believe they are an unsigned 16-bit
> integers. If so, there simply is no way to use 0 to indicate that a
> sequence number is absent. The problem really might be the text in RFC
> 9046.
>=20
> /js
>=20
> --=20
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>
>=20
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

Mahesh Jethanandani
mjethanandani@gmail.com






--Apple-Mail=_42F7EB2A-C472-4B6B-9F33-499A86D9DC46
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D"">[Bringing in babel WG, instead of maintaining two =
threads]<div class=3D""><br class=3D""><div><br class=3D""></div><div>Hi =
Juergen,</div><div><br class=3D""></div><div><br class=3D""><blockquote =
type=3D"cite" class=3D""><div class=3D"">On Sep 10, 2021, at 1:09 PM, =
J=C3=BCrgen Sch=C3=B6nw=C3=A4lder &lt;<a =
href=3D"mailto:j.schoenwaelder@jacobs-university.de" =
class=3D"">j.schoenwaelder@jacobs-university.de</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div class=3D"">On =
Fri, Sep 10, 2021 at 01:40:03PM -0400, Lou Berger wrote:<br class=3D""><br=
 class=3D""><blockquote type=3D"cite" class=3D"">and it references an =
RFC that says:<br class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is a 16-bit unsigned integer;<br =
class=3D""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if the data model uses zero =
(0) to represent NULL values for<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unsigned integers, the data model MAY use =
a different data type<br class=3D""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;that =
allows differentiation between zero (0) and NULL.<br =
class=3D""></blockquote><br class=3D"">We are talking about RFC 9046? =
RFC 9046 repeats this sentence several<br class=3D"">times but I find it =
difficult to infer the intended meaning. If 0 is a<br class=3D"">legal =
value, you can't have it represent "NULL" at the same time.<br =
class=3D""></div></div></blockquote><div><br class=3D""></div><div>There =
are five definitions in the&nbsp;<a =
href=3D"https://www.ietf.org/archive/id/draft-ietf-babel-yang-model-11.htm=
l" class=3D"">Babel YANG model</a>&nbsp;that use NULL to represent a =
special meaning.</div><div><br class=3D""></div><div>With =
=E2=80=98babel-route-received-metric=E2=80=99, and =
=E2=80=98babel-route-calculated-metric=E2=80=99 values use NULL or 0 to =
represent that a route was NOT received. A non-zero value indicates that =
a route was received and subsequently advertised.</div><div><br =
class=3D""></div><div>With =E2=80=98babel-expo-mcast-hello-seqno=E2=80=99,=
 and =E2=80=98babel-exp-ucast-hello-seqno=E2=80=99 a value of NULL or 0 =
is used to represent that a multicast, or unicast hello packets =
respectively are NOT expected or processing of multicast/unicast packets =
is not enabled. Although not explicit stated, it also means that the =
sequence number cannot be a 0.</div><div><br =
class=3D""></div><div>Finally, with =E2=80=98babel-ucast-hello-seqno=E2=80=
=99 a value of NULL or 0 is used to represent a unicast hello is not =
being sent. A non-zero value reflects the current sequence number in use =
for unicast hellos. Again, although not explicit, it also means that the =
sequence number cannot be a 0.</div><br class=3D""><blockquote =
type=3D"cite" class=3D""><div class=3D""><div class=3D""><br class=3D"">In=
 YANG, we tend to not instantiate leafs that do not have a value.<br =
class=3D"">Anyway, if a YANG author wants to report a special value to =
indicate<br class=3D"">that there is no value, then you have design for =
it and reserve and<br class=3D"">set aside a special value from the =
number space or use a union.<br =
class=3D""></div></div></blockquote><div><br class=3D""></div>This YANG =
model reserves the value of 0 to indicate that these leafs are not set =
or the particular attribute is not enabled.</div><div><br =
class=3D""></div><div>Thanks.</div><div><br class=3D""><blockquote =
type=3D"cite" class=3D""><div class=3D""><div class=3D""><br =
class=3D"">RFC 9046 uses the same text for things like sequence numbers. =
Skimming<br class=3D"">RFC 8966, it seems sequence numbers are 16-bit =
integers:<br class=3D""><br class=3D""> &nbsp;&nbsp;Sequence numbers =
(seqnos) appear in a number of Babel data<br class=3D""> =
&nbsp;&nbsp;structures, and they are interpreted as integers modulo =
2^(16).<br class=3D""><br class=3D"">The text in the context makes me =
believe they are an unsigned 16-bit<br class=3D"">integers. If so, there =
simply is no way to use 0 to indicate that a<br class=3D"">sequence =
number is absent. The problem really might be the text in RFC<br =
class=3D"">9046.<br class=3D""><br class=3D"">/js<br class=3D""><br =
class=3D"">-- <br class=3D"">Juergen Schoenwaelder =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Jacobs =
University Bremen gGmbH<br class=3D"">Phone: +49 421 200 3587 =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Campus Ring 1 | 28759 =
Bremen | Germany<br class=3D"">Fax: &nbsp;&nbsp;+49 421 200 3103 =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<a =
href=3D"https://www.jacobs-university.de/" =
class=3D"">https://www.jacobs-university.de/</a>&gt;<br class=3D""><br =
class=3D"">_______________________________________________<br =
class=3D"">netmod mailing list<br class=3D""><a =
href=3D"mailto:netmod@ietf.org" class=3D"">netmod@ietf.org</a><br =
class=3D"">https://www.ietf.org/mailman/listinfo/netmod<br =
class=3D""></div></div></blockquote></div><br class=3D""><div class=3D"">
<div dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, =
0); letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D""><div style=3D"color: rgb(0, 0, 0); letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D""><div class=3D"">Mahesh Jethanandani</div><div class=3D""><a =
href=3D"mailto:mjethanandani@gmail.com" =
class=3D"">mjethanandani@gmail.com</a></div><div class=3D""><br =
class=3D""></div></div><br class=3D"Apple-interchange-newline"></div><br =
class=3D"Apple-interchange-newline"><br =
class=3D"Apple-interchange-newline">
</div>
<br class=3D""></div></body></html>=

--Apple-Mail=_42F7EB2A-C472-4B6B-9F33-499A86D9DC46--


From nobody Mon Sep 13 13:06:09 2021
Return-Path: <J.Schoenwaelder@jacobs-university.de>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 30CB63A0870; Mon, 13 Sep 2021 13:05:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=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=jacobsuniversity.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 X_SYiy33hmKQ; Mon, 13 Sep 2021 13:05:02 -0700 (PDT)
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2048.outbound.protection.outlook.com [40.107.22.48]) (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 E7DF73A086A; Mon, 13 Sep 2021 13:05:01 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AVYvipRn9PGy2qz9Q9o5XlRUwnAG+wpNboh/qFknaMHLkSb28nMU045BPFgI+HiTMNM1nNi7qk40R52l0WY3bHzzsneIJAxAgIWPQNekg8GWQ4uUj/d6N7FWADtBbyheFfq1u0q8kLAHeIN1RDk7rRKUk84agNephiX9HQYJzsCOOMu/5lDqIiGCT7N2ZzhmrL1X5zTpnb0ak+nRz4Wv02SVvwWqkKoNg8nqJL56fOK3Z9Hjq2tj85ZyqWd2z6XF54KI24SI1fUwXdhEdKGf73SA8op9Gl0nf54oTPoyUkaRaD5Usvb7AkUmEXzjHbs5y3oyARnfmg7DzOCwK5ofNg==
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;  bh=+Zfr60QRVo8aemvPIWwqiPZzXGNdBTrYkSNAse22efY=; b=b3CKWsATmY3OPQ2kOxwpSHVkbpVdmy3vI/b1+5gf8j3b/6C8lCVo6xGwAoQT9yaom+wvRF6Su2xXqnTh1MRff/retxJav+lONmrr8wr8fhebS6oMQ2rJWR/uCy2NIl+njxmvnlvLI0JqDox+W+uXgXc2w/qJZ5upw/pFY6lQTgTNKfvVKk7nfJraQ2+OVQJWcJ7jwzU6zxxidAlfOFjpkHSqrIqAZ5kRidvgk9IhBtkMqRlAHqw0YW7okRG/WxLFDbdTr5vHOYeR3wGxGj4tWmdcTTxNV4+Y6TIUm8jFyHiEIgih3K8pMDo0xi0SW7KEStW7uLWtxGsIoNI2Ks3YRQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=jacobs-university.de; dmarc=pass action=none header.from=jacobs-university.de; dkim=pass header.d=jacobs-university.de; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jacobsuniversity.onmicrosoft.com; s=selector2-jacobsuniversity-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+Zfr60QRVo8aemvPIWwqiPZzXGNdBTrYkSNAse22efY=; b=mngsPAT176h442U+Zj+oc3pIj6KqiIIQGQtikIkRVIoIq2QCi9k9t+kr8AmhapWhsMI5LducUwAis/tePC7TfsvWbiV//FulwU1Rw+cEpCV2f0hd/skunckhjx9ranceJ+kj0w7+s9nt/emcOv3tWF/tPGHzFup62JnwpvY9GUY=
Authentication-Results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=jacobs-university.de;
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:194::23) by AM0P190MB0737.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:195::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.17; Mon, 13 Sep 2021 20:04:55 +0000
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::6539:572:25dd:e6ab]) by AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::6539:572:25dd:e6ab%7]) with mapi id 15.20.4500.018; Mon, 13 Sep 2021 20:04:55 +0000
Date: Mon, 13 Sep 2021 22:04:55 +0200
From: =?utf-8?B?SsO8cmdlbiBTY2jDtm53w6RsZGVy?= <j.schoenwaelder@jacobs-university.de>
To: Mahesh Jethanandani <mjethanandani@gmail.com>
Cc: Lou Berger <lberger@labn.net>, "netmod@ietf.org" <netmod@ietf.org>, Babel at IETF <babel@ietf.org>
Message-ID: <20210913200455.xot7lihpmqiemm5c@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Mahesh Jethanandani <mjethanandani@gmail.com>, Lou Berger <lberger@labn.net>, "netmod@ietf.org" <netmod@ietf.org>, Babel at IETF <babel@ietf.org>
References: <AM7PR07MB624802516EFB174B6912C5DAA0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <20210910121430.kofyvd2q3ludm2pk@anna.jacobs.jacobs-university.de> <AM7PR07MB62482A4271AF1CA5013EB136A0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <b1b1cd18-537f-561f-dcb1-9aca41b7d3c9@labn.net> <20210910200902.bic4rhyhp75bgsjz@anna.jacobs.jacobs-university.de> <BBC6AA9F-86C1-4A9C-86FD-AD77668CA9D9@gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <BBC6AA9F-86C1-4A9C-86FD-AD77668CA9D9@gmail.com>
X-ClientProxiedBy: AM0PR04CA0089.eurprd04.prod.outlook.com (2603:10a6:208:be::30) To AM0P190MB0641.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:194::23)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from localhost (212.201.44.244) by AM0PR04CA0089.eurprd04.prod.outlook.com (2603:10a6:208:be::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.16 via Frontend Transport; Mon, 13 Sep 2021 20:04:55 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: bac7b546-d0de-4b35-25d3-08d976f1c186
X-MS-TrafficTypeDiagnostic: AM0P190MB0737:
X-MS-Exchange-Transport-Forked: True
X-Microsoft-Antispam-PRVS: <AM0P190MB0737A0E8A3C5B0AF38C4E898DED99@AM0P190MB0737.EURP190.PROD.OUTLOOK.COM>
X-MS-Oob-TLC-OOBClassifiers: OLM:10000;
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: DRmyuTtKj0znY17PQtDZJzjjZkUYnSOWTlXpo94aoAtjmCRRLQFbg6ssOZrXR4nky1NZ3SZSbcx6jRygLSTZKOuwlusfoCsZNKuUPEw7z0CPLSsv7c7IT6JF45J0W+8y+MON9Tb+ZAV5+L4UP4hTB8qt9wDeKuWcokVM7nZeUD3528c1MTCX0+glwKopWBCi2ImRJFkVIcwbwv/zzPnwSpFYsBvOs7wwZ4dzzGuU1v7TDw60NWBAO046XJ7GZ46W1ZRWh/NrI/CnagITt9CR8bUtOHnVloIh+Y8bs85DipOqdq1FI2656ircaYkD+KgjyQzR5OESCIWdJ1ZJbaDAFRPTVtVpOc6f7v4qwGuWvPkliz3iXVX6tZWahzD4fmUFbqpws4q+ojevd8qae1ky6Cj83Zf5uKUB+RBihjxCUyDRUNHW2dRzLewFDHU3+uq47BL9mNUZhXq2Yw7YpPbzWCasWOrx6sUhp9yJ6c/cusTFP4UueNq9u/+BBILaxIJqEVeYdKq3o3kU2xZOZokRsOKHaAWG9p5MnFN7ve9H/BoaOPkGRTXrdEA6wuJ9b+lIX5J38IlCWvaP+LLgnKvbe7xOBqlMJhmyWnh5Pwh6hgJu4gdLg5+xV7iJbvMgUQGkWW/YcmjW61dgGET7AyGNIUNVxqZjiroJ4i2123onME6gDkSzkV6CMXb7jtqPtLPuoc4K62mVAbNh7SwTciCKSWqqn9RmEmIKwYMz/SY//sL/7bwx1Ygu5uPRPAeIa/G5bhnfd1zEDaG9aGwcmr08VmRsHQstovMISzkUU4XmUj8=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:AM0P190MB0641.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE;  SFS:(346002)(396003)(376002)(39860400002)(366004)(136003)(26005)(316002)(52116002)(966005)(5660300002)(38100700002)(38350700002)(86362001)(6496006)(1076003)(85202003)(40140700001)(85182001)(66574015)(83380400001)(53546011)(66556008)(66476007)(66946007)(3450700001)(8676002)(4326008)(6916009)(956004)(8936002)(186003)(478600001)(2906002)(54906003)(6486002); DIR:OUT; SFP:1101; 
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZUNUWXBmQnNBbzBPS01Yekp4aG9LRVB1Q0Z3NEIxUU8rVk1odFNXUnZBdUI0?= =?utf-8?B?MndoTTg1VWI2WVZPY2dLOERydldBZlJFNkxsS3NKZFFhdkVyeVVMdjlrTDBi?= =?utf-8?B?amo4emZNdkdXbXZrcHhGcitVWXVFeEdvM2syM2NRTlkxVkg2QmpCVkVFN1RM?= =?utf-8?B?OHpwc0krdDY0Ri9ib0YwZ0NYSWlFbU51SVF5ZlRvbWNQV1RhbmV6VmtkTDgz?= =?utf-8?B?STlTZjlvbEdwajBqOVY0S3NlZXdpK0RHQzBTa1FZM3RXeGd4djVBK09HcWNF?= =?utf-8?B?ODlPV0hYRHdwSE1HY0F6WHZ6R3p2eHdSTjM0ekp6eDNJVXRpbHlGTWtNY2RR?= =?utf-8?B?WE9LRFcrN2lOMEwvUEh5bGYrY0pCUXlZMDI0L3U0YmZSLytUZUwvaVdpWXl2?= =?utf-8?B?MVNZcEpuT2svWDFySmdyOG5MZ2VDVjFxNmpQVndhM1hCakpTSUZBZVpDMEJ5?= =?utf-8?B?WlRrWFJINzVtMGVScGUxMlhZTU5TYnU2ZDQxdGFNUjZlRzhwSS82L0EwdkQ3?= =?utf-8?B?UGxkSkh4QkNtVmhSL0R5S2dubXoweklqVERlSTAvazhpYjZoTkx6by9HenZm?= =?utf-8?B?V013aHBiaG9PbFpIc0g0VEZ4NmI2WWk2L1g2YXpta3VZdVg3K0txMHV0QTRW?= =?utf-8?B?NDFoMWtuWTI1UHM2Smh0M2s0VlpmUTR3cWFSV1R0L2dVbTdkSnBHRkFFL3dq?= =?utf-8?B?RXJPRWNheUNxR1ovN2pmbzgyL052eW1CZHE1RDg5SXpRQzVBUWQrbDh6T2g4?= =?utf-8?B?MXhEL1BxTnBsaXNXVDMrY2p5ZzkwMU43NWdyREl4RkY2NWM4anVrRzI5Mjl5?= =?utf-8?B?dkU4MktkL3Zac1piZXNydytWNjVQUkhTSG80bHVYWXVFRWVJMWJ4bVRvd0JT?= =?utf-8?B?OVFRU1BHUEM2WXdpV3d4aFQxYitIbHNEa25pRnpUeUdmWWY4WFVDVDhwZU5B?= =?utf-8?B?WlAxT3BrRXBUd1c2am12YnVlWGFNYkJ5VFVGNFlRWkNxWTZFN2NVWm80MkRH?= =?utf-8?B?RHNUeW84Qm51N3BtR3gvcnZQL2NZV25YN1BPTmQ4emt0YS9Bdmo4NkhQTVp1?= =?utf-8?B?QjlQUFptY2NnMWVhOUxXRDNGazNFR3pYbVllcGRybXNmVU1RRmZUNHQ1c3Fu?= =?utf-8?B?cGhpS0dEUUpnUFhQWEgyREpHeVZQb3dkSkZ6cDE4dGdyUklHUStFd0FxdkZm?= =?utf-8?B?R252a1R1eDJyeXVtZmlMb3F5SUQ5dGxUaDVpU0NjdnFQZW43K0RiN2NrUFM5?= =?utf-8?B?SXpJZHJWdC9pa3VNR3FNS3NoVzJzQmZvclRVMk5PV3FEbVJYdmx6NlkxSGE0?= =?utf-8?B?TGxOR2hiM1YxZkEydFNmVzVzbE5nckxXbUdoN014ajhqMC8vSmpzZWhjL0lQ?= =?utf-8?B?SzUzYjRvWEszcm0wQTFialVUekpTdk1INjhwZTltQVFSQUFIWm4wdWNBdFRp?= =?utf-8?B?RlZ6SHUyZ2NlNTRwVDNpdHhlaTlaeHA0cEppM1U4U252ZjlsRXRpU3A1VmVK?= =?utf-8?B?YTNzYzJ2MjREa2Q0cUZaODVGOU1rZWQrTkNENUZ0OFdkMVBlT0JyOXdoTmdT?= =?utf-8?B?MDArVWt1QllqeHRzMHR3Zy81emxEVHpJMUxDUmw5Q3BNTHdkR0p4bDhMYTNw?= =?utf-8?B?WEJtcXZaVzhtN0ZzQVYrTzIzM2tCQ1hVVlJUM09OOGZrd0xUVWFkeU83Tndm?= =?utf-8?B?NGJuZVAveVgzTUtRdEd1MU1VQy84ZGpHd0ZaZml3algvYWh1Q05YNWhBZzdH?= =?utf-8?Q?KJRDNDUpNzBhofVfCPQ9xI0FzTYddHjJbndedXH?=
X-OriginatorOrg: jacobs-university.de
X-MS-Exchange-CrossTenant-Network-Message-Id: bac7b546-d0de-4b35-25d3-08d976f1c186
X-MS-Exchange-CrossTenant-AuthSource: AM0P190MB0641.EURP190.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2021 20:04:55.6502 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: f78e973e-5c0b-4ab8-bbd7-9887c95a8ebd
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: cpa3kXZ7UfoOYXzJggidrp3xinIKsu3NlvGvXr9966kJtKfC5XH5EBgdIHfUVlLbTzujq3iYvX62ojcUsjpXuRZIA6wf6tj9SszHnw7fJn0=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0P190MB0737
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/YuHpST9NL-jMN0bgaIMWKbzunhk>
Subject: Re: [babel] [netmod] NULL value for uint16
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Sep 2021 20:05:10 -0000

Hi Mahesh,

management interface usually do not change protocol semantics (for the
simple reason that protocol engines do not necessarily know which
management interfaces control them and their peers).

Does the Babel RFC reserve the special sequence number 0? If not, does
this document formally update the Babel RFC to reserve the sequence
number 0? And will implementations and deployments follow on or will
we see "old" and "updated" implementations in the wild causing
operational trouble?

/js

On Mon, Sep 13, 2021 at 12:49:33PM -0700, Mahesh Jethanandani wrote:
> [Bringing in babel WG, instead of maintaining two threads]
> 
> 
> Hi Juergen,
> 
> 
> > On Sep 10, 2021, at 1:09 PM, Jürgen Schönwälder <j.schoenwaelder@jacobs-university.de> wrote:
> > 
> > On Fri, Sep 10, 2021 at 01:40:03PM -0400, Lou Berger wrote:
> > 
> >> and it references an RFC that says:
> >> 
> >>      This is a 16-bit unsigned integer;
> >>      if the data model uses zero (0) to represent NULL values for
> >>      unsigned integers, the data model MAY use a different data type
> >>      that allows differentiation between zero (0) and NULL.
> > 
> > We are talking about RFC 9046? RFC 9046 repeats this sentence several
> > times but I find it difficult to infer the intended meaning. If 0 is a
> > legal value, you can't have it represent "NULL" at the same time.
> 
> There are five definitions in the Babel YANG model <https://www.ietf.org/archive/id/draft-ietf-babel-yang-model-11.html> that use NULL to represent a special meaning.
> 
> With ‘babel-route-received-metric’, and ‘babel-route-calculated-metric’ values use NULL or 0 to represent that a route was NOT received. A non-zero value indicates that a route was received and subsequently advertised.
> 
> With ‘babel-expo-mcast-hello-seqno’, and ‘babel-exp-ucast-hello-seqno’ a value of NULL or 0 is used to represent that a multicast, or unicast hello packets respectively are NOT expected or processing of multicast/unicast packets is not enabled. Although not explicit stated, it also means that the sequence number cannot be a 0.
> 
> Finally, with ‘babel-ucast-hello-seqno’ a value of NULL or 0 is used to represent a unicast hello is not being sent. A non-zero value reflects the current sequence number in use for unicast hellos. Again, although not explicit, it also means that the sequence number cannot be a 0.
> 
> > 
> > In YANG, we tend to not instantiate leafs that do not have a value.
> > Anyway, if a YANG author wants to report a special value to indicate
> > that there is no value, then you have design for it and reserve and
> > set aside a special value from the number space or use a union.
> 
> This YANG model reserves the value of 0 to indicate that these leafs are not set or the particular attribute is not enabled.
> 
> Thanks.
> 
> > 
> > RFC 9046 uses the same text for things like sequence numbers. Skimming
> > RFC 8966, it seems sequence numbers are 16-bit integers:
> > 
> >   Sequence numbers (seqnos) appear in a number of Babel data
> >   structures, and they are interpreted as integers modulo 2^(16).
> > 
> > The text in the context makes me believe they are an unsigned 16-bit
> > integers. If so, there simply is no way to use 0 to indicate that a
> > sequence number is absent. The problem really might be the text in RFC
> > 9046.
> > 
> > /js
> > 
> > -- 
> > Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> > Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> > Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>
> > 
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod
> 
> Mahesh Jethanandani
> mjethanandani@gmail.com
> 
> 
> 
> 
> 

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>


From nobody Mon Sep 13 14:00:48 2021
Return-Path: <bs7652@att.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0189C3A0DB3; Mon, 13 Sep 2021 14:00:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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=att.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 Fs6lxXkt5fYu; Mon, 13 Sep 2021 14:00:39 -0700 (PDT)
Received: from mx0a-00191d01.pphosted.com (mx0b-00191d01.pphosted.com [67.231.157.136]) (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 969133A0DB2; Mon, 13 Sep 2021 14:00:39 -0700 (PDT)
Received: from pps.filterd (m0049462.ppops.net [127.0.0.1]) by m0049462.ppops.net-00191d01. (8.16.0.43/8.16.0.43) with SMTP id 18DKt7gp043471; Mon, 13 Sep 2021 17:00:38 -0400
Received: from alpi154.enaf.aldc.att.com (sbcsmtp6.sbc.com [144.160.229.23]) by m0049462.ppops.net-00191d01. with ESMTP id 3b1a2wk50b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Sep 2021 17:00:37 -0400
Received: from enaf.aldc.att.com (localhost [127.0.0.1]) by alpi154.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id 18DL0SdP011462; Mon, 13 Sep 2021 17:00:37 -0400
Received: from zlp30488.vci.att.com (zlp30488.vci.att.com [135.47.91.93]) by alpi154.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id 18DL0KjT010690 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 13 Sep 2021 17:00:20 -0400
Received: from zlp30488.vci.att.com (zlp30488.vci.att.com [127.0.0.1]) by zlp30488.vci.att.com (Service) with ESMTP id 6BE094005958; Mon, 13 Sep 2021 21:00:20 +0000 (GMT)
Received: from GAALPA1MSGEX1DA.ITServices.sbc.com (unknown [135.50.89.114]) by zlp30488.vci.att.com (Service) with ESMTP id 198D84005955; Mon, 13 Sep 2021 21:00:20 +0000 (GMT)
Received: from GAALPA1MSGEX1DF.ITServices.sbc.com (135.50.89.119) by GAALPA1MSGEX1DA.ITServices.sbc.com (135.50.89.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.14; Mon, 13 Sep 2021 17:00:19 -0400
Received: from GAALPA1MSGETA01.tmg.ad.att.com (144.160.249.126) by GAALPA1MSGEX1DF.ITServices.sbc.com (135.50.89.119) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.14 via Frontend Transport; Mon, 13 Sep 2021 17:00:19 -0400
Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.171) by edgeal1.exch.att.com (144.160.249.126) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.14; Mon, 13 Sep 2021 16:59:44 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fYw15D/c8C91cgrq9TwX7Utm8hBBlDV4nplAl3MeFZchU+ExnS/BBYxH8ps15dmgmvpa1GidOjeS1kyBVPjLVEVQRqypMMR7RwwmSS+LLYKeMKN8IN0DpWNbG92chg7XlwCay8L0uJXx4GCCH6EUUwi2FBlrLWgX8rGKl1YuxBLWQEt7J4/3PlrZMisFt6idChfp1cHrGdYycNiWNzWbAqv+DbvoE2xgTFjf+Asl8KaNgdjttk5+zk6iV9fyWivka3Ex4sZCbeEb95KZKhqLZuLzmQ84/HChclhtMMsCiTAYyqGXwlKkvwTUsv1ATMVw12wm3LHdC7//I/VcTRd4nw==
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;  bh=D896RvXowY/Q09N2vnCJOWRqP07uZiiHLlkLqhYMUY4=; b=Y/notXcZF5DqucDUq2X/9PFD1SlTDYo+1tfZd1XR4DOip03R3TJi1b08MgNziMTrxIPFyNboce4inqEt+WWiSUB5kZWb5ltXVGly7d6m5Ic8yFMe62GQWzqupvss90UMOC5Jpazzy+jq6eKb0F/wvAVstpLWtihNa7l+wSUmDSHZ3r7EkuSQagyLLCss0T17Xv8PUuya0R0WN31RADgI1yBHLUsZclAT8W+A2YYky23lRaJXVBV2LJsYl2+cUYX64Phk7Y+YOV7czN30L+kQKDWPPVg3+yHZA517itkFAuvUNnvRg845FbY4S/HceNqGeKXv/gf118zF9YzkrjFLsQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=att.com; dmarc=pass action=none header.from=att.com; dkim=pass header.d=att.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.onmicrosoft.com; s=selector2-att-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=D896RvXowY/Q09N2vnCJOWRqP07uZiiHLlkLqhYMUY4=; b=i5415+k3fiaLjOcJ3CiK3i484p+8hf15uOwoz3aXMJj9pEEMez9y7rIo2ba4udn9ovASJufhO6DHN6A88kQWZSR4izdfqZUTIhUet70HiyOW81TqLiNUi4vXOSfYjgwPOpd8zovb1+YWEg271NMaBosFkviQE0FdkBDXMeAzniI=
Received: from DM6PR02MB6924.namprd02.prod.outlook.com (2603:10b6:5:25f::7) by DM6PR02MB4522.namprd02.prod.outlook.com (2603:10b6:5:24::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14; Mon, 13 Sep 2021 20:59:37 +0000
Received: from DM6PR02MB6924.namprd02.prod.outlook.com ([fe80::ddec:9436:4971:5d1e]) by DM6PR02MB6924.namprd02.prod.outlook.com ([fe80::ddec:9436:4971:5d1e%4]) with mapi id 15.20.4500.019; Mon, 13 Sep 2021 20:59:37 +0000
From: "STARK, BARBARA H" <bs7652@att.com>
To: "'Juergen Schoenwaelder'" <j.schoenwaelder@jacobs-university.de>, "'Mahesh Jethanandani'" <mjethanandani@gmail.com>
CC: "'Lou Berger'" <lberger@labn.net>, "'Babel at IETF'" <babel@ietf.org>, "'netmod@ietf.org'" <netmod@ietf.org>
Thread-Topic: [babel] [netmod] NULL value for uint16
Thread-Index: AQHXqNihIrcFo1oLfEe9EUg7P5BeQKuiY4yAgAAA5WA=
Date: Mon, 13 Sep 2021 20:59:37 +0000
Message-ID: <DM6PR02MB69248D2780D5C880CC647783C3D99@DM6PR02MB6924.namprd02.prod.outlook.com>
References: <AM7PR07MB624802516EFB174B6912C5DAA0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <20210910121430.kofyvd2q3ludm2pk@anna.jacobs.jacobs-university.de> <AM7PR07MB62482A4271AF1CA5013EB136A0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <b1b1cd18-537f-561f-dcb1-9aca41b7d3c9@labn.net> <20210910200902.bic4rhyhp75bgsjz@anna.jacobs.jacobs-university.de> <BBC6AA9F-86C1-4A9C-86FD-AD77668CA9D9@gmail.com> <20210913200455.xot7lihpmqiemm5c@anna.jacobs.jacobs-university.de>
In-Reply-To: <20210913200455.xot7lihpmqiemm5c@anna.jacobs.jacobs-university.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: jacobs-university.de; dkim=none (message not signed) header.d=none;jacobs-university.de; dmarc=none action=none header.from=att.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 85b6f33c-d5d1-4f81-9a5a-08d976f965d7
x-ms-traffictypediagnostic: DM6PR02MB4522:
x-microsoft-antispam-prvs: <DM6PR02MB45228F771B44C97EEE7B24E7C3D99@DM6PR02MB4522.namprd02.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: aNjcpqLYCzfPrgDUgLtAylrMxTJ0pfz1OiWsT4Lute4Bvd8qLhzHg7Xe3N3qBn6+zXtodPqAu2wJ0jQ8f4ucBcFgP1A1bLP2NdfJNoCtLKttqtvu8avf8Bc+wAybvrLofPooK0hySWcUhIVEm+F2BV4v+Ce8XgVUiWPxhnsJ6JYbQLc/6dGpRZ/tbF1taKy3xYllKhJ/9Hm6ivMLv1fhgwHyHc1Uu1irOlXTFpW/R1mpc9LIK3iGl4voQvBlu5A16ta3L2dt7FrSAmy8SHSWZF+C3PYbT0mQ4FfAANPfzMXJdlhVcyQ0vzh0KTLS627ftMvzDj2QyB2UfKYLk8/nVQQFaDPOHDTrlWuJYsxYUU4LOrxoF/yHca00PBfYYzx8Ec7hBmDY/0qj3B0ePRO5aR2r+82JND4dFDdTXCP3mf/HfzpgGERXom+Kh/FBL36T2H8p6M73wqz6n1CzEhGoc41pIPMw+b1zFWgF0Di+00jBcovIyezrXaJxZup372CIG3ZSyIggZ6QZNt2f3H5jCy4b/LhrA+G5VBw3aODEXmxQsQTfTaqJKSb7mPq8Htd6dkRV/l+r1mgNR55bYT8rYCx43p+l5SRpBJMknRjFC7cYuQraaOaAc0HDmUarq/dfiNUT3vRTLnCcNfs3UWCOwen1e8zVNsm4UVhW+H9xpStJQDjjHI253W7iMW2thCgxM0Q5LfYoW4bcoipkT8bptJmlh6eMB5dv5M/QUiPPQltkxM7pa1z+sHIHsGI9ExvMsrDgoaof+kWy4mvDJPzhPHgwtej4P715fdo/+az/pF0=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:DM6PR02MB6924.namprd02.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(366004)(396003)(39860400002)(376002)(136003)(346002)(52536014)(478600001)(83380400001)(53546011)(86362001)(8936002)(33656002)(55016002)(186003)(2906002)(8676002)(38100700002)(26005)(82202003)(66946007)(122000001)(9686003)(110136005)(66574015)(64756008)(38070700005)(54906003)(5660300002)(66556008)(66476007)(316002)(4326008)(66446008)(6506007)(76116006)(71200400001)(7696005); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?02yAFSdxvPzLVZ7aNNrjaQtcv1F2bGvYX0mYU1OyIL215b9ir90FgTq/vb?= =?iso-8859-1?Q?Edw7DyoN+PBCu39qQ0FajWtDhizeLKtrC8K1ToYQZW1SGhxLOWzWtfP9wI?= =?iso-8859-1?Q?j+ODJg9jokKr1Pa6ImQ5ywAenNWUVvRBGOCBK9CJeY05KJZ+hgkj0uDgEl?= =?iso-8859-1?Q?DqsyxiQ0d8OztAzBd9V26psT0VJrhTpBpp1ndGgtfi2pHbAB1L9UqLDQw6?= =?iso-8859-1?Q?I1sxa072X7DWqx8RZVYsk3I/32RyEysEIkOYGctsKhHLt4xZdRSfHvP251?= =?iso-8859-1?Q?7T7akc3aFsVWXfpdvlVX2NgyGBJMerKfWUcJULxJGJPK0HTgttWJ3OKfVK?= =?iso-8859-1?Q?RUHLGT5XUL7IpkJjvSWMH06rMSw10xtoYwq9aU20TGWF9Q6v8mjfbVbuxa?= =?iso-8859-1?Q?LeOWLnqS3CuG6+RysXQuzb09kgjPYsORz8xTpxdBwoyt/0KdmSP3x3AUJG?= =?iso-8859-1?Q?CUpVdGaE50xSM2zLQQflMhmdxZSdyJr6fWumqYRaexO0dcQ2coLlEtQOcd?= =?iso-8859-1?Q?3NHDsXMEKzy3kzlWTOPem2CfBWYm7IfyB5wMM6NHL+iSNDxLiWiYczOHkY?= =?iso-8859-1?Q?wQNLLB3UAUFJSQWfi48QBJ48uvnItyA3PGZyKbU3+c7Z8FUHD64Fa4HVzA?= =?iso-8859-1?Q?BvToEXEQY+W6TnfFHlJkoAztxx5xo43U8lISWO3lBwZBwW3EqPtc0mTd1M?= =?iso-8859-1?Q?n899zHDij1/HWQ5KpsSyMoI5ruZz+djsJ0euuHZLf2UzR0KygU9LRTDi8W?= =?iso-8859-1?Q?9P371tFVeOKwlsAquBlRoYMNTidUDwmRMkkC0H/VgISjoXyPJ7p982ZTbC?= =?iso-8859-1?Q?qgcJIj4fMC0bVe7B+g1bXqpvVWNhjRJdvY75Pd3eh7fNalEyPOl8TqAgNo?= =?iso-8859-1?Q?w4PMMSfBZhRA94LKDzh8ar1mPXev6W1zt29ayBmFVgnVNpNGi9sLAVRiqP?= =?iso-8859-1?Q?kDkuO412k87/pm4wQ5nqHYSLvuLRz1QSlPaWVqQ1yStjk327RGV7GG4oTa?= =?iso-8859-1?Q?n7zNcGx9NG0hg76l9v2m8uT+ssfCrPowrUXM/70RKAQdifkzb3pdzSWeCm?= =?iso-8859-1?Q?1jLVYhN6Rb/CEFZXmfl93G7qQ+1Eq7eZ1E3SJa+hAPsPBldwlU2yMBiq16?= =?iso-8859-1?Q?BsZ04Yy+wiFeeGg0O9hm0rP41u54vSrMS4MXOAgHhbNX5O+diOBxMYd2WW?= =?iso-8859-1?Q?lRr2KkdZMuml4KDsYFp0Og/Bb4aRZvmdlZ13N5UHcBRscu7LaCZoiGjZ0y?= =?iso-8859-1?Q?EXyYOWFz7yvNyj/3MH+WvrFXJYTMVcW+HgSLiawa6zv3xC3djcVSa/+tye?= =?iso-8859-1?Q?W6O3IEjVFilrHskOeMchy3GP2zgMS4xIXreMG3bQzrkX6UQ=3D?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DM6PR02MB6924.namprd02.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 85b6f33c-d5d1-4f81-9a5a-08d976f965d7
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Sep 2021 20:59:37.6372 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: e741d71c-c6b6-47b0-803c-0f3b32b07556
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: A3hbkp6kLB5r8qM9iRs0UlEtI8BQm+kvPCPk21iIwrUf4nSyxvg1evYnq6/havet
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR02MB4522
X-OriginatorOrg: att.com
X-TM-SNTS-SMTP: 26F85C0F8717A82FC2730B275B181E196296613B931DC85C22CA67168D67D2DD2
X-Proofpoint-GUID: WVPkH5dcpaYN3k4vONQ8NCP3LHoBUjxt
X-Proofpoint-ORIG-GUID: WVPkH5dcpaYN3k4vONQ8NCP3LHoBUjxt
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-09-13_09:2021-09-09, 2021-09-13 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_policy_notspam policy=outbound_policy score=0 impostorscore=0 mlxlogscore=341 bulkscore=0 priorityscore=1501 mlxscore=0 suspectscore=0 spamscore=0 clxscore=1011 adultscore=0 lowpriorityscore=0 malwarescore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109030001 definitions=main-2109130124
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/PbrTjGI2K3iPdvNwgvX_XuERMzw>
Subject: Re: [babel] [netmod] NULL value for uint16
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Sep 2021 21:00:46 -0000

I seem to be coming into this discussion in the middle, so I hope I'm under=
standing where things are. Comments in-line.

> Hi Mahesh,
>=20
> management interface usually do not change protocol semantics (for the
> simple reason that protocol engines do not necessarily know which
> management interfaces control them and their peers).
>=20
> Does the Babel RFC reserve the special sequence number 0? If not, does
> this document formally update the Babel RFC to reserve the sequence
> number 0? And will implementations and deployments follow on or will
> we see "old" and "updated" implementations in the wild causing
> operational trouble?

Yes, the Babel RFC makes it clear that 0 is a valid value that must not be =
confused with NULL.
I have no idea what conventions exist for a YANG model to distinguish betwe=
en 0 and NULL in such cases, but merely expressed that the distinction must=
 exist. Whatever conventions exist within YANG to make this distinction can=
 be used. It sounded from Tom's email that several conventions exist for ha=
ndling this. Under no circumstances should this YANG model allow the valid =
value of zero to be repurposed to mean NULL.
=20
> /js
>=20
> On Mon, Sep 13, 2021 at 12:49:33PM -0700, Mahesh Jethanandani wrote:
> > [Bringing in babel WG, instead of maintaining two threads]
> >
> >
> > Hi Juergen,
> >
> >
> > > On Sep 10, 2021, at 1:09 PM, J=FCrgen Sch=F6nw=E4lder
> <j.schoenwaelder@jacobs-university.de> wrote:
> > >
> > > On Fri, Sep 10, 2021 at 01:40:03PM -0400, Lou Berger wrote:
> > >
> > >> and it references an RFC that says:
> > >>
> > >>      This is a 16-bit unsigned integer;
> > >>      if the data model uses zero (0) to represent NULL values for
> > >>      unsigned integers, the data model MAY use a different data type
> > >>      that allows differentiation between zero (0) and NULL.
> > >
> > > We are talking about RFC 9046? RFC 9046 repeats this sentence several
> > > times but I find it difficult to infer the intended meaning. If 0 is =
a
> > > legal value, you can't have it represent "NULL" at the same time.
> >
> > There are five definitions in the Babel YANG model
> <https://urldefense.com/v3/__https://www.ietf.org/archive/id/draft-ietf-
> babel-yang-model-
> 11.html__;!!BhdT!w6VP0VXwBo8HQB7xl29xPqAxO7zHbtal44Pwbxrh6lIs8a04rPj
> 0rzZ_DACdBQ$ > that use NULL to represent a special meaning.
> >
> > With 'babel-route-received-metric', and 'babel-route-calculated-metric'
> values use NULL or 0 to represent that a route was NOT received. A non-ze=
ro
> value indicates that a route was received and subsequently advertised.
> >
> > With 'babel-expo-mcast-hello-seqno', and 'babel-exp-ucast-hello-seqno' =
a
> value of NULL or 0 is used to represent that a multicast, or unicast hell=
o packets
> respectively are NOT expected or processing of multicast/unicast packets =
is not
> enabled. Although not explicit stated, it also means that the sequence nu=
mber
> cannot be a 0.
> >
> > Finally, with 'babel-ucast-hello-seqno' a value of NULL or 0 is used to
> represent a unicast hello is not being sent. A non-zero value reflects th=
e current
> sequence number in use for unicast hellos. Again, although not explicit, =
it also
> means that the sequence number cannot be a 0.
> >
> > >
> > > In YANG, we tend to not instantiate leafs that do not have a value.
> > > Anyway, if a YANG author wants to report a special value to indicate
> > > that there is no value, then you have design for it and reserve and
> > > set aside a special value from the number space or use a union.
> >
> > This YANG model reserves the value of 0 to indicate that these leafs ar=
e not
> set or the particular attribute is not enabled.
> >
> > Thanks.
> >
> > >
> > > RFC 9046 uses the same text for things like sequence numbers. Skimmin=
g
> > > RFC 8966, it seems sequence numbers are 16-bit integers:
> > >
> > >   Sequence numbers (seqnos) appear in a number of Babel data
> > >   structures, and they are interpreted as integers modulo 2^(16).
> > >
> > > The text in the context makes me believe they are an unsigned 16-bit
> > > integers. If so, there simply is no way to use 0 to indicate that a
> > > sequence number is absent. The problem really might be the text in RF=
C
> > > 9046.

RFC9046 text is intended to allow and encourage data models to do whatever =
they need to do to ensure they can distinguish between a value of 0 and a N=
ULL value. For example, in BBF TR-181 data model, we use a signed integer f=
or these parameters, where "-1" means "null value" and 0 to 2^16 represent =
actual values. This use of -1 and a signed integer to convey NULL for an un=
signed integer is a convention that has long been defined in TR-181 data mo=
deling rules. OTOH, Babel implementations written in languages like C *are*=
 able to distinguish between a zero-length variable and a zero-value variab=
le -- so their GUIs have no difficulty with this distinction and can simply=
 use an unsigned integer.=20

Different data modeling languages are likely to each have their own mechani=
sms for handling this -- which means it would have been improper for RFC904=
6 to be proscriptive about *how* a data model should distinguish between nu=
ll and 0. Therefore, the text in RFC9046 merely states that although the na=
tive variable is a 16-bit unsigned integer, it must be possible to indicate=
 null as something distinct from 0. RFC9046 does not dictate how that shoul=
d be accomplished. The data model needs to ensure this distinction exists u=
sing whatever method makes sense or whatever convention exists for that dat=
a modeling language.=20
Barbara


From nobody Tue Sep 14 02:11:24 2021
Return-Path: <ietfc@btconnect.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6A9073A11A4; Tue, 14 Sep 2021 02:11:21 -0700 (PDT)
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, 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 XJDXpyFCglHL; Tue, 14 Sep 2021 02:11:16 -0700 (PDT)
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2122.outbound.protection.outlook.com [40.107.22.122]) (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 991B23A11A3; Tue, 14 Sep 2021 02:11:15 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nZ0XhzCm+blFm7a6ijTm6XtZ89VX8dXdu+RcXiyDpi4YfqA6nE/l60UQ4WK+A+nFakawkWudtsSS96w3hkRTBQAdylDx/1brZaJQLfCipN6ezdYHB1VZ0pivtfp5pTTxJxxGuWiWonxcTVaaKTMSsYbxHaSNt7Ap56Q+BD4s+WmhDeGGZHu/wfRiHSan4eWlkQgimvu+GEZ3xaDxmvPHcO2Z7Jijp+7c9K5wM6cOPwZW5IRzUJbGxukwPMHJGeOzj+XB16AliLbzm60C1GuKit5gvVs5EKFE53mfjw4IV5+BnQSQgr22On+B6UAvJeY1CZIWc2hoC0w/d8rukjIzQg==
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;  bh=clwxLpGS+am5PY8rSf0pu53ifPn0ikPQLqtzP1ExxA0=; b=Jkq5PTT9koJbTQyYzMqMsYEE9Sgr48flFMDL1EY1uZ5dDsKg4sdUCxFfFNDPxJ1E+VWgQ07kuSc9jepwwGSe7fxWaGdhmkH3xPdOQXpfX5fUScKpmxaSPMmQG5dpMdgvd1VzVl0nb9KVe9INuJUx665WHIolXpV829z8UI5EMuoLQ8KFvjsLR8dseq7Nz4TuYRqMJ3RHKJwTikm2KancElh6GrbtKYHYDbVb0ycy9WbB4KS+GW3QfcLWu8UkKLIfo/3HnZrF7ZsFX9BAPvS8aG/AUndTx+rTrJX1Afkwb1zcF0MFC+Hka8S1LAoq3btihf0kPUzyXPB6vbJt7wu8wQ==
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=clwxLpGS+am5PY8rSf0pu53ifPn0ikPQLqtzP1ExxA0=; b=HXSgdlexm06W0J+Ted7htDtX/uaI3JRwMCi7YMW/S18VayVEFVDDqzBfXDuIFRG6lsGYgGyZhakJVKiO/oilLQEveX5RnY6rgsR9FTsPro1Aw/0AEJNz2NkKHSaV9THLLFWl71K493H4R1CTP5u/L67EeM5s268HjI0sKdqpldQ=
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com (2603:10a6:20b:134::11) by AM7PR07MB6325.eurprd07.prod.outlook.com (2603:10a6:20b:13e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.9; Tue, 14 Sep 2021 09:11:10 +0000
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::b9c8:47dd:34f0:7180]) by AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::b9c8:47dd:34f0:7180%6]) with mapi id 15.20.4523.014; Tue, 14 Sep 2021 09:11:10 +0000
From: tom petch <ietfc@btconnect.com>
To: "STARK, BARBARA H" <bs7652@att.com>, 'Juergen Schoenwaelder' <j.schoenwaelder@jacobs-university.de>, 'Mahesh Jethanandani' <mjethanandani@gmail.com>
CC: "'netmod@ietf.org'" <netmod@ietf.org>, 'Babel at IETF' <babel@ietf.org>
Thread-Topic: [netmod] [babel]  NULL value for uint16
Thread-Index: AQHXqOJ3MzpuFhRZuUevPT04LZqzwqujMa2/
Date: Tue, 14 Sep 2021 09:11:10 +0000
Message-ID: <AM7PR07MB6248BBB558136D1E6F8C1549A0DA9@AM7PR07MB6248.eurprd07.prod.outlook.com>
References: <AM7PR07MB624802516EFB174B6912C5DAA0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <20210910121430.kofyvd2q3ludm2pk@anna.jacobs.jacobs-university.de> <AM7PR07MB62482A4271AF1CA5013EB136A0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <b1b1cd18-537f-561f-dcb1-9aca41b7d3c9@labn.net> <20210910200902.bic4rhyhp75bgsjz@anna.jacobs.jacobs-university.de> <BBC6AA9F-86C1-4A9C-86FD-AD77668CA9D9@gmail.com> <20210913200455.xot7lihpmqiemm5c@anna.jacobs.jacobs-university.de> <DM6PR02MB69248D2780D5C880CC647783C3D99@DM6PR02MB6924.namprd02.prod.outlook.com>
In-Reply-To: <DM6PR02MB69248D2780D5C880CC647783C3D99@DM6PR02MB6924.namprd02.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
suggested_attachment_session_id: 71f06926-f3a7-4e1c-c374-73145cfb376c
authentication-results: att.com; dkim=none (message not signed) header.d=none;att.com; dmarc=none action=none header.from=btconnect.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: d4c842f2-e7bd-48be-47b0-08d9775f97e5
x-ms-traffictypediagnostic: AM7PR07MB6325:
x-microsoft-antispam-prvs: <AM7PR07MB632537606BDC4DAF26E99ABFA0DA9@AM7PR07MB6325.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: +4qZ8cwhF23Mr5vGbWD8J8YotRR23/+hCmdlDnCqz2A/2aWH5GkD16NM8HiTh4z/Kygb7HyYIxiDjG4qc29kTSrg8CoqnP/3aDz/EQJtO3ebSdHvobG1kJX9wEfJRwC97UtRzns2yEZzwzsecW7pQOMyiBOxNpuN3lawectz4juCfJ8ebw7X0oBdtUyl7VT3RjRKGviSEkhHdLViIX5DMYR6x+WMBbd0Fx1BtFrH1PnvkoYsrtE50lbaNiasDqgtM+EZeW+AeqffWdfO9yiTGzXGrhGSUhdzXM4SvZ0hkDUqp/MXxuYyk5ARYKEMSKNNI6EXOWeqByxwYped0WsnmE/TRXoPbkRGnYCrRpzABhkGouLaiaT91MKIwSmnyuZmW9YmgJ0JUgOYrbQpwICo2dfK97JhtfQ8E+MCDi1YJ3J75g4Qd4WKWIw2Uji9Ti50EXOjfosPXRsKPwYqpjq09kwr573guAS4U1r+1Y/yPmiIJ7SChMpQtXJLZNMs1Zul6/0CzDi7KwpxonnBbZmp8kR/Z0rgI77yFE8Zs9SIj01Of25f25mLSG1zrSggqmqPCF4BBN6V5KYUSIzw0zZWSyZHLed99R8+3vsxLiF2nTG7aeaRFgXOe4EcHCYawYDqbZSCvOpHwdAUoESYXC7UxzNOOJu88+9b/57/8llEiUobC8ebz8OfdQQHQyilndKGhip2zwZmclM05UXmaXhsVQJQ7quIYaUpscROJic+9qRY6pLu8ZxZrZGquD7L+WX+0DLXByCOQiI/k/Bjrc6zto4JcXOAe5+aSxuSTOUX5hZzKYw5iHtNKnLe3OsFf4iYbdKcsndmkmuEZg18K1qfxg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:AM7PR07MB6248.eurprd07.prod.outlook.com; PTR:; CAT:NONE;  SFS:(366004)(55016002)(33656002)(316002)(86362001)(122000001)(91956017)(38100700002)(64756008)(66556008)(66476007)(4326008)(76116006)(83380400001)(8676002)(66446008)(38070700005)(66946007)(66574015)(110136005)(7696005)(71200400001)(5660300002)(9686003)(2906002)(508600001)(966005)(54906003)(8936002)(26005)(6506007)(53546011)(52536014)(186003); DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?7Ei4xtk1KM6UsbsOPa7HcCnk/DzSs6EbX7VBuACK4ewEQ/jKlfCuPgQqmY?= =?iso-8859-1?Q?5Pya97QNN/WXeFqcLbP6NJqU52IEdD3Lw3qXPpdRIFh9OsTQkTi3NtjQ7I?= =?iso-8859-1?Q?4+WgYLYLAcrGIiBbBiMvibuwnKjnVjrI2FrCQMiB0TX41HolDKOIssNlg+?= =?iso-8859-1?Q?wLjAcceiBvHko0GWjj6rpAUrgciWWZ4kBil8ub7YmiUDopb6YRiRZKZQ5r?= =?iso-8859-1?Q?PKB3W+MIkqUcfCv2D7/N+Pd3IZfo5fzJMO5OBqnK8QqWhmIhFcqk3CdXbT?= =?iso-8859-1?Q?+TGmKTEEIOd/zNlvL0nRa91WAZRJ0gfQ+bxX9Y0chUwwQE3bWs+06zNnWt?= =?iso-8859-1?Q?nOzPGrHgWRZVoFK+yGzqXMQv/whSW+F1nlFm19j+iGqVYgIpWy220X3WLs?= =?iso-8859-1?Q?H1Kyu8l7z4C89Cf5N3zxDTjaGOgfdf4CxEsha2pQhCoSKv4/EGGOHXkhKt?= =?iso-8859-1?Q?LS3t2w2oX4ZlwltdzpEtzNkFP0lPz50H0yZd1zeIpLJPXFTGls8Ilz6JMl?= =?iso-8859-1?Q?SSIi6fmk5Gu4nL3sNApX0FE4pU+1FgiKf7ron7f+JLQZuOWvI7i4hl/CaE?= =?iso-8859-1?Q?Ungc5PoQXh8+imtotWtW/a0IV0lIZvLdPKllNIOnHpvDlxlADiayuUBN6P?= =?iso-8859-1?Q?ivRiCKd9RwtcVq86o/uAFZ1vcZkWfNk82xMS9KBOg/irR2wnrF9JG+A+Uv?= =?iso-8859-1?Q?QWLD5hjMHdhJNFOTRIKbMgzXtVuNiVrzWv0Z/Hdb7ySbbU0i/061oESvWe?= =?iso-8859-1?Q?hsZEA8UlzfbkAcNIk6Yb6+WMUN0yoavKPrqpZTegF4v999S8NCYJz8yznd?= =?iso-8859-1?Q?FN5PAHKVvVJ8shRCWjdYVTNzBIL0bUOE5HsZ/FrmlXhbrvomn93SJP4JYX?= =?iso-8859-1?Q?fjtxHI1+qmIeeosvpsCEPNsZ26+GsENaoXxmGsqJzzTaKNuY76H0aObAXW?= =?iso-8859-1?Q?hvizX5xlrUWZqOiEnGvtE5qSdJCViAvea000VN70cv/V6G2vX9usLehDB7?= =?iso-8859-1?Q?e41NYinyPLeKIcNPg1fYTYun5U3gOsDO5MTaMUCDLSz8xIZvYsQ92HuGRZ?= =?iso-8859-1?Q?RK4Sw07Rtl/iS51Xzwoq24N+WXuMpOnxSlVRCOC2KsNUQ4WAKwO7gRv48E?= =?iso-8859-1?Q?1gHJ1tZoikccOip78f9Iu4Z8uZBLmYoU+BgNdShxQoP5sMvSyyeujK6FKG?= =?iso-8859-1?Q?ef9OEEITo4qvs2YNPdbTLX1UkOcarxf/gApFsc6DA+yFJoZu+WE/5tak31?= =?iso-8859-1?Q?pnw/d8gaYiM85ZdRKOlDKjvCmgf47lHaLA4ZejDScCW3Z4g1n5iKbviOwl?= =?iso-8859-1?Q?XTzhaBl21tJhF+w22LxnpZYhUpbNu0GTtfUP05zHUqGTZ90=3D?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7PR07MB6248.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: d4c842f2-e7bd-48be-47b0-08d9775f97e5
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Sep 2021 09:11:10.2126 (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: lOtZNgywSghKyT570GTohWgpzMnbcr32ab3mr7TtYGAvsxoV1sDIzlm+p0DnkHJP7+Tc/mzDfnIuzlAdbfosWA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR07MB6325
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/dayLIUdyIJu3PsJ8whUv5V3xIhs>
Subject: Re: [babel] [netmod]   NULL value for uint16
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Sep 2021 09:11:22 -0000

rom: netmod <netmod-bounces@ietf.org> on behalf of STARK, BARBARA H <bs7652=
@att.com>=0A=
Sent: 13 September 2021 21:59=0A=
=0A=
I seem to be coming into this discussion in the middle, so I hope I'm under=
standing where things are. Comments in-line.=0A=
=0A=
> Hi Mahesh,=0A=
>=0A=
> management interface usually do not change protocol semantics (for the=0A=
> simple reason that protocol engines do not necessarily know which=0A=
> management interfaces control them and their peers).=0A=
>=0A=
> Does the Babel RFC reserve the special sequence number 0? If not, does=0A=
> this document formally update the Babel RFC to reserve the sequence=0A=
> number 0? And will implementations and deployments follow on or will=0A=
> we see "old" and "updated" implementations in the wild causing=0A=
> operational trouble?=0A=
=0A=
Yes, the Babel RFC makes it clear that 0 is a valid value that must not be =
confused with NULL.=0A=
I have no idea what conventions exist for a YANG model to distinguish betwe=
en 0 and NULL in such cases, but merely expressed that the distinction must=
 exist. Whatever conventions exist within YANG to make this distinction can=
 be used. It sounded from Tom's email that several conventions exist for ha=
ndling this. Under no circumstances should this YANG model allow the valid =
value of zero to be repurposed to mean NULL.=0A=
=0A=
<tp>=0A=
Barbara,=0A=
=0A=
Apologies for making a mess of raising this issue; I am struggling with web=
mail and a PC that has a mind of its own such that I cannot send e-mails wh=
ere I want to or even when I want to:-(=0A=
=0A=
Anyhow, I agree that the Information model makes it clear the NULL and zero=
 are different.  YANG has no concept of NULL; some languages do, YANG does =
not.  This raises  number of possibilities.=0A=
=0A=
One is to deviate from the Information Model and treat zero as NULL but I w=
ould not expect that to be acceptable.=0A=
=0A=
Another it to modify the range by making uint16 into int16 and making a neg=
ative value represent NULL in this model.  Again, I would not expect that t=
o be acceptable but you could make it a int32 or uint32 with a range restri=
ction such that one value means NULL..=0A=
=0A=
Another is to make the objects a YANG union of uint16 and something else.  =
YANG has a built-in type 'empty' which has no value(!) and so a union of ui=
nt16 and empty is probably the closest YANG gets.  A similar approach is a =
union of uint16 and boolean.  My YANG is not up to the merits of the two ap=
proaches.  I have never been comfortable with 'empty' but there is plenty o=
f it about in the IETF. By the same token, almost all models have a union i=
n the shape of an ip address which is a union of ipv4 address and ipv6 addr=
ess; a union is something I am comfortable with.=0A=
=0A=
I do not know of an exact parallel to what you want to do.  I do see 'null'=
 as one value of the text string in an enumeration which is fine for enumer=
ations!  I also see the choice/case construct used with one case having a Y=
ANG type 'empty' which is perhaps the closest if you do not want to use a u=
nion. =0A=
=0A=
HTH=0A=
=0A=
Tom Petch=0A=
=0A=
=0A=
=0A=
> /js=0A=
>=0A=
> On Mon, Sep 13, 2021 at 12:49:33PM -0700, Mahesh Jethanandani wrote:=0A=
> > [Bringing in babel WG, instead of maintaining two threads]=0A=
> >=0A=
> >=0A=
> > Hi Juergen,=0A=
> >=0A=
> >=0A=
> > > On Sep 10, 2021, at 1:09 PM, J=FCrgen Sch=F6nw=E4lder=0A=
> <j.schoenwaelder@jacobs-university.de> wrote:=0A=
> > >=0A=
> > > On Fri, Sep 10, 2021 at 01:40:03PM -0400, Lou Berger wrote:=0A=
> > >=0A=
> > >> and it references an RFC that says:=0A=
> > >>=0A=
> > >>      This is a 16-bit unsigned integer;=0A=
> > >>      if the data model uses zero (0) to represent NULL values for=0A=
> > >>      unsigned integers, the data model MAY use a different data type=
=0A=
> > >>      that allows differentiation between zero (0) and NULL.=0A=
> > >=0A=
> > > We are talking about RFC 9046? RFC 9046 repeats this sentence several=
=0A=
> > > times but I find it difficult to infer the intended meaning. If 0 is =
a=0A=
> > > legal value, you can't have it represent "NULL" at the same time.=0A=
> >=0A=
> > There are five definitions in the Babel YANG model=0A=
> <https://urldefense.com/v3/__https://www.ietf.org/archive/id/draft-ietf-=
=0A=
> babel-yang-model-=0A=
> 11.html__;!!BhdT!w6VP0VXwBo8HQB7xl29xPqAxO7zHbtal44Pwbxrh6lIs8a04rPj=0A=
> 0rzZ_DACdBQ$ > that use NULL to represent a special meaning.=0A=
> >=0A=
> > With 'babel-route-received-metric', and 'babel-route-calculated-metric'=
=0A=
> values use NULL or 0 to represent that a route was NOT received. A non-ze=
ro=0A=
> value indicates that a route was received and subsequently advertised.=0A=
> >=0A=
> > With 'babel-expo-mcast-hello-seqno', and 'babel-exp-ucast-hello-seqno' =
a=0A=
> value of NULL or 0 is used to represent that a multicast, or unicast hell=
o packets=0A=
> respectively are NOT expected or processing of multicast/unicast packets =
is not=0A=
> enabled. Although not explicit stated, it also means that the sequence nu=
mber=0A=
> cannot be a 0.=0A=
> >=0A=
> > Finally, with 'babel-ucast-hello-seqno' a value of NULL or 0 is used to=
=0A=
> represent a unicast hello is not being sent. A non-zero value reflects th=
e current=0A=
> sequence number in use for unicast hellos. Again, although not explicit, =
it also=0A=
> means that the sequence number cannot be a 0.=0A=
> >=0A=
> > >=0A=
> > > In YANG, we tend to not instantiate leafs that do not have a value.=
=0A=
> > > Anyway, if a YANG author wants to report a special value to indicate=
=0A=
> > > that there is no value, then you have design for it and reserve and=
=0A=
> > > set aside a special value from the number space or use a union.=0A=
> >=0A=
> > This YANG model reserves the value of 0 to indicate that these leafs ar=
e not=0A=
> set or the particular attribute is not enabled.=0A=
> >=0A=
> > Thanks.=0A=
> >=0A=
> > >=0A=
> > > RFC 9046 uses the same text for things like sequence numbers. Skimmin=
g=0A=
> > > RFC 8966, it seems sequence numbers are 16-bit integers:=0A=
> > >=0A=
> > >   Sequence numbers (seqnos) appear in a number of Babel data=0A=
> > >   structures, and they are interpreted as integers modulo 2^(16).=0A=
> > >=0A=
> > > The text in the context makes me believe they are an unsigned 16-bit=
=0A=
> > > integers. If so, there simply is no way to use 0 to indicate that a=
=0A=
> > > sequence number is absent. The problem really might be the text in RF=
C=0A=
> > > 9046.=0A=
=0A=
RFC9046 text is intended to allow and encourage data models to do whatever =
they need to do to ensure they can distinguish between a value of 0 and a N=
ULL value. For example, in BBF TR-181 data model, we use a signed integer f=
or these parameters, where "-1" means "null value" and 0 to 2^16 represent =
actual values. This use of -1 and a signed integer to convey NULL for an un=
signed integer is a convention that has long been defined in TR-181 data mo=
deling rules. OTOH, Babel implementations written in languages like C *are*=
 able to distinguish between a zero-length variable and a zero-value variab=
le -- so their GUIs have no difficulty with this distinction and can simply=
 use an unsigned integer.=0A=
=0A=
Different data modeling languages are likely to each have their own mechani=
sms for handling this -- which means it would have been improper for RFC904=
6 to be proscriptive about *how* a data model should distinguish between nu=
ll and 0. Therefore, the text in RFC9046 merely states that although the na=
tive variable is a 16-bit unsigned integer, it must be possible to indicate=
 null as something distinct from 0. RFC9046 does not dictate how that shoul=
d be accomplished. The data model needs to ensure this distinction exists u=
sing whatever method makes sense or whatever convention exists for that dat=
a modeling language.=0A=
Barbara=0A=
=0A=
_______________________________________________=0A=
netmod mailing list=0A=
netmod@ietf.org=0A=
https://www.ietf.org/mailman/listinfo/netmod=0A=


From nobody Tue Sep 14 04:29:54 2021
Return-Path: <jch@irif.fr>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BBA7A3A176A; Tue, 14 Sep 2021 04:29:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 Sz965qj-tnIE; Tue, 14 Sep 2021 04:29:39 -0700 (PDT)
Received: from korolev.univ-paris7.fr (korolev.univ-paris7.fr [IPv6:2001:660:3301:8000::1:2]) (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 903053A1768; Tue, 14 Sep 2021 04:29:39 -0700 (PDT)
Received: from mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [81.194.30.253]) by korolev.univ-paris7.fr (8.14.4/8.14.4/relay1/82085) with ESMTP id 18EBTTuv020028; Tue, 14 Sep 2021 13:29:29 +0200
Received: from mailhub.math.univ-paris-diderot.fr (localhost [127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTP id A0291F23ED; Tue, 14 Sep 2021 13:29:34 +0200 (CEST)
X-Virus-Scanned: amavisd-new at math.univ-paris-diderot.fr
Received: from mailhub.math.univ-paris-diderot.fr ([127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id IzLCh4_fzo5x; Tue, 14 Sep 2021 13:29:33 +0200 (CEST)
Received: from lanthane.irif.fr (unknown [172.23.36.89]) (Authenticated sender: jch) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTPSA id 22439F23EB; Tue, 14 Sep 2021 13:29:33 +0200 (CEST)
Date: Tue, 14 Sep 2021 13:29:27 +0200
Message-ID: <871r5r2y5k.wl-jch@irif.fr>
From: Juliusz Chroboczek <jch@irif.fr>
To: tom petch <ietfc@btconnect.com>
Cc: "STARK, BARBARA H" <bs7652@att.com>, "'Juergen Schoenwaelder'" <j.schoenwaelder@jacobs-university.de>, "'Mahesh Jethanandani'" <mjethanandani@gmail.com>, "'Babel at IETF'" <babel@ietf.org>, "'netmod@ietf.org'" <netmod@ietf.org>
In-Reply-To: <AM7PR07MB6248BBB558136D1E6F8C1549A0DA9@AM7PR07MB6248.eurprd07.prod.outlook.com>
References: <AM7PR07MB624802516EFB174B6912C5DAA0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <20210910121430.kofyvd2q3ludm2pk@anna.jacobs.jacobs-university.de> <AM7PR07MB62482A4271AF1CA5013EB136A0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <b1b1cd18-537f-561f-dcb1-9aca41b7d3c9@labn.net> <20210910200902.bic4rhyhp75bgsjz@anna.jacobs.jacobs-university.de> <BBC6AA9F-86C1-4A9C-86FD-AD77668CA9D9@gmail.com> <20210913200455.xot7lihpmqiemm5c@anna.jacobs.jacobs-university.de> <DM6PR02MB69248D2780D5C880CC647783C3D99@DM6PR02MB6924.namprd02.prod.outlook.com> <AM7PR07MB6248BBB558136D1E6F8C1549A0DA9@AM7PR07MB6248.eurprd07.prod.outlook.com>
User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.1 Mule/6.0
MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue")
Content-Type: text/plain; charset=US-ASCII
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (korolev.univ-paris7.fr [194.254.61.138]); Tue, 14 Sep 2021 13:29:29 +0200 (CEST)
X-Miltered: at korolev with ID 61408799.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)!
X-j-chkmail-Enveloppe: 61408799.000 from mailhub.math.univ-paris-diderot.fr/mailhub.math.univ-paris-diderot.fr/null/mailhub.math.univ-paris-diderot.fr/<jch@irif.fr>
X-j-chkmail-Score: MSGID : 61408799.000 on korolev.univ-paris7.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000
X-j-chkmail-Status: Ham
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/R5V_dnSgh90VhtQW3xknzV0DV7Q>
Subject: Re: [babel] [netmod]   NULL value for uint16
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Sep 2021 11:29:45 -0000

>> the Babel RFC makes it clear that 0 is a valid value that must not be
>> confused with NULL.

This is true for both seqnos and metrics.  A route with metric 0 is
perfectly valid, and in fact the value 0 is the default for a directly
connected prefix.

-- Juliusz


From nobody Tue Sep 14 06:52:00 2021
Return-Path: <bs7652@att.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B508A3A1F7A; Tue, 14 Sep 2021 06:51:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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=att.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 pzCLZoJT5Jqt; Tue, 14 Sep 2021 06:51:51 -0700 (PDT)
Received: from mx0a-00191d01.pphosted.com (mx0a-00191d01.pphosted.com [67.231.149.140]) (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 8039C3A1F72; Tue, 14 Sep 2021 06:51:51 -0700 (PDT)
Received: from pps.filterd (m0053301.ppops.net [127.0.0.1]) by mx0a-00191d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 18EDiKl8032139; Tue, 14 Sep 2021 09:51:46 -0400
Received: from alpi155.enaf.aldc.att.com (sbcsmtp7.sbc.com [144.160.229.24]) by mx0a-00191d01.pphosted.com with ESMTP id 3b2fe22f9e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Sep 2021 09:51:46 -0400
Received: from enaf.aldc.att.com (localhost [127.0.0.1]) by alpi155.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id 18EDpi2A001104; Tue, 14 Sep 2021 09:51:45 -0400
Received: from zlp27126.vci.att.com (zlp27126.vci.att.com [135.66.87.47]) by alpi155.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id 18EDpcSs001008 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 14 Sep 2021 09:51:39 -0400
Received: from zlp27126.vci.att.com (zlp27126.vci.att.com [127.0.0.1]) by zlp27126.vci.att.com (Service) with ESMTP id 8330F4005955; Tue, 14 Sep 2021 13:51:38 +0000 (GMT)
Received: from MISOUT7MSGEX2CF.ITServices.sbc.com (unknown [135.66.184.212]) by zlp27126.vci.att.com (Service) with ESMTP id 5E1524005953; Tue, 14 Sep 2021 13:51:38 +0000 (GMT)
Received: from MISOUT7MSGEX2DE.ITServices.sbc.com (135.66.184.219) by MISOUT7MSGEX2CF.ITServices.sbc.com (135.66.184.212) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.14; Tue, 14 Sep 2021 09:51:37 -0400
Received: from MISOUT7MSGETA03.tmg.ad.att.com (144.160.12.222) by MISOUT7MSGEX2DE.ITServices.sbc.com (135.66.184.219) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.14 via Frontend Transport; Tue, 14 Sep 2021 09:51:37 -0400
Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.40) by edgeso3.exch.att.com (144.160.12.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.14; Tue, 14 Sep 2021 09:51:37 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R2iwiXqV7Nrqvh2kUBNZsDN2nuOnZgczuW0Jr8ar5R8ydg+DnDJlRXL95P17PUJ3eFuwWwko11W/m7pAJOTgAQ5EV2SOWxBeSAcHjkAey62dSvZo3+qnf2lfFz11OoZNn2covFxCtDaPCytPP6nb+208+x22JiHYI6XrzHtBPnov9RVFydPSNSQkvt9W9ziXPJP0uehTaXSnjhtjaWnoafeN47YVBuDQU6HcQOkQooPso+ivjMKcrvcyu8Nye13DliqxV5XgGEIUEoLLNNHAkqrPr/R7jxyB2qgQHCn7oq9GrrQDq7o0gE3yxvSUt0FdWva5LM0ie2V3YZRvhIhO7Q==
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;  bh=L+HKycR/sOkvoodpjR+aa5gJGw+gn3h3nYgLO0jE65A=; b=DjEMwV/nOHeUPdXUf9RdMXBivtmJ9mc+N/2p4kRnc4KznEoOcYO0BnP3ftLiTe11tN1iUwg+rl/HJM8jXnGaFfeycN/C5rEUtHtRpz93BlFeNhDOUlJ3Dkn83AtwSolkzRvMwYllTTPRTlXPgLjJcUwX9LpmHlp1hCEWwvtBkk8191jOq6NNeWOAoxIP97uLoLLk3V6HVXCezx2QaVRCzkrVRcUbN+NsnsA8Mak+VLwtzG19JwKEojQLOXfwleuOoIQ3gNz91Oaxo9IPGlU0q6HVmtDwdGdlJR9vnH/DxiSejZNrghIX1czcnCp0hhmOwdTy7ilQsnCy2bwEde6N9w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=att.com; dmarc=pass action=none header.from=att.com; dkim=pass header.d=att.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.onmicrosoft.com; s=selector2-att-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=L+HKycR/sOkvoodpjR+aa5gJGw+gn3h3nYgLO0jE65A=; b=hyHYn8AG5oCd9ALc2hJ+r2Io4fS5yr+NgmFTpewJxdDUe6FtIxdjt2V2kXttD0XTAPL1tG7z75Yryl1w75uqidFUd4oNRliu8Q57Wk/7Ql+qbJPBIANUTnC2xtlSRzATVdWOj39/C8F43dT/oRagV//uJlRbHleqLGP3yS8aag8=
Received: from DM6PR02MB6924.namprd02.prod.outlook.com (2603:10b6:5:25f::7) by DM6PR02MB6155.namprd02.prod.outlook.com (2603:10b6:5:1fb::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14; Tue, 14 Sep 2021 13:51:36 +0000
Received: from DM6PR02MB6924.namprd02.prod.outlook.com ([fe80::ddec:9436:4971:5d1e]) by DM6PR02MB6924.namprd02.prod.outlook.com ([fe80::ddec:9436:4971:5d1e%4]) with mapi id 15.20.4523.014; Tue, 14 Sep 2021 13:51:36 +0000
From: "STARK, BARBARA H" <bs7652@att.com>
To: "'tom petch'" <ietfc@btconnect.com>, "'Juergen Schoenwaelder'" <j.schoenwaelder@jacobs-university.de>, "'Mahesh Jethanandani'" <mjethanandani@gmail.com>
CC: "'netmod@ietf.org'" <netmod@ietf.org>, "'Babel at IETF'" <babel@ietf.org>
Thread-Topic: [netmod] [babel]  NULL value for uint16
Thread-Index: AQHXqUiEDT1SO2+3HkGPUisDdYR4/6ujfOXQ
Date: Tue, 14 Sep 2021 13:51:36 +0000
Message-ID: <DM6PR02MB692446F49506791E90B0D23EC3DA9@DM6PR02MB6924.namprd02.prod.outlook.com>
References: <AM7PR07MB624802516EFB174B6912C5DAA0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <20210910121430.kofyvd2q3ludm2pk@anna.jacobs.jacobs-university.de> <AM7PR07MB62482A4271AF1CA5013EB136A0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <b1b1cd18-537f-561f-dcb1-9aca41b7d3c9@labn.net> <20210910200902.bic4rhyhp75bgsjz@anna.jacobs.jacobs-university.de> <BBC6AA9F-86C1-4A9C-86FD-AD77668CA9D9@gmail.com> <20210913200455.xot7lihpmqiemm5c@anna.jacobs.jacobs-university.de> <DM6PR02MB69248D2780D5C880CC647783C3D99@DM6PR02MB6924.namprd02.prod.outlook.com> <AM7PR07MB6248BBB558136D1E6F8C1549A0DA9@AM7PR07MB6248.eurprd07.prod.outlook.com>
In-Reply-To: <AM7PR07MB6248BBB558136D1E6F8C1549A0DA9@AM7PR07MB6248.eurprd07.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: btconnect.com; dkim=none (message not signed) header.d=none;btconnect.com; dmarc=none action=none header.from=att.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 7337d7b5-ea08-41dc-a8c7-08d97786c500
x-ms-traffictypediagnostic: DM6PR02MB6155:
x-microsoft-antispam-prvs: <DM6PR02MB615573DABE87010942A5F7D6C3DA9@DM6PR02MB6155.namprd02.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 15bo2qMaPXgPqqY7ot48EKhkvNmYQNPqLjhCJ7pKsrwWErNj7RuXeexzze6qkNY8bQM/v3Ku2Sog/fmKuPjHPmSElZlXTjvMVVjszVL09adcOUcQ0oe0D9+wacDr+fOhi2VzF+g2t3OYajQQTk9r1yi5cuILgtIjc0cpNy0xaNlQ7Ako5jONYRv06+p08srAouma5eMqaQVab22B+rGg7i3w71e/ZhHoxI9F+ty/9gG4glzoIICNjFhuphaAL3jPs+lX6+66H3jm69oQpmxdORfUtlBzBhUv6QQFs0i+Wr7WK+SZOe7psrJVzijhYYSomerboDgfve4vryx219Tyy2h+1pfJY6YkuMYBM6BckAEmC9HNhrAw5ITGACgqccTdlg9hflLHlLLKk7qnfyD0/YYOqycOVNTpzzkGVaUNZFn0062nGi/svCxlWyHgM5e2HotGS2lADocbNRQZlm75u1BQy3+GCiGqSw4yPycGGRQsU8kdPh6q9bviyzjBcSbPQO7BmdvaOF4L1ZmOnUHBhA+cRIfNps/1U7rMDjTm2L7V7vU9aImKdhxzYXRadwS5LP7yhMu5UyWtl5VbLKdDMJQmLwlV4xHQ9SJa1juqlLEdzMw7Bp8xguDDRKcwAWDE1H384nLZYzeJzucbJaPahy6+RXO0zOVxLbQw8GwWi1vE1SEdO8kYhE4xHlMaBW9KUS3RxER8TRoA5BcgwhHbqfX1u7tNfw00CkmMoRvPZ2ZlazVbrut10k9cbBYJH8QTJ5eH1ZYnOepnqNg5i0MALFV++SGc8qZCy6JWAi8DfgYVA5H/H+nr9IjZhUEjIMR0WOBAAXKuFC7R8LDQJRTZxQX0+fyPVqZO4zc1GJyZOaU=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:DM6PR02MB6924.namprd02.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(396003)(136003)(39860400002)(346002)(366004)(376002)(110136005)(966005)(7696005)(33656002)(478600001)(6506007)(83380400001)(5660300002)(82202003)(4326008)(53546011)(8676002)(52536014)(38070700005)(54906003)(71200400001)(66446008)(122000001)(64756008)(66946007)(8936002)(66574015)(2906002)(26005)(38100700002)(66556008)(186003)(66476007)(9686003)(86362001)(76116006)(316002)(296002)(55016002)(309714004); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?2fe7rLdvT+eqbXM0taxnXaMfiYH9a1JTiLI3P5umksym05j+BbyGEKfRvA?= =?iso-8859-1?Q?/Jz2bv+p+XnauhfACOt3KKGSsvbyL12z5DvcU3Hgisauin4fXABICY+mcu?= =?iso-8859-1?Q?GddAjlEh1yx/5Q/G9EGfanRHrKZzVUcZb7klbq3OnPBo+NOOooXYb+l5An?= =?iso-8859-1?Q?4yKQXYDkAnOsxiOHZbJ0B4KKungI3UWgSruJ8FAPVb3Y2SHZ8qZrfUnq0B?= =?iso-8859-1?Q?7eOMrs+dtUX1hUA6N1be0GnvSr6Te/WEn++wVyr+g33y6SLroRrkpxiMBt?= =?iso-8859-1?Q?4+YWI62999J9RROYidY4IqGdgog99MMLGKaS6+FASqSu+YhzoLPakQ03/K?= =?iso-8859-1?Q?gEbn4NucZZ9BKl76tUUaeJbQFoDJ65ucVobCJONVpqP4yUqyLyjSZZyfRx?= =?iso-8859-1?Q?HOAzfKz6Y9Jfx+zgoqF2bNuHf1qjLoSByQXkoQE3D2wOAoxuMEexPO0RL2?= =?iso-8859-1?Q?oXr+vdvFnWz2H+BgtoDzhHn43om1KHs56xghufADEedFRfpcwf3pNXVy4a?= =?iso-8859-1?Q?O20r3t0d47UHbu07SLbejqPnJH2Gkuavof5wYctxwfY262BGF3BFNHuKCg?= =?iso-8859-1?Q?VDMp/ft8Vk1gRmUQHJMJIjlj9NmBSQU1mpV2ydryf3B15CZvn6Go08fq96?= =?iso-8859-1?Q?sp2qHKitoO2ZFOYP4FqGWyTWjylOrPI8EAVY7I7LH51F8WdHtqJsIO92kG?= =?iso-8859-1?Q?BlOWCBYpduJ2BoaJ0rTWUAGP58A0sXVJiihi5z56EKTcAC1w1CKkQrNkhr?= =?iso-8859-1?Q?+He+pECkO0QwcD46Y242nTRb4RawrM3B2c2Y2lVT+LkrJdzXvp2TVkY67v?= =?iso-8859-1?Q?JiWWMRaxJi1dRPn8P81LEzpBKSaucn/l0idFSR0U7zrQJ/xvgtKljd5aDb?= =?iso-8859-1?Q?A3t0ITXvw6dN4OAS7GONFuglojKKnc3UtTs+mKhbFF8u43GQFvNBK6UvSH?= =?iso-8859-1?Q?nlJK3Aq8Kag2XNv77bxhUNIBHQQxky4samhWfNXkuz5hVkulM5dQ8Bv2DE?= =?iso-8859-1?Q?n8GIUYotl9Gmkj3l9tGpTNQTtFkzTWgaa4cHx3TUQkFC3K0SZXJfheDEWJ?= =?iso-8859-1?Q?w/QTkEn1tnFBr2IIeFrN50j02tD10RBz9S4IZ8tc0o8hGPQcc2thwt4puA?= =?iso-8859-1?Q?54ztldOMz3iULiAsni40j8wlHrfOKO4cz2eOw76YdFGGQ63moTp1F6TNRG?= =?iso-8859-1?Q?FD/y6WrbFHoF0XY+xltnJfH9RDhr/0kukOh7E3UwdHJYgZ5Mk6+UTJvUBu?= =?iso-8859-1?Q?0q9ZFN4g4Mt6nILXCUYSKnCQnk+GPjZTNmMLmjwyhZPtzArxYYW5qFJJ39?= =?iso-8859-1?Q?uhHswxNsKjyZWVvAqSwRYC3vGn2IexZ5QD9NJ5Rxn1WopWc=3D?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DM6PR02MB6924.namprd02.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 7337d7b5-ea08-41dc-a8c7-08d97786c500
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Sep 2021 13:51:36.2590 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: e741d71c-c6b6-47b0-803c-0f3b32b07556
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: Av4dFpwwdzDXE0rOUwG73QPor4IE//DR0BVt+TzqmOxf7nO3H+Zr7Q8yU47UqmZw
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR02MB6155
X-OriginatorOrg: att.com
X-TM-SNTS-SMTP: 59B7EEB38A6A39729CC3A634E11AAE88DB32EB7C5405701FFF958F7FCCFD30392
X-Proofpoint-ORIG-GUID: BjB-UtKKwGJW9YON_aM5FXpec2e5FJ8c
X-Proofpoint-GUID: BjB-UtKKwGJW9YON_aM5FXpec2e5FJ8c
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-09-14_03:2021-09-14, 2021-09-14 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_policy_notspam policy=outbound_policy score=0 bulkscore=0 impostorscore=0 malwarescore=0 mlxscore=0 priorityscore=1501 suspectscore=0 adultscore=0 mlxlogscore=999 phishscore=0 lowpriorityscore=0 clxscore=1011 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109030001 definitions=main-2109140085
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/up2NLx87Fep6i4T5DzZRI5RfZIs>
Subject: Re: [babel] [netmod]   NULL value for uint16
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Sep 2021 13:51:57 -0000

> I seem to be coming into this discussion in the middle, so I hope I'm
> understanding where things are. Comments in-line.
>=20
> > Hi Mahesh,
> >
> > management interface usually do not change protocol semantics (for the
> > simple reason that protocol engines do not necessarily know which
> > management interfaces control them and their peers).
> >
> > Does the Babel RFC reserve the special sequence number 0? If not, does
> > this document formally update the Babel RFC to reserve the sequence
> > number 0? And will implementations and deployments follow on or will
> > we see "old" and "updated" implementations in the wild causing
> > operational trouble?
>=20
> Yes, the Babel RFC makes it clear that 0 is a valid value that must not b=
e
> confused with NULL.
> I have no idea what conventions exist for a YANG model to distinguish bet=
ween
> 0 and NULL in such cases, but merely expressed that the distinction must =
exist.
> Whatever conventions exist within YANG to make this distinction can be us=
ed. It
> sounded from Tom's email that several conventions exist for handling this=
.
> Under no circumstances should this YANG model allow the valid value of ze=
ro to
> be repurposed to mean NULL.
>=20
> <tp>
> Barbara,
>=20
> Apologies for making a mess of raising this issue; I am struggling with w=
ebmail
> and a PC that has a mind of its own such that I cannot send e-mails where=
 I want
> to or even when I want to:-(
>=20
> Anyhow, I agree that the Information model makes it clear the NULL and ze=
ro
> are different.  YANG has no concept of NULL; some languages do, YANG does
> not.  This raises  number of possibilities.
>=20
> One is to deviate from the Information Model and treat zero as NULL but I
> would not expect that to be acceptable.
>=20
> Another it to modify the range by making uint16 into int16 and making a
> negative value represent NULL in this model.  Again, I would not expect t=
hat to
> be acceptable but you could make it a int32 or uint32 with a range restri=
ction
> such that one value means NULL..
>=20
> Another is to make the objects a YANG union of uint16 and something else.
> YANG has a built-in type 'empty' which has no value(!) and so a union of =
uint16
> and empty is probably the closest YANG gets.  A similar approach is a uni=
on of
> uint16 and boolean.  My YANG is not up to the merits of the two approache=
s.  I
> have never been comfortable with 'empty' but there is plenty of it about =
in the
> IETF. By the same token, almost all models have a union in the shape of a=
n ip
> address which is a union of ipv4 address and ipv6 address; a union is som=
ething I
> am comfortable with.
>=20
> I do not know of an exact parallel to what you want to do.  I do see 'nul=
l' as one
> value of the text string in an enumeration which is fine for enumerations=
!  I also
> see the choice/case construct used with one case having a YANG type 'empt=
y'
> which is perhaps the closest if you do not want to use a union.
>=20
> HTH
>=20
> Tom Petch

Hi Tom,
Thanks for making this an issue! I think it's important that we get it righ=
t.
This is something Mahesh and I have discussed several times (and we still a=
pparently didn't get it right).
As I mentioned, BBF TR-181 uses int with range 	-1:65535 with -1 meaning NU=
LL. So I certainly have no issue with that approach. The language in RFC904=
6 was intended to make sure this approach was allowed, since this is how it=
's done in TR-181.
I guess I am a bit surprised to learn that YANG doesn't seem to have a pref=
erred way to handle this. Unfortunately, given my considerable lack of YANG=
 expertise, I can't recommend the "right" way to model this in YANG. I can =
only insist that the model be able to express a value in the range 0 to 2^1=
6 and NULL value for these parameters.=20
Independent of the fact that the words in RFC9046 don't seem to have expres=
sed this perfectly clearly, that is absolutely the intent of those words. I=
 apologize that the RFC9046 words don't seem to be sufficiently clear.=20

Since you do mention the possibility of using -1 for NULL, I'd like to unde=
rstand who might find this approach unacceptable? The language in the infor=
mation model was definitely intended to express the acceptability of using =
this approach from a Babel WG perspective (because I knew that's how it wou=
ld be done in TR-181). Would this be unacceptable to people with YANG exper=
tise? I think my preference would be to use this approach, since it would p=
rovide additional consistency between the TR-181 and YANG models.

Thanks again for raising this issue.
Barbara

> > /js
> >
> > On Mon, Sep 13, 2021 at 12:49:33PM -0700, Mahesh Jethanandani wrote:
> > > [Bringing in babel WG, instead of maintaining two threads]
> > >
> > >
> > > Hi Juergen,
> > >
> > >
> > > > On Sep 10, 2021, at 1:09 PM, J=FCrgen Sch=F6nw=E4lder
> > <j.schoenwaelder@jacobs-university.de> wrote:
> > > >
> > > > On Fri, Sep 10, 2021 at 01:40:03PM -0400, Lou Berger wrote:
> > > >
> > > >> and it references an RFC that says:
> > > >>
> > > >>      This is a 16-bit unsigned integer;
> > > >>      if the data model uses zero (0) to represent NULL values for
> > > >>      unsigned integers, the data model MAY use a different data ty=
pe
> > > >>      that allows differentiation between zero (0) and NULL.
> > > >
> > > > We are talking about RFC 9046? RFC 9046 repeats this sentence sever=
al
> > > > times but I find it difficult to infer the intended meaning. If 0 i=
s a
> > > > legal value, you can't have it represent "NULL" at the same time.
> > >
> > > There are five definitions in the Babel YANG model
> > <https://urldefense.com/v3/__https://www.ietf.org/archive/id/draft-ietf=
-
> > babel-yang-model-
> >
> 11.html__;!!BhdT!w6VP0VXwBo8HQB7xl29xPqAxO7zHbtal44Pwbxrh6lIs8a04rPj
> > 0rzZ_DACdBQ$ > that use NULL to represent a special meaning.
> > >
> > > With 'babel-route-received-metric', and 'babel-route-calculated-metri=
c'
> > values use NULL or 0 to represent that a route was NOT received. A non-=
zero
> > value indicates that a route was received and subsequently advertised.
> > >
> > > With 'babel-expo-mcast-hello-seqno', and 'babel-exp-ucast-hello-seqno=
' a
> > value of NULL or 0 is used to represent that a multicast, or unicast he=
llo
> packets
> > respectively are NOT expected or processing of multicast/unicast packet=
s is
> not
> > enabled. Although not explicit stated, it also means that the sequence =
number
> > cannot be a 0.
> > >
> > > Finally, with 'babel-ucast-hello-seqno' a value of NULL or 0 is used =
to
> > represent a unicast hello is not being sent. A non-zero value reflects =
the
> current
> > sequence number in use for unicast hellos. Again, although not explicit=
, it also
> > means that the sequence number cannot be a 0.
> > >
> > > >
> > > > In YANG, we tend to not instantiate leafs that do not have a value.
> > > > Anyway, if a YANG author wants to report a special value to indicat=
e
> > > > that there is no value, then you have design for it and reserve and
> > > > set aside a special value from the number space or use a union.
> > >
> > > This YANG model reserves the value of 0 to indicate that these leafs =
are not
> > set or the particular attribute is not enabled.
> > >
> > > Thanks.
> > >
> > > >
> > > > RFC 9046 uses the same text for things like sequence numbers. Skimm=
ing
> > > > RFC 8966, it seems sequence numbers are 16-bit integers:
> > > >
> > > >   Sequence numbers (seqnos) appear in a number of Babel data
> > > >   structures, and they are interpreted as integers modulo 2^(16).
> > > >
> > > > The text in the context makes me believe they are an unsigned 16-bi=
t
> > > > integers. If so, there simply is no way to use 0 to indicate that a
> > > > sequence number is absent. The problem really might be the text in =
RFC
> > > > 9046.
>=20
> RFC9046 text is intended to allow and encourage data models to do whateve=
r
> they need to do to ensure they can distinguish between a value of 0 and a=
 NULL
> value. For example, in BBF TR-181 data model, we use a signed integer for=
 these
> parameters, where "-1" means "null value" and 0 to 2^16 represent actual
> values. This use of -1 and a signed integer to convey NULL for an unsigne=
d
> integer is a convention that has long been defined in TR-181 data modelin=
g
> rules. OTOH, Babel implementations written in languages like C *are* able=
 to
> distinguish between a zero-length variable and a zero-value variable -- s=
o their
> GUIs have no difficulty with this distinction and can simply use an unsig=
ned
> integer.
>=20
> Different data modeling languages are likely to each have their own mecha=
nisms
> for handling this -- which means it would have been improper for RFC9046 =
to be
> proscriptive about *how* a data model should distinguish between null and=
 0.
> Therefore, the text in RFC9046 merely states that although the native var=
iable is
> a 16-bit unsigned integer, it must be possible to indicate null as someth=
ing
> distinct from 0. RFC9046 does not dictate how that should be accomplished=
. The
> data model needs to ensure this distinction exists using whatever method =
makes
> sense or whatever convention exists for that data modeling language.
> Barbara
>=20
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/netmod_=
_;
> !!BhdT!z9HMtl5ev04-D11rq22Qye-5_sscMd1C-
> sWwIDBqeMrQ2tPPXauYRZI_wB2KAA$


From nobody Tue Sep 14 09:19:33 2021
Return-Path: <ietfc@btconnect.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9D6CF3A249C; Tue, 14 Sep 2021 09:19:22 -0700 (PDT)
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, 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 G1KhBYGKv01C; Tue, 14 Sep 2021 09:19:17 -0700 (PDT)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80109.outbound.protection.outlook.com [40.107.8.109]) (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 F1F533A119E; Tue, 14 Sep 2021 09:19:16 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DrdGHZ3ZXprlayKtDergF0VqWP1eddoOYio+PTsXnMFtcT6A0M2hN1x6sB0d0GTWmShOZFBomUOYzrmLwMSCTOosnTteEjTxeb6DYu0SOFuPB0NbBtAlhTP02eiXOs0OHzkHEKhmgtdWN7/2X+x41yF5axNFupYaFShprAYxI6ESb8n22rQSVFKuaeVBHUJbcM333GgB3lBhz1n3C++cr1MkBMx3xZ6XEXBEwNunJGhSAgH/Ab2kKw8107CY9cKy033/ewYTs4YM9pEzscOHxePcdsx5MZNChF7hs0Uuop9msgqsjDF8ryY/GkpYVWlxs0KvGGSdJxO1L+ebBBvUFQ==
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;  bh=e2JYipr0+Hhtlc9H4iHnWtcO6TiysCPbsWQnyDQvtuA=; b=hgynUvfYe1sxU51iyrEWw0jFzvlixShxXHPW3S8p989Wqz2G15ZHnHa8Q6CAxf3Ysnusd+9wdIrVCTwYt8hBFtf+aufBWqDsxYN/czRMv7s0WhYNJVTO+s/0fLKG/aWkp3s9dQNtzdjaGTNkUZPpO5zhAu38ZPKead7iOL4NsQcIT2czVt9BXMqS2qD80UVu/PWZK6k4lwzPpqzLcHl0Bz4TNvDC6DLMC4SEarIInKjmpL3s4yH5GxoEyRaK4CiVxjL5YiGPNZ06/Rs7kuVoo9rcKSjL0qcASa1nTgLXdDgik8BYJ8Buo4dvBLrUyYq6ZptXj93D2pd7NUG8PuywGw==
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=e2JYipr0+Hhtlc9H4iHnWtcO6TiysCPbsWQnyDQvtuA=; b=GVVxXpMwXcZ/9SmUvtPARZ4408q6h83kaPKTTlfeM7FEDZaXfbQkeTqC2/Y43N0XP+aFozHVPOzUK30XEO4sK88a1iKRfct41vChtSjtQZalwdCfs+K651gTRExcBRUBHRWClVPAwHhmACHYeQO4rTrO1nzO2lyXivCTt28xV6c=
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com (2603:10a6:20b:134::11) by AS8PR07MB7559.eurprd07.prod.outlook.com (2603:10a6:20b:2a7::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.10; Tue, 14 Sep 2021 16:19:12 +0000
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::b9c8:47dd:34f0:7180]) by AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::b9c8:47dd:34f0:7180%6]) with mapi id 15.20.4523.014; Tue, 14 Sep 2021 16:19:12 +0000
From: tom petch <ietfc@btconnect.com>
To: "STARK, BARBARA H" <bs7652@att.com>, 'Juergen Schoenwaelder' <j.schoenwaelder@jacobs-university.de>, 'Mahesh Jethanandani' <mjethanandani@gmail.com>
CC: "'netmod@ietf.org'" <netmod@ietf.org>, 'Babel at IETF' <babel@ietf.org>
Thread-Topic: [netmod] [babel]  NULL value for uint16
Thread-Index: AQHXqOJ3MzpuFhRZuUevPT04LZqzwqujMa2/gABb0gCAACRTjg==
Date: Tue, 14 Sep 2021 16:19:12 +0000
Message-ID: <AM7PR07MB624862FF91C28631F2729406A0DA9@AM7PR07MB6248.eurprd07.prod.outlook.com>
References: <AM7PR07MB624802516EFB174B6912C5DAA0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <20210910121430.kofyvd2q3ludm2pk@anna.jacobs.jacobs-university.de> <AM7PR07MB62482A4271AF1CA5013EB136A0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <b1b1cd18-537f-561f-dcb1-9aca41b7d3c9@labn.net> <20210910200902.bic4rhyhp75bgsjz@anna.jacobs.jacobs-university.de> <BBC6AA9F-86C1-4A9C-86FD-AD77668CA9D9@gmail.com> <20210913200455.xot7lihpmqiemm5c@anna.jacobs.jacobs-university.de> <DM6PR02MB69248D2780D5C880CC647783C3D99@DM6PR02MB6924.namprd02.prod.outlook.com> <AM7PR07MB6248BBB558136D1E6F8C1549A0DA9@AM7PR07MB6248.eurprd07.prod.outlook.com> <DM6PR02MB692446F49506791E90B0D23EC3DA9@DM6PR02MB6924.namprd02.prod.outlook.com>
In-Reply-To: <DM6PR02MB692446F49506791E90B0D23EC3DA9@DM6PR02MB6924.namprd02.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
suggested_attachment_session_id: 66392eb5-80a8-2aa6-3926-c48f58a3e01d
authentication-results: att.com; dkim=none (message not signed) header.d=none;att.com; dmarc=none action=none header.from=btconnect.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 96fb7b83-cac2-4e42-b100-08d9779b6366
x-ms-traffictypediagnostic: AS8PR07MB7559:
x-microsoft-antispam-prvs: <AS8PR07MB7559DF13C2214688D2C01DE7A0DA9@AS8PR07MB7559.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: DtKOPOxM6BDIhMuZPYhbYb4jPXdxHmbS/8crCbxaDZPJEK1TQU4QQbqZ4iP+8mO+jcGdxgWEhNeySwdZsO9bdqK4p2eQEvKYdKzYb24E8lvD0fVLsUUIXKvmGEwdRkjfYDNoNyZXdVaeGUhnVSEgpFvvF6lTg/Lt7MvtGP1WGxm5bzd1v1/+BvMb9GEsF/4miPvEaBjvoBiMnDlNKKmET/M+F7FBiENO3CbPe9UdpQsAqBzKG8l3/K3ujuDSCgNLGPM1gFB68mZH0Nk/DMCcQuREmGZxUkxvqs4uceDbgO+CmlJLUn/NmTI7cWkaNdHtuJU2CAaXM1sBrFZvjMjTKrDFwdrCJXk7GY4uFBkEZp9/0ixTLq9gymKEc33WyzexNfH46EqySxEUR2JvwmlNmeD/VIHFo0LKvinBM/408hR63fAzNLdyAIISS74yOhRY0OWw9jx0ZMXn/v1tlXLkeG86aDoFuLRIYe9N9FPamm8TYHZI4y2KKMwCI22glqgAGXskl09auObqiT+sMZrNlY/J2fWkB5KGarFsX1DPDXJ/vICpJVk6kcN1WqlPS9G+UO9iRD2T4QWYo003MoJK+eVqSEfUVPuksBbEvXdz3rZ1ZSIe9rY4S+aByq6O01+Zm/sx3p42Q2BTCkR+KIH1Mph05rVKpvQW98OHvuTvT3oxt88nMb/cd1duufitUwA3CkQWYcv2su/ybOyVPxmbrdOLdDw7J3k8xf9lv4Zy73ErbVTmTVQ1rF6y8m+36s9lGdj9ONG2SxaIafiEXcwUxYG957fLXYUepBYpcl2/cxOpdsvRKFZcB7a9TIV9DND6KbQhSDhfnRZYmjU3Eqf8+yqBfvsKnUATYWUnoVB3dvo=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:AM7PR07MB6248.eurprd07.prod.outlook.com; PTR:; CAT:NONE;  SFS:(366004)(396003)(39860400002)(376002)(346002)(136003)(38070700005)(4326008)(26005)(110136005)(316002)(9686003)(54906003)(8676002)(86362001)(8936002)(6506007)(66946007)(7696005)(66476007)(66446008)(66556008)(64756008)(91956017)(76116006)(966005)(66574015)(186003)(55016002)(83380400001)(33656002)(478600001)(2906002)(71200400001)(5660300002)(52536014)(53546011)(30864003)(38100700002)(122000001)(309714004); DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?XsF5yRSkPVkvwF0IIpXOnXxkoXh+Nz7YRXk3dHn8iB8UgxuO3I+jAvwwWc?= =?iso-8859-1?Q?fgZzRCEL839JSF8ERw42SLNa3Hbgw8p3YXbzkibSQJjkqTFRa2Nlxrbny9?= =?iso-8859-1?Q?7DRm7XLOyhiawZgZUvdPL1RA4ncTEczXqz7Roby/LeEUa+mFTgjWyrDZzK?= =?iso-8859-1?Q?apxSezuBeZr0mp44oGFZFjkrN1KyQl7P7rE3pN+9Q0afRF8C7uOT0kNKQ8?= =?iso-8859-1?Q?l7gZVY8IFz9Zw8FvzwRf3En7CU/i0ELcLQXAnSBlbqGVbINGQrCupZUM74?= =?iso-8859-1?Q?TQKOF6Ysy35BJwsjal7SJIQGYWrK0L54Y7CNHBtw7rHdydtC9AxCfJz1pY?= =?iso-8859-1?Q?r0n38rKSrjEVX5VhtC8Gm3tWnqKMLDjuxXjFhpgcFx+bGV8FfDN71BqiLh?= =?iso-8859-1?Q?PF86Re/bo1NKqIk2m2WUrkf2R11+MJOI6gSDpiPrqqtlqDpVQPS1sMu3Z7?= =?iso-8859-1?Q?ztd1yk57OLoKtcfCFFHRpBDL+ICOe6AlLCyGe7kB6mYNfcTa7OJZTaK18g?= =?iso-8859-1?Q?3jx4j9ZxUdmydZoQ3sXSq9kd6FEgDf/6aQ/MMsStFJWd6KEd0iwnr7GWFZ?= =?iso-8859-1?Q?7//Pu+eCGc7Su+E/RGdkNpWBB3nZOM4qxnzN8su1PgYrpPUKq7d+HG1PdI?= =?iso-8859-1?Q?XgzPlprCY/L/m3hJc+g6op9WxjVuNxnvVGGjwP7rb/LNoqPEP+MWrsOR1q?= =?iso-8859-1?Q?9zdP90iiBeft5qeRr1wOphzHpIHcKhW3JOJXq59IZ9saNDSDWZSACl0yRu?= =?iso-8859-1?Q?pse6VXsyLmo6Fc2y/9kp27i4cIn2lQBReV5UIDWCaZsVAhvxm3KFP3K2VT?= =?iso-8859-1?Q?y7hTGrUJESkAIhh3uvwh3OjqHcPU/0LAV9StuIYpI4KzQ9nfxnielnAFkW?= =?iso-8859-1?Q?IMZb36aNxGk9PxvO5BMOaOhh/n/0HVXQ7UyHF/Y+6x2wwHDbrHyvuV0Y9Z?= =?iso-8859-1?Q?PjM+8K1HaY8DaJOKw5BRQPbpgi/L5YH3iRXsiJoJhjIvYOEbGW53ulsk/8?= =?iso-8859-1?Q?fy9wdBJmCNKmMKuKaAiOdGd1rO3hJ99+ZnLvcWme8a4w+UdXV/2G3fEC/j?= =?iso-8859-1?Q?AzUwaRjrUHRE4jbmdxg5EuYdSWU7MDe/GFeJpskTgHATj6KOGPqqaUex5I?= =?iso-8859-1?Q?K33pZDGsNqO4D3wQMHv2BhKWn+z+OBMLjv3DBM/6D1mJ4BVUDvWhCU0y8W?= =?iso-8859-1?Q?/Se5ym6oAK6NLdZwB3BaUxOZLP/SkR6UbG6JwUM0xTZAGmgLryoVxbiP29?= =?iso-8859-1?Q?S467kXMC36SWLa13Nz3Ubrv1abB/4snCL1OwMkigEDwtousJIy8tBdax/5?= =?iso-8859-1?Q?3UkQ3Gas4Bc/xyJvhtifGeXfvPLqg7riW7GV2nIxHusZk7A=3D?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7PR07MB6248.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 96fb7b83-cac2-4e42-b100-08d9779b6366
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Sep 2021 16:19:12.0438 (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: oQSR5KexeAVzG7GctEKnkolDF0uIdlwUtTeXXgWkbdPzo18cUvR5zUEsMf52aD6esI7dfRyuNJzpkRVDBYaXNw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR07MB7559
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/xnADXdNqIP7J38nscaK4Y6ssqm8>
Subject: Re: [babel] [netmod]   NULL value for uint16
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Sep 2021 16:19:23 -0000

<at the end tp2>=0A=
=0A=
From: STARK, BARBARA H <bs7652@att.com>=0A=
Sent: 14 September 2021 14:51=0A=
=0A=
> I seem to be coming into this discussion in the middle, so I hope I'm=0A=
> understanding where things are. Comments in-line.=0A=
>=0A=
> > Hi Mahesh,=0A=
> >=0A=
> > management interface usually do not change protocol semantics (for the=
=0A=
> > simple reason that protocol engines do not necessarily know which=0A=
> > management interfaces control them and their peers).=0A=
> >=0A=
> > Does the Babel RFC reserve the special sequence number 0? If not, does=
=0A=
> > this document formally update the Babel RFC to reserve the sequence=0A=
> > number 0? And will implementations and deployments follow on or will=0A=
> > we see "old" and "updated" implementations in the wild causing=0A=
> > operational trouble?=0A=
>=0A=
> Yes, the Babel RFC makes it clear that 0 is a valid value that must not b=
e=0A=
> confused with NULL.=0A=
> I have no idea what conventions exist for a YANG model to distinguish bet=
ween=0A=
> 0 and NULL in such cases, but merely expressed that the distinction must =
exist.=0A=
> Whatever conventions exist within YANG to make this distinction can be us=
ed. It=0A=
> sounded from Tom's email that several conventions exist for handling this=
.=0A=
> Under no circumstances should this YANG model allow the valid value of ze=
ro to=0A=
> be repurposed to mean NULL.=0A=
>=0A=
> <tp>=0A=
> Barbara,=0A=
>=0A=
> Apologies for making a mess of raising this issue; I am struggling with w=
ebmail=0A=
> and a PC that has a mind of its own such that I cannot send e-mails where=
 I want=0A=
> to or even when I want to:-(=0A=
>=0A=
> Anyhow, I agree that the Information model makes it clear the NULL and ze=
ro=0A=
> are different.  YANG has no concept of NULL; some languages do, YANG does=
=0A=
> not.  This raises  number of possibilities.=0A=
>=0A=
> One is to deviate from the Information Model and treat zero as NULL but I=
=0A=
> would not expect that to be acceptable.=0A=
>=0A=
> Another it to modify the range by making uint16 into int16 and making a=
=0A=
> negative value represent NULL in this model.  Again, I would not expect t=
hat to=0A=
> be acceptable but you could make it a int32 or uint32 with a range restri=
ction=0A=
> such that one value means NULL..=0A=
>=0A=
> Another is to make the objects a YANG union of uint16 and something else.=
=0A=
> YANG has a built-in type 'empty' which has no value(!) and so a union of =
uint16=0A=
> and empty is probably the closest YANG gets.  A similar approach is a uni=
on of=0A=
> uint16 and boolean.  My YANG is not up to the merits of the two approache=
s.  I=0A=
> have never been comfortable with 'empty' but there is plenty of it about =
in the=0A=
> IETF. By the same token, almost all models have a union in the shape of a=
n ip=0A=
> address which is a union of ipv4 address and ipv6 address; a union is som=
ething I=0A=
> am comfortable with.=0A=
>=0A=
> I do not know of an exact parallel to what you want to do.  I do see 'nul=
l' as one=0A=
> value of the text string in an enumeration which is fine for enumerations=
!  I also=0A=
> see the choice/case construct used with one case having a YANG type 'empt=
y'=0A=
> which is perhaps the closest if you do not want to use a union.=0A=
>=0A=
> HTH=0A=
>=0A=
> Tom Petch=0A=
=0A=
Hi Tom,=0A=
Thanks for making this an issue! I think it's important that we get it righ=
t.=0A=
This is something Mahesh and I have discussed several times (and we still a=
pparently didn't get it right).=0A=
As I mentioned, BBF TR-181 uses int with range  -1:65535 with -1 meaning NU=
LL. So I certainly have no issue with that approach. The language in RFC904=
6 was intended to make sure this approach was allowed, since this is how it=
's done in TR-181.=0A=
I guess I am a bit surprised to learn that YANG doesn't seem to have a pref=
erred way to handle this. Unfortunately, given my considerable lack of YANG=
 expertise, I can't recommend the "right" way to model this in YANG. I can =
only insist that the model be able to express a value in the range 0 to 2^1=
6 and NULL value for these parameters.=0A=
Independent of the fact that the words in RFC9046 don't seem to have expres=
sed this perfectly clearly, that is absolutely the intent of those words. I=
 apologize that the RFC9046 words don't seem to be sufficiently clear.=0A=
=0A=
Since you do mention the possibility of using -1 for NULL, I'd like to unde=
rstand who might find this approach unacceptable? The language in the infor=
mation model was definitely intended to express the acceptability of using =
this approach from a Babel WG perspective (because I knew that's how it wou=
ld be done in TR-181). Would this be unacceptable to people with YANG exper=
tise? I think my preference would be to use this approach, since it would p=
rovide additional consistency between the TR-181 and YANG models.=0A=
=0A=
<tp2>=0A=
=0A=
Barbara=0A=
=0A=
I think that the TR-181 approach would be fine in YANG, using int32 in plac=
e of the current uint16 and adding a YANG range constraint and would have t=
he advantage of consistency (assuming that all such leaves are currently ui=
nt16).=0A=
=0A=
I tend to see the use of -1 to stand for something else as the sort of thin=
g I had to do programming assembler or some such because the language did n=
ot have the constructs I wanted i.e. not quite nice.  YANG does have 'empty=
' and so I would see the use of choice/case, with 'empty' as one such, as u=
sed by other authors, as the more proper solution but that would be differe=
nt to TR-181 (which I am not familiar with)..   Swings and roundabouts.   J=
uergen, Lada, Martin and co have greater expertise than I in YANG so I woul=
d defer to their judgement.=0A=
=0A=
Tom Petch=0A=
=0A=
p.s. I find RFC9046 clear:-)=0A=
=0A=
Thanks again for raising this issue.=0A=
Barbara=0A=
=0A=
> > /js=0A=
> >=0A=
> > On Mon, Sep 13, 2021 at 12:49:33PM -0700, Mahesh Jethanandani wrote:=0A=
> > > [Bringing in babel WG, instead of maintaining two threads]=0A=
> > >=0A=
> > >=0A=
> > > Hi Juergen,=0A=
> > >=0A=
> > >=0A=
> > > > On Sep 10, 2021, at 1:09 PM, J=FCrgen Sch=F6nw=E4lder=0A=
> > <j.schoenwaelder@jacobs-university.de> wrote:=0A=
> > > >=0A=
> > > > On Fri, Sep 10, 2021 at 01:40:03PM -0400, Lou Berger wrote:=0A=
> > > >=0A=
> > > >> and it references an RFC that says:=0A=
> > > >>=0A=
> > > >>      This is a 16-bit unsigned integer;=0A=
> > > >>      if the data model uses zero (0) to represent NULL values for=
=0A=
> > > >>      unsigned integers, the data model MAY use a different data ty=
pe=0A=
> > > >>      that allows differentiation between zero (0) and NULL.=0A=
> > > >=0A=
> > > > We are talking about RFC 9046? RFC 9046 repeats this sentence sever=
al=0A=
> > > > times but I find it difficult to infer the intended meaning. If 0 i=
s a=0A=
> > > > legal value, you can't have it represent "NULL" at the same time.=
=0A=
> > >=0A=
> > > There are five definitions in the Babel YANG model=0A=
> > <https://urldefense.com/v3/__https://www.ietf.org/archive/id/draft-ietf=
-=0A=
> > babel-yang-model-=0A=
> >=0A=
> 11.html__;!!BhdT!w6VP0VXwBo8HQB7xl29xPqAxO7zHbtal44Pwbxrh6lIs8a04rPj=0A=
> > 0rzZ_DACdBQ$ > that use NULL to represent a special meaning.=0A=
> > >=0A=
> > > With 'babel-route-received-metric', and 'babel-route-calculated-metri=
c'=0A=
> > values use NULL or 0 to represent that a route was NOT received. A non-=
zero=0A=
> > value indicates that a route was received and subsequently advertised.=
=0A=
> > >=0A=
> > > With 'babel-expo-mcast-hello-seqno', and 'babel-exp-ucast-hello-seqno=
' a=0A=
> > value of NULL or 0 is used to represent that a multicast, or unicast he=
llo=0A=
> packets=0A=
> > respectively are NOT expected or processing of multicast/unicast packet=
s is=0A=
> not=0A=
> > enabled. Although not explicit stated, it also means that the sequence =
number=0A=
> > cannot be a 0.=0A=
> > >=0A=
> > > Finally, with 'babel-ucast-hello-seqno' a value of NULL or 0 is used =
to=0A=
> > represent a unicast hello is not being sent. A non-zero value reflects =
the=0A=
> current=0A=
> > sequence number in use for unicast hellos. Again, although not explicit=
, it also=0A=
> > means that the sequence number cannot be a 0.=0A=
> > >=0A=
> > > >=0A=
> > > > In YANG, we tend to not instantiate leafs that do not have a value.=
=0A=
> > > > Anyway, if a YANG author wants to report a special value to indicat=
e=0A=
> > > > that there is no value, then you have design for it and reserve and=
=0A=
> > > > set aside a special value from the number space or use a union.=0A=
> > >=0A=
> > > This YANG model reserves the value of 0 to indicate that these leafs =
are not=0A=
> > set or the particular attribute is not enabled.=0A=
> > >=0A=
> > > Thanks.=0A=
> > >=0A=
> > > >=0A=
> > > > RFC 9046 uses the same text for things like sequence numbers. Skimm=
ing=0A=
> > > > RFC 8966, it seems sequence numbers are 16-bit integers:=0A=
> > > >=0A=
> > > >   Sequence numbers (seqnos) appear in a number of Babel data=0A=
> > > >   structures, and they are interpreted as integers modulo 2^(16).=
=0A=
> > > >=0A=
> > > > The text in the context makes me believe they are an unsigned 16-bi=
t=0A=
> > > > integers. If so, there simply is no way to use 0 to indicate that a=
=0A=
> > > > sequence number is absent. The problem really might be the text in =
RFC=0A=
> > > > 9046.=0A=
>=0A=
> RFC9046 text is intended to allow and encourage data models to do whateve=
r=0A=
> they need to do to ensure they can distinguish between a value of 0 and a=
 NULL=0A=
> value. For example, in BBF TR-181 data model, we use a signed integer for=
 these=0A=
> parameters, where "-1" means "null value" and 0 to 2^16 represent actual=
=0A=
> values. This use of -1 and a signed integer to convey NULL for an unsigne=
d=0A=
> integer is a convention that has long been defined in TR-181 data modelin=
g=0A=
> rules. OTOH, Babel implementations written in languages like C *are* able=
 to=0A=
> distinguish between a zero-length variable and a zero-value variable -- s=
o their=0A=
> GUIs have no difficulty with this distinction and can simply use an unsig=
ned=0A=
> integer.=0A=
>=0A=
> Different data modeling languages are likely to each have their own mecha=
nisms=0A=
> for handling this -- which means it would have been improper for RFC9046 =
to be=0A=
> proscriptive about *how* a data model should distinguish between null and=
 0.=0A=
> Therefore, the text in RFC9046 merely states that although the native var=
iable is=0A=
> a 16-bit unsigned integer, it must be possible to indicate null as someth=
ing=0A=
> distinct from 0. RFC9046 does not dictate how that should be accomplished=
. The=0A=
> data model needs to ensure this distinction exists using whatever method =
makes=0A=
> sense or whatever convention exists for that data modeling language.=0A=
> Barbara=0A=
>=0A=
> _______________________________________________=0A=
> netmod mailing list=0A=
> netmod@ietf.org=0A=
> https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/netmod_=
_;=0A=
> !!BhdT!z9HMtl5ev04-D11rq22Qye-5_sscMd1C-=0A=
> sWwIDBqeMrQ2tPPXauYRZI_wB2KAA$=0A=


From nobody Tue Sep 14 10:17:42 2021
Return-Path: <J.Schoenwaelder@jacobs-university.de>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 579673A2633; Tue, 14 Sep 2021 10:17:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=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=jacobsuniversity.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 UMQISX69M53F; Tue, 14 Sep 2021 10:17:35 -0700 (PDT)
Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10067.outbound.protection.outlook.com [40.107.1.67]) (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 2DBA23A2632; Tue, 14 Sep 2021 10:17:34 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NBuFjaGE5ULcsBHEeXdI4MXmA6NF3le0+9rhodJjQJvDEJwnsQshXldJc3ub70VttbqsJjyttqAmZ5ERKa3Oe+hd26KuvZysp4FIaTxWB5L/xH5sAgKYDdapWNK3pkFtq5ZKFkI6O2hhUhzntwbO7OHB6v76cRTH51mhjx2CIwSP+T4pyBz2VVBgym+4jCCTl+z+0Qt55pEcLPK8hWjfzu5VT8M8DEPdTox/Q0CWfkP+iEUh0xXhe/frUME49ipQnU6+987qghoLR4vl9x6AxQzu6/lSXPbInxsDehtc5Kw3sT5W8RY5hnWuCrjOAW7hA+kAWXLzu420fKDhzViRgQ==
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;  bh=qTpFe4NOQnfzjgkkALLzcsr2s/dsfmwMrvGPCv9OVTU=; b=VaNXfKCO+OMDYJZL/rAJDEDOAEFN637/D7WWoPcLNiyxmYLl2w20A+5ITxiO58aGD7OzUr/jYbx1WO97fj1s5LzJ9SDEPq1B6jjmMIK185abFWCO19/86cVk3BtQ/U+qiEtAqSZzSOQnULAttswBpQ3iRQJs2snEO+2zd6EmGVDWmCtauUqAoq6NQh+GG36d37ciXjm84m5UIfpRQAH59uj7+kBaQ5oqS1Kw6c1AEXo6qdKcAOi31n2hakvHtiLwzOiuouOPHdA/8ZXn4r3EWDBkQ9mQiiyDqY6iwygaR/JdlHh3BeVEF4u7jeFqFQpjr0usOM65j4k7YblzEx721g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=jacobs-university.de; dmarc=pass action=none header.from=jacobs-university.de; dkim=pass header.d=jacobs-university.de; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jacobsuniversity.onmicrosoft.com; s=selector2-jacobsuniversity-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qTpFe4NOQnfzjgkkALLzcsr2s/dsfmwMrvGPCv9OVTU=; b=U7mVbRebOrK7sqzc4sv0g/gaHpPRtLXixqgxJ4dYbBwaSMedB1Osn2prMIznVc641GlT+NjevG/p8lMrJ+ZNDjSPTu3IPcn0FR2CuWMmfX78GlqEpoIYHnhS1RA7EOppiYK5vRTbgS7ciZ8NIeTE9dISkQp0BWrZiotENvbCUto=
Authentication-Results: att.com; dkim=none (message not signed) header.d=none;att.com; dmarc=none action=none header.from=jacobs-university.de;
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:194::23) by AM9P190MB1172.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:261::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.17; Tue, 14 Sep 2021 17:17:30 +0000
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::6539:572:25dd:e6ab]) by AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::6539:572:25dd:e6ab%7]) with mapi id 15.20.4500.019; Tue, 14 Sep 2021 17:17:30 +0000
Date: Tue, 14 Sep 2021 19:17:29 +0200
From: =?utf-8?B?SsO8cmdlbiBTY2jDtm53w6RsZGVy?= <j.schoenwaelder@jacobs-university.de>
To: "STARK, BARBARA H" <bs7652@att.com>
Cc: 'tom petch' <ietfc@btconnect.com>, 'Mahesh Jethanandani' <mjethanandani@gmail.com>, "'netmod@ietf.org'" <netmod@ietf.org>, 'Babel at IETF' <babel@ietf.org>
Message-ID: <20210914171729.ph5q77zm46z3zvxi@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: "STARK, BARBARA H" <bs7652@att.com>, 'tom petch' <ietfc@btconnect.com>, 'Mahesh Jethanandani' <mjethanandani@gmail.com>, "'netmod@ietf.org'" <netmod@ietf.org>, 'Babel at IETF' <babel@ietf.org>
References: <AM7PR07MB624802516EFB174B6912C5DAA0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <20210910121430.kofyvd2q3ludm2pk@anna.jacobs.jacobs-university.de> <AM7PR07MB62482A4271AF1CA5013EB136A0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <b1b1cd18-537f-561f-dcb1-9aca41b7d3c9@labn.net> <20210910200902.bic4rhyhp75bgsjz@anna.jacobs.jacobs-university.de> <BBC6AA9F-86C1-4A9C-86FD-AD77668CA9D9@gmail.com> <20210913200455.xot7lihpmqiemm5c@anna.jacobs.jacobs-university.de> <DM6PR02MB69248D2780D5C880CC647783C3D99@DM6PR02MB6924.namprd02.prod.outlook.com> <AM7PR07MB6248BBB558136D1E6F8C1549A0DA9@AM7PR07MB6248.eurprd07.prod.outlook.com> <DM6PR02MB692446F49506791E90B0D23EC3DA9@DM6PR02MB6924.namprd02.prod.outlook.com>
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <DM6PR02MB692446F49506791E90B0D23EC3DA9@DM6PR02MB6924.namprd02.prod.outlook.com>
X-ClientProxiedBy: PR1P264CA0010.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:19e::15) To AM0P190MB0641.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:194::23)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from localhost (212.201.44.244) by PR1P264CA0010.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:19e::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14 via Frontend Transport; Tue, 14 Sep 2021 17:17:30 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 16ad0cca-4af8-4403-c071-08d977a388a6
X-MS-TrafficTypeDiagnostic: AM9P190MB1172:
X-MS-Exchange-Transport-Forked: True
X-Microsoft-Antispam-PRVS: <AM9P190MB1172B02C6BF24786DAA85E2CDEDA9@AM9P190MB1172.EURP190.PROD.OUTLOOK.COM>
X-MS-Oob-TLC-OOBClassifiers: OLM:10000;
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: 57l46S+1Hu80XqTbw+c41fnVUW0jpcKvOvCKZ2iXv1wdIYIFVNm9GJmsWMacuWXC/8PLr4cDOg/P3WfEJCS7be8BAIwRdSFsUo1SFmn5CR3AOIFavBtO35YC9/PpSfM7pgXvtumiqRd5ve/6cKpn1G2o/hMCaJ12zTF1T4iNazwJhJL+nRPx/N7BExTZWxC/qmrUH4qpZG9krU23ivRj13/LACl4pVDwjhaErAtGpzchfTcARFAtQXwT2d27Lt0g7wJilDCweyXLkrjaekvfdyib3ZKqbzxgUsY3KoSGxmGMdj7aVuaY6GJYy0u2/VV/nZBkVXeLfkQ26wSOph9P2wR8LHf+jHyiFWxhBFtFjY3vaXCBEdPfzRjcn3wfrsf6n8XpGC2X9TGCibm2F5cmKmCmuipQnU+722fsaA02DKiXUPrhZdLYun0k6TNdhZ8SYV2rKabuhtq/xjWKxb52CGlPAslgMmy46/YPhGDMBVaPl6np4Z3I+aXf8wIvSpj5aatM3neI57N2kljVG/nlQXfwykYV3u29nHojTpV2/up9jm3Jj4kJX9eIASvMKPSKiHxghMQ0MQe98dYCXjEt0Q01IcU+lorzZAOooMy9RMCrl03dcxUNiFWTv018SqZ+VYrkNCATI9zo65ut3kyjT5KBqOEN9OPblvIIx64FT6ki3/HF1MaZ/AYdgT9vkZIlYM3xrlm5djnN+r65I42H3opPMr/+c10nZ0aVcM6vH0lamW5o/y1ghdNl5XLcxkI4vCtwsl4V5RnZijzFx1UiIZ9vCyjgiyktrhud2VxahAs=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:AM0P190MB0641.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE;  SFS:(366004)(136003)(39850400004)(346002)(376002)(396003)(86362001)(38100700002)(85202003)(52116002)(38350700002)(2906002)(956004)(478600001)(66946007)(40140700001)(3450700001)(4326008)(54906003)(66476007)(66556008)(85182001)(316002)(6916009)(26005)(6486002)(8936002)(6496006)(5660300002)(186003)(8676002)(1076003); DIR:OUT; SFP:1101; 
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?alRmY0d1TXdmdXNjeVNyVFU0dWgzV2NhUFFuNnlTd09MbmQ5K1doNFl2QSsw?= =?utf-8?B?MG0zSTc1eU4rbGVSd1BJVEFwV29XNDI1dld0aUV3T29saWlUUGw1NENydjNj?= =?utf-8?B?SDhnU25EZG5RS0p0N2FYMzZZQk93b0toWTdjQjE1MkU1ellIbUZsa095VHh3?= =?utf-8?B?b1plK04yVllGcFQrRUNxTElnbU50VHVBc2Z2UU5kbjdvR3dWQjd2emdxaXhN?= =?utf-8?B?Mko4YkhrYmlVY3NvRTA3TTNEeUpuVlB1LzM5b0k0Y0Yyb2pxM3F0OTRhVWJs?= =?utf-8?B?bEFueVhSeXR0ekVNRTJoNFZ6RWdYRGV6dE9odE5Xd0h6M2hXR3d2VTBOdmdE?= =?utf-8?B?OW9VVWZ2bHV2ZEN0UkhuSllQSkNzMEI4R0ZBNVNUQW5aRmRwT0FTd2x2THNj?= =?utf-8?B?VTJUcHV6dmVMaGNBWTFtTHVwR2F0Z2w4b2NiYkovelJ4clFWWjV5UGZJcWJM?= =?utf-8?B?N2lJMExiMXUyUk5oRlhmS1dhd2R2U0Fjc2o5TVkvSjRQM1F5eEdRWHNPY3hm?= =?utf-8?B?bzhVaWNnV1o1M3VTdEJtakx2WE5vSVdvT2RqS2EwTDNQL3ZvUER4NmhVN0hp?= =?utf-8?B?VXEvZzJCaTV3NUlacWlLTGczdW1JUkY1ZFFXQ2dOK0dKTGVPbVZxUzlUS3lK?= =?utf-8?B?Nk1qVU5IcUNqU2xXWk1iNWdPSWViZ0tjamZ0TUZ1aEtySmhxWkxNU3dvT2xz?= =?utf-8?B?dzg2UWxMTjZRcGE5azRwUWVuZlNwWGFnQ0lnenppaEdPRDJiR05sK1UyR2h3?= =?utf-8?B?TzBOaXkxNU13N1hZS0hWamRybWM0ZTFqN01Ib2tJdGtBcExOQWlIU1d1UWtx?= =?utf-8?B?aU96MzJ0c0wxYXRmUCt3SlB3S3gvR3A2cCtkSjV6YkdZRmRGWFJVZDNSOXk4?= =?utf-8?B?NXFRamJXSHFqcWdGRCt5RDA1Q3hsdzU4d1pIaW03eVQ0WTB4SDRsK042aDhr?= =?utf-8?B?K0g1WlZRdmR4TEpIUHpDUms1aXNWbzVCM0dtYmk0NU4rclZTRWxsTTVaUm5C?= =?utf-8?B?WGt0Y0Z2RHp2Q05OZlVmTjk2Wm9qVitOQ2RYeTZIUUZXOXJnaFBUVlFZbnN0?= =?utf-8?B?enczYWlVUHJzQmVRUWM2OGhYM1ViSHA1T0YyMUEzZ1ZpOFJKZWpSRFZZbytq?= =?utf-8?B?andQenhxbVdocEpnRU1XSjdMcDRGMXZtakVNYVU2L2NWU25kaHp2V0lTbjFw?= =?utf-8?B?VVdXSmpHb1hVZUNxSGd5NE9GUkowdnFqcXB2ZjVCdzdNNjhGanZaSGRTbGpE?= =?utf-8?B?cXQxeGcyT2NJeEs2b3piRU9WWkhBRzkxek9BTXNtNXlBOGVBaFYwaGt5Vzkx?= =?utf-8?B?YUtjREVlaW1YYlBXdFNKcnVyNFhGRkdDdHFYRUNjUGM5NHYweVhkUjU5NGJI?= =?utf-8?B?U1h3ekk5Q0xwWWV2MzhIWWVEQkxXQStaWDVsaDI5REIvNENNcUNXc1g0MEd6?= =?utf-8?B?d0RKWi9LaTRwTGlSdVZuVmMrTG8yeVBDeU56K1R4MTR0RFF4SWhHRzgvSk50?= =?utf-8?B?Sld5MzRuREMrYVZtYVRUMXhDK0tJWVdiZGRIM3lzWEIxU1p6V3ppcm5MUmZI?= =?utf-8?B?eTZvR2FZM1VaUm1wdzR5c240TjdGaFdCNzBuMTNuWTRWNy93N09BbjNZWmNG?= =?utf-8?B?bEgzMnJOajl2Mkk5ZTJXdENpSmlzMnR2b3hDZDFzNGl2T3Znc3ZvaWs1eVhw?= =?utf-8?B?M1Q1YVRaZWVicXo4UWtnKzJLMGNFbDVhek1NTElIUE1pejdydEF3YVM2cDUr?= =?utf-8?Q?de9k9OiFtFMh6Hoa62VjAw6hyun+1x5LJlB1Abk?=
X-OriginatorOrg: jacobs-university.de
X-MS-Exchange-CrossTenant-Network-Message-Id: 16ad0cca-4af8-4403-c071-08d977a388a6
X-MS-Exchange-CrossTenant-AuthSource: AM0P190MB0641.EURP190.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2021 17:17:30.6665 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: f78e973e-5c0b-4ab8-bbd7-9887c95a8ebd
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: FcHBXeXdQqqxFgeTwSqFb5kz6y0NNBpvA8TQEcuOcbJ+ID2iB6to8fqhbAMr4erLjbmShHmk1D9/VMvc9J8ynW7w8hmU1g+0rf1QHKW9kwE=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9P190MB1172
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/5pmXwkxQn9gETYxNdvZyMxU9Z6w>
Subject: Re: [babel] [netmod]   NULL value for uint16
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Sep 2021 17:17:41 -0000

On Tue, Sep 14, 2021 at 01:51:36PM +0000, STARK, BARBARA H wrote:

> As I mentioned, BBF TR-181 uses int with range 	-1:65535 with -1 meaning NULL. So I certainly have no issue with that approach. The language in RFC9046 was intended to make sure this approach was allowed, since this is how it's done in TR-181.
> I guess I am a bit surprised to learn that YANG doesn't seem to have a preferred way to handle this. Unfortunately, given my considerable lack of YANG expertise, I can't recommend the "right" way to model this in YANG. I can only insist that the model be able to express a value in the range 0 to 2^16 and NULL value for these parameters. 
> Independent of the fact that the words in RFC9046 don't seem to have expressed this perfectly clearly, that is absolutely the intent of those words. I apologize that the RFC9046 words don't seem to be sufficiently clear. 
> 
> Since you do mention the possibility of using -1 for NULL, I'd like to understand who might find this approach unacceptable? The language in the information model was definitely intended to express the acceptability of using this approach from a Babel WG perspective (because I knew that's how it would be done in TR-181). Would this be unacceptable to people with YANG expertise? I think my preference would be to use this approach, since it would provide additional consistency between the TR-181 and YANG models.

If other data models use an extended integer range and -1 to indicate
a special case, then this may be a strong reason to do the same in the
IETF YANG data model. Consistency across data models is a value, in
particular for systems that may have to support multiple. While the
conversion of different notations no hard, its one more thing to
potentially get wrong.

If you were starting with a blank sheet of paper, then the YANG idiom
would likely be to use a union of a 16-bit integer and a special
(string) value, which might even be of type empty.

One of the reasons to have no common approach to these kind of
questions is to provide the flexibility needed to do the right thing
in different contexts. Of course, you may want to stay consistent in a
data model or a collection of related data model.

I skimmed RFC 8407 and it seems we do not have text discussion this
specific situation. Perhaps we should have text, perhaps I have
overlooked it. ;-) I think there are different patterns to choose from
to handle this situation with their various pros and cons.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>


From nobody Tue Sep 14 10:37:46 2021
Return-Path: <mjethanandani@gmail.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 958C13A26C4; Tue, 14 Sep 2021 10:37:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level: 
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=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 (2048-bit key) header.d=gmail.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 EO1_v4Wy_H7l; Tue, 14 Sep 2021 10:37:39 -0700 (PDT)
Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D4BBA3A26C5; Tue, 14 Sep 2021 10:37:38 -0700 (PDT)
Received: by mail-pf1-x429.google.com with SMTP id w19so8627539pfn.12; Tue, 14 Sep 2021 10:37:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=xWzc/MOMP2Tq1HhTFxSn9rusQWkJ6OQQ6oUl+zfsn0c=; b=SrSHI9OvHcJ2Piw4zESePWQxkhoEGCcFS8Z8mWr/JN494PqgIbNWxWJ8N7xVukc9Ii ZQaWoZpwoZeWVzs0IYfbb2OMRPAkW5hivRvPU5Upq5ENbL0VPP178dyeDy/PWW/eyPl1 R1oLzUDZl2wXAjYZmjd31oH8MhG/mYTA1IEUMGqVO/4l7AH/0SCtQ/SNoXmGAYzREh2P biZa39+PD5MPuU5ZJJ8+VCsKm8jzMPxV65Mwy/gnAg9Pp0cyDmk5syoSntQc41ulfAd9 kXIc+TQWRA42SwOsHqDGg/1uiAcMh1hVuX9Fj7GhFPNkrkdpmppgqdKfvzUmk3s+g5IT Hqzg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=xWzc/MOMP2Tq1HhTFxSn9rusQWkJ6OQQ6oUl+zfsn0c=; b=xleVrXBBbNNoua9uRPu+bgsYunKBQnUM2Wf5IKeicEHz37nqzhS5zcvxzwc9ADuSQl RtpvOPckEtdn23GYXer4srsMUNGUMfX1hRJCQ6kzqkjNHX0FKTsw0+ak9FliaGhMB3Jv jfQSdfHmla1WPvcvNwcmn0SZJXbw9E5sax8kk5YmeEf74VzlzSAyhgTDGYPHKwZKSWVV 5DCD+o6gwuJ077hbhLWg1FT/aRMz29am2RfqaWqyljE7qxM7YE8lDYjNNrxbbQSe1Y6G JTH9NNn2/gZ1X1LsLpV+n9TNYOyv5vuA9ArW7Khemxo0/jTzO4keAC5EnFVXJuOGusii rb9w==
X-Gm-Message-State: AOAM532vn6BJBxxssJl+X+XYoxuFQ098HeimuNKO/3tpnzOI+BYynTKx edNo2IOZJh68lOgXGqk7LmY=
X-Google-Smtp-Source: ABdhPJyZGGz8JMJKzB0HGkvwn5o464FnJFPee0iqkwTfTkfDcSILggVdCmAyC47MZlytSujbWREPZg==
X-Received: by 2002:a63:cf0c:: with SMTP id j12mr16660325pgg.411.1631641056968;  Tue, 14 Sep 2021 10:37:36 -0700 (PDT)
Received: from [192.168.1.133] (c-69-181-169-15.hsd1.ca.comcast.net. [69.181.169.15]) by smtp.gmail.com with ESMTPSA id b1sm2150897pjl.4.2021.09.14.10.37.35 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Sep 2021 10:37:36 -0700 (PDT)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <5F6A0BF9-06F9-41E9-8B9A-701608875934@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_02468BF9-3886-4684-AC7F-09CBD6556AC0"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
Date: Tue, 14 Sep 2021 10:37:35 -0700
In-Reply-To: <20210914171729.ph5q77zm46z3zvxi@anna.jacobs.jacobs-university.de>
Cc: "STARK, BARBARA H" <bs7652@att.com>, tom petch <ietfc@btconnect.com>, "netmod@ietf.org" <netmod@ietf.org>, Babel at IETF <babel@ietf.org>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
References: <AM7PR07MB624802516EFB174B6912C5DAA0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <20210910121430.kofyvd2q3ludm2pk@anna.jacobs.jacobs-university.de> <AM7PR07MB62482A4271AF1CA5013EB136A0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <b1b1cd18-537f-561f-dcb1-9aca41b7d3c9@labn.net> <20210910200902.bic4rhyhp75bgsjz@anna.jacobs.jacobs-university.de> <BBC6AA9F-86C1-4A9C-86FD-AD77668CA9D9@gmail.com> <20210913200455.xot7lihpmqiemm5c@anna.jacobs.jacobs-university.de> <DM6PR02MB69248D2780D5C880CC647783C3D99@DM6PR02MB6924.namprd02.prod.outlook.com> <AM7PR07MB6248BBB558136D1E6F8C1549A0DA9@AM7PR07MB6248.eurprd07.prod.outlook.com> <DM6PR02MB692446F49506791E90B0D23EC3DA9@DM6PR02MB6924.namprd02.prod.outlook.com> <20210914171729.ph5q77zm46z3zvxi@anna.jacobs.jacobs-university.de>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/zGzp_6gBz8ff09RJNk-hodx6XfY>
Subject: Re: [babel] [netmod]   NULL value for uint16
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Sep 2021 17:37:44 -0000

--Apple-Mail=_02468BF9-3886-4684-AC7F-09CBD6556AC0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi Juergen,

> On Sep 14, 2021, at 10:17 AM, J=C3=BCrgen Sch=C3=B6nw=C3=A4lder =
<j.schoenwaelder@jacobs-university.de> wrote:
>=20
> On Tue, Sep 14, 2021 at 01:51:36PM +0000, STARK, BARBARA H wrote:
>=20
>> As I mentioned, BBF TR-181 uses int with range 	-1:65535 with -1 =
meaning NULL. So I certainly have no issue with that approach. The =
language in RFC9046 was intended to make sure this approach was allowed, =
since this is how it's done in TR-181.
>> I guess I am a bit surprised to learn that YANG doesn't seem to have =
a preferred way to handle this. Unfortunately, given my considerable =
lack of YANG expertise, I can't recommend the "right" way to model this =
in YANG. I can only insist that the model be able to express a value in =
the range 0 to 2^16 and NULL value for these parameters.=20
>> Independent of the fact that the words in RFC9046 don't seem to have =
expressed this perfectly clearly, that is absolutely the intent of those =
words. I apologize that the RFC9046 words don't seem to be sufficiently =
clear.=20
>>=20
>> Since you do mention the possibility of using -1 for NULL, I'd like =
to understand who might find this approach unacceptable? The language in =
the information model was definitely intended to express the =
acceptability of using this approach from a Babel WG perspective =
(because I knew that's how it would be done in TR-181). Would this be =
unacceptable to people with YANG expertise? I think my preference would =
be to use this approach, since it would provide additional consistency =
between the TR-181 and YANG models.
>=20
> If other data models use an extended integer range and -1 to indicate
> a special case, then this may be a strong reason to do the same in the
> IETF YANG data model. Consistency across data models is a value, in
> particular for systems that may have to support multiple. While the
> conversion of different notations no hard, its one more thing to
> potentially get wrong.
>=20
> If you were starting with a blank sheet of paper, then the YANG idiom
> would likely be to use a union of a 16-bit integer and a special
> (string) value, which might even be of type empty.

I hear two suggestions on what the =E2=80=9Cother=E2=80=9D construct =
should be in the union statement. Use =E2=80=98empty=E2=80=99 as you =
suggest, or use =E2=80=98boolean=E2=80=99. Are there any pros/cons for =
either of the approaches?

>=20
> One of the reasons to have no common approach to these kind of
> questions is to provide the flexibility needed to do the right thing
> in different contexts. Of course, you may want to stay consistent in a
> data model or a collection of related data model.
>=20
> I skimmed RFC 8407 and it seems we do not have text discussion this
> specific situation. Perhaps we should have text, perhaps I have
> overlooked it. ;-) I think there are different patterns to choose from
> to handle this situation with their various pros and cons.
>=20
> /js
>=20
> --=20
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>

Mahesh Jethanandani
mjethanandani@gmail.com






--Apple-Mail=_02468BF9-3886-4684-AC7F-09CBD6556AC0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">Hi =
Juergen,<br class=3D""><div><br class=3D""><blockquote type=3D"cite" =
class=3D""><div class=3D"">On Sep 14, 2021, at 10:17 AM, J=C3=BCrgen =
Sch=C3=B6nw=C3=A4lder &lt;<a =
href=3D"mailto:j.schoenwaelder@jacobs-university.de" =
class=3D"">j.schoenwaelder@jacobs-university.de</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div class=3D"">On =
Tue, Sep 14, 2021 at 01:51:36PM +0000, STARK, BARBARA H wrote:<br =
class=3D""><br class=3D""><blockquote type=3D"cite" class=3D"">As I =
mentioned, BBF TR-181 uses int with range <span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>-1:65535 with -1 meaning NULL. So =
I certainly have no issue with that approach. The language in RFC9046 =
was intended to make sure this approach was allowed, since this is how =
it's done in TR-181.<br class=3D"">I guess I am a bit surprised to learn =
that YANG doesn't seem to have a preferred way to handle this. =
Unfortunately, given my considerable lack of YANG expertise, I can't =
recommend the "right" way to model this in YANG. I can only insist that =
the model be able to express a value in the range 0 to 2^16 and NULL =
value for these parameters. <br class=3D"">Independent of the fact that =
the words in RFC9046 don't seem to have expressed this perfectly =
clearly, that is absolutely the intent of those words. I apologize that =
the RFC9046 words don't seem to be sufficiently clear. <br class=3D""><br =
class=3D"">Since you do mention the possibility of using -1 for NULL, =
I'd like to understand who might find this approach unacceptable? The =
language in the information model was definitely intended to express the =
acceptability of using this approach from a Babel WG perspective =
(because I knew that's how it would be done in TR-181). Would this be =
unacceptable to people with YANG expertise? I think my preference would =
be to use this approach, since it would provide additional consistency =
between the TR-181 and YANG models.<br class=3D""></blockquote><br =
class=3D"">If other data models use an extended integer range and -1 to =
indicate<br class=3D"">a special case, then this may be a strong reason =
to do the same in the<br class=3D"">IETF YANG data model. Consistency =
across data models is a value, in<br class=3D"">particular for systems =
that may have to support multiple. While the<br class=3D"">conversion of =
different notations no hard, its one more thing to<br =
class=3D"">potentially get wrong.<br class=3D""><br class=3D"">If you =
were starting with a blank sheet of paper, then the YANG idiom<br =
class=3D"">would likely be to use a union of a 16-bit integer and a =
special<br class=3D"">(string) value, which might even be of type =
empty.<br class=3D""></div></div></blockquote><div><br class=3D""></div>I =
hear two suggestions on what the =E2=80=9Cother=E2=80=9D construct =
should be in the union statement. Use =E2=80=98empty=E2=80=99 as you =
suggest, or use =E2=80=98boolean=E2=80=99. Are there any pros/cons for =
either of the approaches?</div><div><br class=3D""><blockquote =
type=3D"cite" class=3D""><div class=3D""><div class=3D""><br =
class=3D"">One of the reasons to have no common approach to these kind =
of<br class=3D"">questions is to provide the flexibility needed to do =
the right thing<br class=3D"">in different contexts. Of course, you may =
want to stay consistent in a<br class=3D"">data model or a collection of =
related data model.<br class=3D""><br class=3D"">I skimmed RFC 8407 and =
it seems we do not have text discussion this<br class=3D"">specific =
situation. Perhaps we should have text, perhaps I have<br =
class=3D"">overlooked it. ;-) I think there are different patterns to =
choose from<br class=3D"">to handle this situation with their various =
pros and cons.<br class=3D""><br class=3D"">/js<br class=3D""><br =
class=3D"">-- <br class=3D"">Juergen Schoenwaelder =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Jacobs =
University Bremen gGmbH<br class=3D"">Phone: +49 421 200 3587 =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Campus Ring 1 | 28759 =
Bremen | Germany<br class=3D"">Fax: &nbsp;&nbsp;+49 421 200 3103 =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<a =
href=3D"https://www.jacobs-university.de/" =
class=3D"">https://www.jacobs-university.de/</a>&gt;<br =
class=3D""></div></div></blockquote></div><br class=3D""><div class=3D"">
<div dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, =
0); letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D""><div style=3D"color: rgb(0, 0, 0); letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D""><div class=3D"">Mahesh Jethanandani</div><div class=3D""><a =
href=3D"mailto:mjethanandani@gmail.com" =
class=3D"">mjethanandani@gmail.com</a></div><div class=3D""><br =
class=3D""></div></div><br class=3D"Apple-interchange-newline"></div><br =
class=3D"Apple-interchange-newline"><br =
class=3D"Apple-interchange-newline">
</div>
<br class=3D""></body></html>=

--Apple-Mail=_02468BF9-3886-4684-AC7F-09CBD6556AC0--


From nobody Tue Sep 14 10:58:06 2021
Return-Path: <acee@cisco.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 208073A2752; Tue, 14 Sep 2021 10:57:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.598
X-Spam-Level: 
X-Spam-Status: No, score=-9.598 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=TtZXIcEP; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=aPp9a/ni
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 KR0fisUcQFel; Tue, 14 Sep 2021 10:57:44 -0700 (PDT)
Received: from alln-iport-8.cisco.com (alln-iport-8.cisco.com [173.37.142.95]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6634E3A2751; Tue, 14 Sep 2021 10:57:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=16283; q=dns/txt; s=iport; t=1631642264; x=1632851864; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=Sm71xBlBlvOAM3vXxR83MtlEfsUiCX0aZzQBDhv7sC0=; b=TtZXIcEPVxCCTCL8PNFPUWuMAdLQxT58NK7RSFv2chcVzTnAgkpmCROB 0l4PORLTw0GbqB3+pbk7MI1rQWpyqAqrv38TbEBIxu+Odw0E1psgfgA4e XK9gHBs68zKpWJb9X/RxzQL39jrfqR0X42R0QaKguyobvdfydE24kgsP/ o=;
X-IPAS-Result: =?us-ascii?q?A0BfAwDM4UBhl4wNJK1XAx4BAQsSDIM8MFF+WjcxhEeDS?= =?us-ascii?q?AOFOYgHA4ptimyFA4JTA1QLAQEBDQEBMRAEAQGEcwIXgiwCJTgTAQIEAQEBA?= =?us-ascii?q?QMCAwEBAQEFAQEFAQEBAgEGBBQBAQEBAQEBAYEIhWgNhkIBAQEBAxIRHQEBK?= =?us-ascii?q?Q4BDQICAQgOAgEDAQIoAwICAhkGERQJCAIEAQ0FIoJPAYF+VwMvAaYdAYE6A?= =?us-ascii?q?oofeoExgQGCCAEBBgQEhQoNC4I0AwYFgTWCf4QQAQGBGoVTJxyCDYEVJwwQg?= =?us-ascii?q?mc+giCCOwkBDAkRglA2gi6HDmyBCTggD0wiPQUGBS8kkXiDR4honwZeCoMrm?= =?us-ascii?q?HiFZwUhC6cFlhyPfpUxAgQCBAUCDgEBBoF4IoFbcBVlAYI+URkPjiAZg1kzi?= =?us-ascii?q?it0OAIGAQoBAQMJj0YBAQ?=
IronPort-PHdr: A9a23:qTR1xxbSYxGXXXRju691ixj/LTAzhN3EVzX9orIojrtPduKo+JGxd EDc5PA4iljPUM2b7v9fkOPZvujmXnBI+peOtn0OMfkuHx8IgMkbhUosVciCD0CoI/vjbih8F 8NHBxdp+nihOh1TH8DzL1TZvny162sUHRPyfQp4L+j4AMjclcOyguuz4JbUJQ5PgWnVXA==
IronPort-Data: A9a23:rupQNqidZLO8Sgc2FplrjIoKX161RhAKZh0ujC45NGQN5FlHY01je htvXj2COquLZDP3fN0gbtu18U1Sv5LRyYMyGlE5/H8zFi9jpJueD7x1DKtf0wB+jyHnZBg6h ynLQoCYdKjYdpJfz/uUGuCJQUNUjclkfZKhTr6ZUsxNbVU8En552Es/w7RRbrNA2LBVPSvc4 bsenOWHULOV82Yc3rU8sv/rRLtH5ZweiRtA1rAMTakjUGz2yxH5OKkiyZSZdBMUdGX78tmSH I4vxJnhlo/QEoxE5tmNyt4XeWVSKlLe0JTnZnd+A8CfbhZ+SiMa96IpKKICMkZu03aqlIpJl Y52j7XgVlJ8VkHMsLx1vxhwGiV6O+hN/6XKZCf5us2IxEqAeHzpqxlsJBhpZstDpKAuWicXq aRwxDMlNnhvg8q/y7+2YuJtnc8kasLsOevzv1k/kmiEVq18Gcirr6Pi4oF45zoxm+J3OrXwf 5U7WQFSZzHwbEgaUrsQIMtuwLj37pXlSBVepU6QoqYf4mXPwkp2yreFGNDOJYLXH+1cglrer WXDl0zzCxsXMPSexCaLtHW2iYfnn2XgU4IVGbun//NujFCJ7m4aAxocTh6mp/inh1SlWs5Ob UAZkgIrr6Uu9EWtR9/xVhu5iHGBtx8YHdFXFoUHBBqlw67Q5UOSAXIJC2EHY909v8hwTjsvv rOUoz/3LRlroqHNVymcz+/XjjjoAXVOFlUrNTBRGGPp/OLfTJEPYgPnF4g4SfPk0YKrR1kc0 BjR93Bv3eV7YdojkvTlowya31pAs7CUFmYIChPrsnVJB++TTKehY4GugbQwxakddN7DJrVtU YRtpiRzxOkKCZfInyuXTaBSdF1I2xpnGGCH6bKMN8B8n9hIx5JFVdoOiN2ZDBwyWvvogRezP CfuVfp5vfe/xkdGiJObharsV6zGKoC+SbzYugz8NbKin7AoLlbcpXEyDaJu9z+zwCDAbp3Ty b/CIZrzUh72+IxMzSG9QK8mwKQ3yyUlrV4/triqlkj8juf2WZJhcp9caAHmRrlgtMus+VyJm /4CZ5ri40gOC4XWP3iImaZNdgpiBSZgWvjLRzl/K7frzvxOQzp6VZc8ANoJJuRYokiivryUp yrsBhABkwOXaL+uAVziV02PoYjHBf5XxU/X9wR1Vbp08xDPubqS0Zo=
IronPort-HdrOrdr: A9a23:Yc7fdapylAPNa6Y0RIFRKwgaV5tyLNV00zEX/kB9WHVpm5Oj9v xGzc506farslkssSkb6K+90KnpewK6yXcH2/huAV7CZninhILMFuFfBOTZskbd8kHFh4tgPO JbAtRD4b7LfBtHZKTBkXOF+r8bqbHtms3F9ISurUuFDzsaFp2IhD0JbDpzZ3cGPDWucqBJba Z0iPA3wwaISDAyVICWF3MFV+/Mq5ngj5T9eyMLABYh9U2nkS6owKSSKWnb4j4uFxd0hZsy+2 nMlAL0oo+5teug9xPa32jPq7xLhdrazMdZDsDksLlRFtyssHftWG1SYczFgNkHmpD31L/sqq iVn/4UBbU115oWRBDvnfKi4Xi77N9k0Q6S9bbRuwqSnSW+fkNmNyKE7rgpLScwLCEbzY1BOe twrhCkX9A8N2KyoA3to9fPTB1kjUyyvD4rlvMSlWVWVc8EZKZWtpF3xjIYLH4sJlOx1GkcKp giMCgc3ochTXqKK3TC+mV/yt2lWXo+Wh+AX0gZo8SQlzxbhmpwwUcUzNEW2i5ozuNyd7BUo+ Dfdqh4nrBHScEbKap7GecaWMOyTmjAWwjFPm6eKUnuUKsHJ3XOoZjq56hd3pDkRLUYiJ8p3J jRWlJRsmA/P0roFM2VxZVOtgvARW2sNA6dgf22J6IJ8oEUYYCbcBFrZGpe5/dIks9vS/EzAc zDTa6+K8WTWlfTJQ==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="5.85,292,1624320000";  d="scan'208,217";a="771533200"
Received: from alln-core-7.cisco.com ([173.36.13.140]) by alln-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 14 Sep 2021 17:57:42 +0000
Received: from mail.cisco.com (xbe-aln-006.cisco.com [173.36.7.21]) by alln-core-7.cisco.com (8.15.2/8.15.2) with ESMTPS id 18EHvgR5013252 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=OK); Tue, 14 Sep 2021 17:57:42 GMT
Received: from xfe-aln-004.cisco.com (173.37.135.124) by xbe-aln-006.cisco.com (173.36.7.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Tue, 14 Sep 2021 12:57:42 -0500
Received: from xfe-rcd-004.cisco.com (173.37.227.252) by xfe-aln-004.cisco.com (173.37.135.124) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Tue, 14 Sep 2021 12:57:42 -0500
Received: from NAM12-MW2-obe.outbound.protection.outlook.com (72.163.14.9) by xfe-rcd-004.cisco.com (173.37.227.252) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15 via Frontend Transport; Tue, 14 Sep 2021 12:57:42 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fEwHr/rrpiC0FAwLKLgMwebFQu/nsCnwWspMXvhHRlPtkY0TuEdR0jpmXD87xbZJSpUJa3/EWK/Z3neg3NxsDviK8Nwl7Cgkt5sld91uQ0qHAcRvRW0J5s+TXSeEQmIZ3d8a90hQE/jyg6foZ1lWlVGjGYz0OmHf+8AQycqH4j8bCVfyL4WfvipRy2WuOxNfrnkZZp3vcSE5ggDw6lTL5dkmCD+2LV9Y4PqOKeZYb0ijBKbTK0Z4d7nSTqmjrz2XxXUfLP+c/LiZfbKx8u5wEm6ZHbjJjuODtWm16+uorxzEpbR76zSelmBmjf3wHncqnGyCQtwjhs1+TH9vSLCxMA==
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;  bh=Sm71xBlBlvOAM3vXxR83MtlEfsUiCX0aZzQBDhv7sC0=; b=lL8w1cQNOu4t17zzQmyxawpRYE54l6LjmaH+zW/HWxJYqkDhOo3ggJAtPncURV68OZvNRP1bOGAxjsntC3leU7XZKhKgKn35Uu6L30aP1rmAOiboO6sTbD1jBctJHGKrQBoo/M3ogcKfdRAU1bSeef5X+asC9HpLBzWkPt9m0joUe/Roj+okAkUrAO6KyVEvsR5zEL2F/IvjKJ0Heip9pi65W9ZwxNbN7ARKgLsU3HtegWWT/XIZkIg+e9mAMbM9J410MMd8q7FkzXu8/iiEB4/mzTAdy/+DNQH8sO6Q9Zj03zeIscQcYOSB+S4NQzWebbgvURDPXbxY3Tirg4UmFg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com;  s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Sm71xBlBlvOAM3vXxR83MtlEfsUiCX0aZzQBDhv7sC0=; b=aPp9a/ni+xOVdZ197Cf0K8Bl1RdY2jsx0aGADO8pZW1AjVwioRAS3tBoK9JoNgExZ2iIfs2iY+50RTzRw+zTzXOfnk+osEO2sX22eUSs3IFBbJWoYh4M2OJevUff9q29vK+P/u5Z54287yyC8gaT49T5k2ePCi8UadUF85L0xu4=
Received: from BYAPR11MB2887.namprd11.prod.outlook.com (2603:10b6:a03:89::27) by BYAPR11MB2613.namprd11.prod.outlook.com (2603:10b6:a02:cd::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14; Tue, 14 Sep 2021 17:57:41 +0000
Received: from BYAPR11MB2887.namprd11.prod.outlook.com ([fe80::803a:daa9:adda:104b]) by BYAPR11MB2887.namprd11.prod.outlook.com ([fe80::803a:daa9:adda:104b%7]) with mapi id 15.20.4500.019; Tue, 14 Sep 2021 17:57:41 +0000
From: "Acee Lindem (acee)" <acee@cisco.com>
To: Mahesh Jethanandani <mjethanandani@gmail.com>, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
CC: Babel at IETF <babel@ietf.org>, "STARK, BARBARA H" <bs7652@att.com>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] [babel]  NULL value for uint16
Thread-Index: AQHXqOJ671vd/8H4pUOlGvTgNFtRqqujPyUAgABOWgCAADmGgIAABZ6A///CjAA=
Date: Tue, 14 Sep 2021 17:57:40 +0000
Message-ID: <ED63E978-500D-4E7E-8422-8F5308416942@cisco.com>
References: <AM7PR07MB624802516EFB174B6912C5DAA0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <20210910121430.kofyvd2q3ludm2pk@anna.jacobs.jacobs-university.de> <AM7PR07MB62482A4271AF1CA5013EB136A0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <b1b1cd18-537f-561f-dcb1-9aca41b7d3c9@labn.net> <20210910200902.bic4rhyhp75bgsjz@anna.jacobs.jacobs-university.de> <BBC6AA9F-86C1-4A9C-86FD-AD77668CA9D9@gmail.com> <20210913200455.xot7lihpmqiemm5c@anna.jacobs.jacobs-university.de> <DM6PR02MB69248D2780D5C880CC647783C3D99@DM6PR02MB6924.namprd02.prod.outlook.com> <AM7PR07MB6248BBB558136D1E6F8C1549A0DA9@AM7PR07MB6248.eurprd07.prod.outlook.com> <DM6PR02MB692446F49506791E90B0D23EC3DA9@DM6PR02MB6924.namprd02.prod.outlook.com> <20210914171729.ph5q77zm46z3zvxi@anna.jacobs.jacobs-university.de> <5F6A0BF9-06F9-41E9-8B9A-701608875934@gmail.com>
In-Reply-To: <5F6A0BF9-06F9-41E9-8B9A-701608875934@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/16.52.21080801
authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=cisco.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 0a7b700f-891b-4549-fffa-08d977a92578
x-ms-traffictypediagnostic: BYAPR11MB2613:
x-microsoft-antispam-prvs: <BYAPR11MB261380F6ECD9D49FBE916746C2DA9@BYAPR11MB2613.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: e1V3hvWs9Sfi8TvkrPUi04M+xxI9195p0e3hT5BPjKlscHizzAI+jsHIzgJ+goRJ+mTe64iMigZys/6Zy8pp5vQdgdEv/VIN8cV8kZHPr14SplrnHfwR3pYnLe55InYrcODauG6L3ZmumYgi1zO5ji9uTJjmWo5VaFYZMZ66Nig201fOn64RPbgGp9Vz+MIFx/c9XkCyuHQ/NtFrjaswh1L6pzmBmcJdU1KG7op55ZcLoPvwtuOgKRkp5Na5213P2EvyiYCY9TKadLKq81FI2lZsDqlN6rdyAgohN8lBT0Lc5rtGNjvcvxyB6O8te8OPwEB0Gza08GCucyvTAX9beTO9gycWNoSnYYvXdPF6itnuK6igIl/olrj4XtJxMiVJoehPgzaQxeW9Gh8Tq8AiJSpQsq8FPY5j2kqH8SusxjeUdKk6d7W8tpSSSu5g9iu7UCdL8AHZs0kxJ7NVKiAsJX9lLqWVA1nsCEvVhHOaMiP00e4z2R8lvt6VATjzLFrYtHNKNAoog595hmcH2OYKD7NcU55aJWX7AoouRLMvR6m1yiuP9TWknp3Puv6x6hjDnBNlfyMG02C9l3of2GLLd6VDd+KrCXCpu7gnQ1N3G547A8aAS4WqxUTkSTh5wwo3si/OMSH4ilCUDMvyWL2ram4bHZ6OfaPmb/hvaB2FoEI/NkwclFIr88jWX1ocudtW6l/wraB7FzSCzW0wjAnJdyz/wNFoPc4fMdB+FLI3yK877kJmyhmMGG8LX4buN3pFc3qjToZiGZvLSQtKAzjoO+ZX4TEivF59TFjHG0NINu+phKlOhty1yNo+DHf4h7G5CLCwKUw8aQk1LCXVp3R7Rg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:BYAPR11MB2887.namprd11.prod.outlook.com; PTR:; CAT:NONE;  SFS:(39860400002)(366004)(346002)(396003)(136003)(376002)(71200400001)(6506007)(86362001)(186003)(38100700002)(122000001)(36756003)(40140700001)(33656002)(2906002)(53546011)(5660300002)(6486002)(478600001)(2616005)(64756008)(66574015)(76116006)(66946007)(166002)(66446008)(6512007)(316002)(66556008)(8676002)(54906003)(66476007)(110136005)(8936002)(38070700005)(4326008)(45980500001); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?VldaeFdOSG1JdGQ1c3hPYVAwWUVFQnRNSFphMk85Mk8xQUFYNmkvVVVBejVI?= =?utf-8?B?cTZ0TUpoMXlBMUVvZ1l2Wm1EL2NRaE5XdVB5V3V6QWZrZXp0b2ZKb1V1cEU3?= =?utf-8?B?VHFNeVBYaGV1RmNjUzFKQXFmbG9QOEVJUXB1MDJ6SHFGWXMvb3Q2Nm5sMkNj?= =?utf-8?B?UEF2Qm1iNVZBOC9nbWNVZTRyMG4xdWJmbzA4VjFSbkZhUDR0cjlNaUNxeEhy?= =?utf-8?B?RjdwVTJubEFFWUlXMmZML1pCOWJSV2xSKzFpZ00vYmxwZFJIU08xTmtIMUNP?= =?utf-8?B?MXROS1MwVXQvV0NBdWYwN2ZwL3RHWTV6ZlZXRm9ZcXYzRXFINHQzK2graGJz?= =?utf-8?B?blRSdWtMSU9RWVc0WTdjK1JremVOWEFVQlJNR2UwYUovTG9EUWR5ZS8zVnFD?= =?utf-8?B?bGNWNmkrZ1BFc2xkZlBaSEhzWmZYYk0vM0J6d0IraVJRNnVWbHA0N1E2OWNl?= =?utf-8?B?NmFSRWNHc3dkN0xlMW9HaWhXZ0lpWGl6OGZVZUtjaysxYkdldWZpNjNIOFRz?= =?utf-8?B?ckJ2VmtaWjBQSTB1NEpYbktlays2S3ZNbzN0M3BHUDFzZXNzR2thZXdLYkxB?= =?utf-8?B?L0RBT2t3aDA3dWZrLzEvYmFOckRRUUhYVS9vMzU0N0paOU4wOGhyOWZKanN0?= =?utf-8?B?TmY2V0xEZTNBTDJwbXdRSk9KSHJDZ0pGSkVPTnU0dUJWbEtuUWpJc1RPQXNQ?= =?utf-8?B?KzRKOXBDNVNiY1FXRGI3d1I3UkxsbERyYXZpRG5tSE1jbW9LV2ZGaGZYeS9h?= =?utf-8?B?aEx3bHp0TjF3UWt4aGI1c0ZwYWF2RDd4ZWlQRE50VmVqZHMrbU81aDEwZ0Fi?= =?utf-8?B?VHo5bHl4YVhvM2ZzVUhjVkRtWTZIenNLUDRNbTQ3ajZMWXUrZW5zRUJ2bC85?= =?utf-8?B?cEJQTWo2ZWsrR0tHQ21nQ0pWdW5DRHJFaWtSYU1xdk1EaGdCL3haOFlVR2hv?= =?utf-8?B?dUFlTUVhMFlQUldTTTJKeXdWRVNSQTgra08zbWVlNlhjaTdPdkVySXFIRmtj?= =?utf-8?B?d0YvQmNNSEwzSUlOUzRNTzdMY091Mk51aFJQUVBhb3hjMmNiQzg3cHVER1JC?= =?utf-8?B?V21pNjVGdkRuQ0FuUTRaMUgvNXgyY01ranpySjIvTDlvR3AybW04R204bFhE?= =?utf-8?B?WTdZcUJvQmNKdVN6WTlOZXd4em40M2tzN2x5TnZVWVpCWFVGUkNsMUtwWVZo?= =?utf-8?B?UDc5VVdKKy9Ob3pvSlgrb05uYzJDTzRYNE1aVmFndzVCQmkvM3V1ZmJ6UDNy?= =?utf-8?B?c1Q4TlM0eEZLTXZIc1BnK0xLd3BwcmRGbTNPWUVRekNtWUt2WHpsZDZ3OGg1?= =?utf-8?B?NnRITTJodlEvZUJDZzU1UWFNZ0VBeXlwMHlwblBQN0Z3dGlGK0kwZHdPci9K?= =?utf-8?B?YmtqN09BdEJXUnhUdUFkdEdLaVpRaFBsVjdTVTFJanROSnhRMHhSckd4NXJX?= =?utf-8?B?aUppVXpNczFVWjlSWmphZk5kRFNLK05LNS9HamhuL3YzcDMxZGVMUk4vbEZF?= =?utf-8?B?cGl3eU9nNzdSdGxJaXdFTjZFZ01ZUmFzQ2wxVmxEWXRJcm96ZjBlT01lR25k?= =?utf-8?B?anFacFdNbHR2Wml4WU9qcWhxdzYvTjlSbFAvT2dwV2NlZkE2OUc0SVRSbW9W?= =?utf-8?B?NXhPSE1wbDRnRVplZUdXTEVsL3ppREZpa0tIMjBRQkNKd0xZQUowOHc1SXpy?= =?utf-8?B?SEtmMUZ5Q1BWNlBZRTM0WnlHRllncTdIcE56azZ5WDFtb1BXVjBMNTlFNHp0?= =?utf-8?B?VE5Ka2F0Ukp4SHp5QkluUjlMekxCRzg2OWNQTmRmVG9iK2txZkNIQmVpQmxZ?= =?utf-8?Q?K3+Ek3dqz0Yx+v+3avujweC7j9dlbQ6XQ2+g0=3D?=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_ED63E978500D4E7E84228F5308416942ciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB2887.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 0a7b700f-891b-4549-fffa-08d977a92578
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Sep 2021 17:57:40.9392 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: UCqYaH8l5VFx4emR0Cx8HwI5+QQhEHX+lxh7qiZX3OeclbFySI32eFHF6F5SxQ0D
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB2613
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.21, xbe-aln-006.cisco.com
X-Outbound-Node: alln-core-7.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/0zO3A3324NSwZ2Bu1sg3dc1tYmY>
Subject: Re: [babel] [netmod]   NULL value for uint16
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Sep 2021 17:57:51 -0000

--_000_ED63E978500D4E7E84228F5308416942ciscocom_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

QWxsLA0KDQpGcm9tOiBuZXRtb2QgPG5ldG1vZC1ib3VuY2VzQGlldGYub3JnPiBvbiBiZWhhbGYg
b2YgTWFoZXNoIEpldGhhbmFuZGFuaSA8bWpldGhhbmFuZGFuaUBnbWFpbC5jb20+DQpEYXRlOiBU
dWVzZGF5LCBTZXB0ZW1iZXIgMTQsIDIwMjEgYXQgMTozOCBQTQ0KVG86IEp1ZXJnZW4gU2Nob2Vu
d2FlbGRlciA8ai5zY2hvZW53YWVsZGVyQGphY29icy11bml2ZXJzaXR5LmRlPg0KQ2M6IEJhYmVs
IGF0IElFVEYgPGJhYmVsQGlldGYub3JnPiwgIlNUQVJLLCBCQVJCQVJBIEgiIDxiczc2NTJAYXR0
LmNvbT4sICJuZXRtb2RAaWV0Zi5vcmciIDxuZXRtb2RAaWV0Zi5vcmc+DQpTdWJqZWN0OiBSZTog
W25ldG1vZF0gW2JhYmVsXSBOVUxMIHZhbHVlIGZvciB1aW50MTYNCg0KSGkgSnVlcmdlbiwNCg0K
DQpPbiBTZXAgMTQsIDIwMjEsIGF0IDEwOjE3IEFNLCBKw7xyZ2VuIFNjaMO2bnfDpGxkZXIgPGou
c2Nob2Vud2FlbGRlckBqYWNvYnMtdW5pdmVyc2l0eS5kZTxtYWlsdG86ai5zY2hvZW53YWVsZGVy
QGphY29icy11bml2ZXJzaXR5LmRlPj4gd3JvdGU6DQoNCk9uIFR1ZSwgU2VwIDE0LCAyMDIxIGF0
IDAxOjUxOjM2UE0gKzAwMDAsIFNUQVJLLCBCQVJCQVJBIEggd3JvdGU6DQoNCg0KQXMgSSBtZW50
aW9uZWQsIEJCRiBUUi0xODEgdXNlcyBpbnQgd2l0aCByYW5nZSAtMTo2NTUzNSB3aXRoIC0xIG1l
YW5pbmcgTlVMTC4gU28gSSBjZXJ0YWlubHkgaGF2ZSBubyBpc3N1ZSB3aXRoIHRoYXQgYXBwcm9h
Y2guIFRoZSBsYW5ndWFnZSBpbiBSRkM5MDQ2IHdhcyBpbnRlbmRlZCB0byBtYWtlIHN1cmUgdGhp
cyBhcHByb2FjaCB3YXMgYWxsb3dlZCwgc2luY2UgdGhpcyBpcyBob3cgaXQncyBkb25lIGluIFRS
LTE4MS4NCkkgZ3Vlc3MgSSBhbSBhIGJpdCBzdXJwcmlzZWQgdG8gbGVhcm4gdGhhdCBZQU5HIGRv
ZXNuJ3Qgc2VlbSB0byBoYXZlIGEgcHJlZmVycmVkIHdheSB0byBoYW5kbGUgdGhpcy4gVW5mb3J0
dW5hdGVseSwgZ2l2ZW4gbXkgY29uc2lkZXJhYmxlIGxhY2sgb2YgWUFORyBleHBlcnRpc2UsIEkg
Y2FuJ3QgcmVjb21tZW5kIHRoZSAicmlnaHQiIHdheSB0byBtb2RlbCB0aGlzIGluIFlBTkcuIEkg
Y2FuIG9ubHkgaW5zaXN0IHRoYXQgdGhlIG1vZGVsIGJlIGFibGUgdG8gZXhwcmVzcyBhIHZhbHVl
IGluIHRoZSByYW5nZSAwIHRvIDJeMTYgYW5kIE5VTEwgdmFsdWUgZm9yIHRoZXNlIHBhcmFtZXRl
cnMuDQpJbmRlcGVuZGVudCBvZiB0aGUgZmFjdCB0aGF0IHRoZSB3b3JkcyBpbiBSRkM5MDQ2IGRv
bid0IHNlZW0gdG8gaGF2ZSBleHByZXNzZWQgdGhpcyBwZXJmZWN0bHkgY2xlYXJseSwgdGhhdCBp
cyBhYnNvbHV0ZWx5IHRoZSBpbnRlbnQgb2YgdGhvc2Ugd29yZHMuIEkgYXBvbG9naXplIHRoYXQg
dGhlIFJGQzkwNDYgd29yZHMgZG9uJ3Qgc2VlbSB0byBiZSBzdWZmaWNpZW50bHkgY2xlYXIuDQoN
ClNpbmNlIHlvdSBkbyBtZW50aW9uIHRoZSBwb3NzaWJpbGl0eSBvZiB1c2luZyAtMSBmb3IgTlVM
TCwgSSdkIGxpa2UgdG8gdW5kZXJzdGFuZCB3aG8gbWlnaHQgZmluZCB0aGlzIGFwcHJvYWNoIHVu
YWNjZXB0YWJsZT8gVGhlIGxhbmd1YWdlIGluIHRoZSBpbmZvcm1hdGlvbiBtb2RlbCB3YXMgZGVm
aW5pdGVseSBpbnRlbmRlZCB0byBleHByZXNzIHRoZSBhY2NlcHRhYmlsaXR5IG9mIHVzaW5nIHRo
aXMgYXBwcm9hY2ggZnJvbSBhIEJhYmVsIFdHIHBlcnNwZWN0aXZlIChiZWNhdXNlIEkga25ldyB0
aGF0J3MgaG93IGl0IHdvdWxkIGJlIGRvbmUgaW4gVFItMTgxKS4gV291bGQgdGhpcyBiZSB1bmFj
Y2VwdGFibGUgdG8gcGVvcGxlIHdpdGggWUFORyBleHBlcnRpc2U/IEkgdGhpbmsgbXkgcHJlZmVy
ZW5jZSB3b3VsZCBiZSB0byB1c2UgdGhpcyBhcHByb2FjaCwgc2luY2UgaXQgd291bGQgcHJvdmlk
ZSBhZGRpdGlvbmFsIGNvbnNpc3RlbmN5IGJldHdlZW4gdGhlIFRSLTE4MSBhbmQgWUFORyBtb2Rl
bHMuDQoNCklmIG90aGVyIGRhdGEgbW9kZWxzIHVzZSBhbiBleHRlbmRlZCBpbnRlZ2VyIHJhbmdl
IGFuZCAtMSB0byBpbmRpY2F0ZQ0KYSBzcGVjaWFsIGNhc2UsIHRoZW4gdGhpcyBtYXkgYmUgYSBz
dHJvbmcgcmVhc29uIHRvIGRvIHRoZSBzYW1lIGluIHRoZQ0KSUVURiBZQU5HIGRhdGEgbW9kZWwu
IENvbnNpc3RlbmN5IGFjcm9zcyBkYXRhIG1vZGVscyBpcyBhIHZhbHVlLCBpbg0KcGFydGljdWxh
ciBmb3Igc3lzdGVtcyB0aGF0IG1heSBoYXZlIHRvIHN1cHBvcnQgbXVsdGlwbGUuIFdoaWxlIHRo
ZQ0KY29udmVyc2lvbiBvZiBkaWZmZXJlbnQgbm90YXRpb25zIG5vIGhhcmQsIGl0cyBvbmUgbW9y
ZSB0aGluZyB0bw0KcG90ZW50aWFsbHkgZ2V0IHdyb25nLg0KDQpJZiB5b3Ugd2VyZSBzdGFydGlu
ZyB3aXRoIGEgYmxhbmsgc2hlZXQgb2YgcGFwZXIsIHRoZW4gdGhlIFlBTkcgaWRpb20NCndvdWxk
IGxpa2VseSBiZSB0byB1c2UgYSB1bmlvbiBvZiBhIDE2LWJpdCBpbnRlZ2VyIGFuZCBhIHNwZWNp
YWwNCihzdHJpbmcpIHZhbHVlLCB3aGljaCBtaWdodCBldmVuIGJlIG9mIHR5cGUgZW1wdHkuDQoN
CkkgaGVhciB0d28gc3VnZ2VzdGlvbnMgb24gd2hhdCB0aGUg4oCcb3RoZXLigJ0gY29uc3RydWN0
IHNob3VsZCBiZSBpbiB0aGUgdW5pb24gc3RhdGVtZW50LiBVc2Ug4oCYZW1wdHnigJkgYXMgeW91
IHN1Z2dlc3QsIG9yIHVzZSDigJhib29sZWFu4oCZLiBBcmUgdGhlcmUgYW55IHByb3MvY29ucyBm
b3IgZWl0aGVyIG9mIHRoZSBhcHByb2FjaGVzPw0KDQrigJx0eXBlIGVtcHR54oCdIGlzIGNsZWFu
ZXIgdGhhbiBhIGJvb2xlYW4gaW5kaWNhdGluZyB3aGV0aGVyIG9yIG5vdCBhIHZhbHVlIGlzIHNw
ZWNpZmllZC4gSW4gZmFjdCwgaXQgd291bGRu4oCZdCBtYWtlIHNlbnNlIHRvIGZvciBhIGJvb2xl
YW4gdG8gYmUgaW4gYSB1bmlvbiB3aXRoIHRoZSBzcGVjaWZpZWQgdmFsdWUuDQoNCkFjZWUNCg0K
DQoNCk9uZSBvZiB0aGUgcmVhc29ucyB0byBoYXZlIG5vIGNvbW1vbiBhcHByb2FjaCB0byB0aGVz
ZSBraW5kIG9mDQpxdWVzdGlvbnMgaXMgdG8gcHJvdmlkZSB0aGUgZmxleGliaWxpdHkgbmVlZGVk
IHRvIGRvIHRoZSByaWdodCB0aGluZw0KaW4gZGlmZmVyZW50IGNvbnRleHRzLiBPZiBjb3Vyc2Us
IHlvdSBtYXkgd2FudCB0byBzdGF5IGNvbnNpc3RlbnQgaW4gYQ0KZGF0YSBtb2RlbCBvciBhIGNv
bGxlY3Rpb24gb2YgcmVsYXRlZCBkYXRhIG1vZGVsLg0KDQpJIHNraW1tZWQgUkZDIDg0MDcgYW5k
IGl0IHNlZW1zIHdlIGRvIG5vdCBoYXZlIHRleHQgZGlzY3Vzc2lvbiB0aGlzDQpzcGVjaWZpYyBz
aXR1YXRpb24uIFBlcmhhcHMgd2Ugc2hvdWxkIGhhdmUgdGV4dCwgcGVyaGFwcyBJIGhhdmUNCm92
ZXJsb29rZWQgaXQuIDstKSBJIHRoaW5rIHRoZXJlIGFyZSBkaWZmZXJlbnQgcGF0dGVybnMgdG8g
Y2hvb3NlIGZyb20NCnRvIGhhbmRsZSB0aGlzIHNpdHVhdGlvbiB3aXRoIHRoZWlyIHZhcmlvdXMg
cHJvcyBhbmQgY29ucy4NCg0KL2pzDQoNCi0tDQpKdWVyZ2VuIFNjaG9lbndhZWxkZXIgICAgICAg
ICAgIEphY29icyBVbml2ZXJzaXR5IEJyZW1lbiBnR21iSA0KUGhvbmU6ICs0OSA0MjEgMjAwIDM1
ODcgICAgICAgICBDYW1wdXMgUmluZyAxIHwgMjg3NTkgQnJlbWVuIHwgR2VybWFueQ0KRmF4OiAg
ICs0OSA0MjEgMjAwIDMxMDMgICAgICAgICA8aHR0cHM6Ly93d3cuamFjb2JzLXVuaXZlcnNpdHku
ZGUvPg0KDQpNYWhlc2ggSmV0aGFuYW5kYW5pDQptamV0aGFuYW5kYW5pQGdtYWlsLmNvbTxtYWls
dG86bWpldGhhbmFuZGFuaUBnbWFpbC5jb20+DQoNCg0KDQoNCg0K

--_000_ED63E978500D4E7E84228F5308416942ciscocom_
Content-Type: text/html; charset="utf-8"
Content-ID: <9DFF16CF6FAA544CB804C8C94899A3DC@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64

PGh0bWwgeG1sbnM6bz0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6b2ZmaWNlIiB4
bWxuczp3PSJ1cm46c2NoZW1hcy1taWNyb3NvZnQtY29tOm9mZmljZTp3b3JkIiB4bWxuczptPSJo
dHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL29mZmljZS8yMDA0LzEyL29tbWwiIHhtbG5zPSJo
dHRwOi8vd3d3LnczLm9yZy9UUi9SRUMtaHRtbDQwIj4NCjxoZWFkPg0KPG1ldGEgaHR0cC1lcXVp
dj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9dXRmLTgiPg0KPG1l
dGEgbmFtZT0iR2VuZXJhdG9yIiBjb250ZW50PSJNaWNyb3NvZnQgV29yZCAxNSAoZmlsdGVyZWQg
bWVkaXVtKSI+DQo8c3R5bGU+PCEtLQ0KLyogRm9udCBEZWZpbml0aW9ucyAqLw0KQGZvbnQtZmFj
ZQ0KCXtmb250LWZhbWlseToiQ2FtYnJpYSBNYXRoIjsNCglwYW5vc2UtMToyIDQgNSAzIDUgNCA2
IDMgMiA0O30NCkBmb250LWZhY2UNCgl7Zm9udC1mYW1pbHk6Q2FsaWJyaTsNCglwYW5vc2UtMToy
IDE1IDUgMiAyIDIgNCAzIDIgNDt9DQovKiBTdHlsZSBEZWZpbml0aW9ucyAqLw0KcC5Nc29Ob3Jt
YWwsIGxpLk1zb05vcm1hbCwgZGl2Lk1zb05vcm1hbA0KCXttYXJnaW46MGluOw0KCWZvbnQtc2l6
ZToxMS4wcHQ7DQoJZm9udC1mYW1pbHk6IkNhbGlicmkiLHNhbnMtc2VyaWY7fQ0KYTpsaW5rLCBz
cGFuLk1zb0h5cGVybGluaw0KCXttc28tc3R5bGUtcHJpb3JpdHk6OTk7DQoJY29sb3I6Ymx1ZTsN
Cgl0ZXh0LWRlY29yYXRpb246dW5kZXJsaW5lO30NCnNwYW4uRW1haWxTdHlsZTE5DQoJe21zby1z
dHlsZS10eXBlOnBlcnNvbmFsLXJlcGx5Ow0KCWZvbnQtZmFtaWx5OiJDYWxpYnJpIixzYW5zLXNl
cmlmOw0KCWNvbG9yOndpbmRvd3RleHQ7fQ0KLk1zb0NocERlZmF1bHQNCgl7bXNvLXN0eWxlLXR5
cGU6ZXhwb3J0LW9ubHk7DQoJZm9udC1zaXplOjEwLjBwdDt9DQpAcGFnZSBXb3JkU2VjdGlvbjEN
Cgl7c2l6ZTo4LjVpbiAxMS4waW47DQoJbWFyZ2luOjEuMGluIDEuMGluIDEuMGluIDEuMGluO30N
CmRpdi5Xb3JkU2VjdGlvbjENCgl7cGFnZTpXb3JkU2VjdGlvbjE7fQ0KLS0+PC9zdHlsZT4NCjwv
aGVhZD4NCjxib2R5IGxhbmc9IkVOLVVTIiBsaW5rPSJibHVlIiB2bGluaz0icHVycGxlIiBzdHls
ZT0id29yZC13cmFwOmJyZWFrLXdvcmQ7LXdlYmtpdC1uYnNwLW1vZGU6IHNwYWNlO2xpbmUtYnJl
YWs6YWZ0ZXItd2hpdGUtc3BhY2UiPg0KPGRpdiBjbGFzcz0iV29yZFNlY3Rpb24xIj4NCjxwIGNs
YXNzPSJNc29Ob3JtYWwiPkFsbCw8bzpwPjwvbzpwPjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwi
PjxvOnA+Jm5ic3A7PC9vOnA+PC9wPg0KPGRpdiBzdHlsZT0iYm9yZGVyOm5vbmU7Ym9yZGVyLXRv
cDpzb2xpZCAjQjVDNERGIDEuMHB0O3BhZGRpbmc6My4wcHQgMGluIDBpbiAwaW4iPg0KPHAgY2xh
c3M9Ik1zb05vcm1hbCIgc3R5bGU9Im1hcmdpbi1sZWZ0Oi41aW4iPjxiPjxzcGFuIHN0eWxlPSJm
b250LXNpemU6MTIuMHB0O2NvbG9yOmJsYWNrIj5Gcm9tOg0KPC9zcGFuPjwvYj48c3BhbiBzdHls
ZT0iZm9udC1zaXplOjEyLjBwdDtjb2xvcjpibGFjayI+bmV0bW9kICZsdDtuZXRtb2QtYm91bmNl
c0BpZXRmLm9yZyZndDsgb24gYmVoYWxmIG9mIE1haGVzaCBKZXRoYW5hbmRhbmkgJmx0O21qZXRo
YW5hbmRhbmlAZ21haWwuY29tJmd0Ozxicj4NCjxiPkRhdGU6IDwvYj5UdWVzZGF5LCBTZXB0ZW1i
ZXIgMTQsIDIwMjEgYXQgMTozOCBQTTxicj4NCjxiPlRvOiA8L2I+SnVlcmdlbiBTY2hvZW53YWVs
ZGVyICZsdDtqLnNjaG9lbndhZWxkZXJAamFjb2JzLXVuaXZlcnNpdHkuZGUmZ3Q7PGJyPg0KPGI+
Q2M6IDwvYj5CYWJlbCBhdCBJRVRGICZsdDtiYWJlbEBpZXRmLm9yZyZndDssICZxdW90O1NUQVJL
LCBCQVJCQVJBIEgmcXVvdDsgJmx0O2JzNzY1MkBhdHQuY29tJmd0OywgJnF1b3Q7bmV0bW9kQGll
dGYub3JnJnF1b3Q7ICZsdDtuZXRtb2RAaWV0Zi5vcmcmZ3Q7PGJyPg0KPGI+U3ViamVjdDogPC9i
PlJlOiBbbmV0bW9kXSBbYmFiZWxdIE5VTEwgdmFsdWUgZm9yIHVpbnQxNjxvOnA+PC9vOnA+PC9z
cGFuPjwvcD4NCjwvZGl2Pg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiIHN0eWxlPSJtYXJn
aW4tbGVmdDouNWluIj48bzpwPiZuYnNwOzwvbzpwPjwvcD4NCjwvZGl2Pg0KPHAgY2xhc3M9Ik1z
b05vcm1hbCIgc3R5bGU9Im1hcmdpbi1sZWZ0Oi41aW4iPkhpIEp1ZXJnZW4sPG86cD48L286cD48
L3A+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCIgc3R5bGU9Im1hcmdpbi1sZWZ0Oi41aW4i
Pjxicj4NCjxicj4NCjxvOnA+PC9vOnA+PC9wPg0KPGJsb2NrcXVvdGUgc3R5bGU9Im1hcmdpbi10
b3A6NS4wcHQ7bWFyZ2luLWJvdHRvbTo1LjBwdCI+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1h
bCIgc3R5bGU9Im1hcmdpbi1sZWZ0Oi41aW4iPk9uIFNlcCAxNCwgMjAyMSwgYXQgMTA6MTcgQU0s
IErDvHJnZW4gU2Now7Zud8OkbGRlciAmbHQ7PGEgaHJlZj0ibWFpbHRvOmouc2Nob2Vud2FlbGRl
ckBqYWNvYnMtdW5pdmVyc2l0eS5kZSI+ai5zY2hvZW53YWVsZGVyQGphY29icy11bml2ZXJzaXR5
LmRlPC9hPiZndDsgd3JvdGU6PG86cD48L286cD48L3A+DQo8L2Rpdj4NCjxwIGNsYXNzPSJNc29O
b3JtYWwiIHN0eWxlPSJtYXJnaW4tbGVmdDouNWluIj48bzpwPiZuYnNwOzwvbzpwPjwvcD4NCjxk
aXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCIgc3R5bGU9Im1hcmdpbi1sZWZ0Oi41aW4i
Pk9uIFR1ZSwgU2VwIDE0LCAyMDIxIGF0IDAxOjUxOjM2UE0gKzAwMDAsIFNUQVJLLCBCQVJCQVJB
IEggd3JvdGU6PGJyPg0KPGJyPg0KPGJyPg0KPG86cD48L286cD48L3A+DQo8YmxvY2txdW90ZSBz
dHlsZT0ibWFyZ2luLXRvcDo1LjBwdDttYXJnaW4tYm90dG9tOjUuMHB0Ij4NCjxwIGNsYXNzPSJN
c29Ob3JtYWwiIHN0eWxlPSJtYXJnaW4tbGVmdDouNWluIj5BcyBJIG1lbnRpb25lZCwgQkJGIFRS
LTE4MSB1c2VzIGludCB3aXRoIHJhbmdlIC0xOjY1NTM1IHdpdGggLTEgbWVhbmluZyBOVUxMLiBT
byBJIGNlcnRhaW5seSBoYXZlIG5vIGlzc3VlIHdpdGggdGhhdCBhcHByb2FjaC4gVGhlIGxhbmd1
YWdlIGluIFJGQzkwNDYgd2FzIGludGVuZGVkIHRvIG1ha2Ugc3VyZSB0aGlzIGFwcHJvYWNoIHdh
cyBhbGxvd2VkLCBzaW5jZSB0aGlzDQogaXMgaG93IGl0J3MgZG9uZSBpbiBUUi0xODEuPGJyPg0K
SSBndWVzcyBJIGFtIGEgYml0IHN1cnByaXNlZCB0byBsZWFybiB0aGF0IFlBTkcgZG9lc24ndCBz
ZWVtIHRvIGhhdmUgYSBwcmVmZXJyZWQgd2F5IHRvIGhhbmRsZSB0aGlzLiBVbmZvcnR1bmF0ZWx5
LCBnaXZlbiBteSBjb25zaWRlcmFibGUgbGFjayBvZiBZQU5HIGV4cGVydGlzZSwgSSBjYW4ndCBy
ZWNvbW1lbmQgdGhlICZxdW90O3JpZ2h0JnF1b3Q7IHdheSB0byBtb2RlbCB0aGlzIGluIFlBTkcu
IEkgY2FuIG9ubHkgaW5zaXN0IHRoYXQgdGhlIG1vZGVsIGJlIGFibGUNCiB0byBleHByZXNzIGEg
dmFsdWUgaW4gdGhlIHJhbmdlIDAgdG8gMl4xNiBhbmQgTlVMTCB2YWx1ZSBmb3IgdGhlc2UgcGFy
YW1ldGVycy4gPGJyPg0KSW5kZXBlbmRlbnQgb2YgdGhlIGZhY3QgdGhhdCB0aGUgd29yZHMgaW4g
UkZDOTA0NiBkb24ndCBzZWVtIHRvIGhhdmUgZXhwcmVzc2VkIHRoaXMgcGVyZmVjdGx5IGNsZWFy
bHksIHRoYXQgaXMgYWJzb2x1dGVseSB0aGUgaW50ZW50IG9mIHRob3NlIHdvcmRzLiBJIGFwb2xv
Z2l6ZSB0aGF0IHRoZSBSRkM5MDQ2IHdvcmRzIGRvbid0IHNlZW0gdG8gYmUgc3VmZmljaWVudGx5
IGNsZWFyLg0KPGJyPg0KPGJyPg0KU2luY2UgeW91IGRvIG1lbnRpb24gdGhlIHBvc3NpYmlsaXR5
IG9mIHVzaW5nIC0xIGZvciBOVUxMLCBJJ2QgbGlrZSB0byB1bmRlcnN0YW5kIHdobyBtaWdodCBm
aW5kIHRoaXMgYXBwcm9hY2ggdW5hY2NlcHRhYmxlPyBUaGUgbGFuZ3VhZ2UgaW4gdGhlIGluZm9y
bWF0aW9uIG1vZGVsIHdhcyBkZWZpbml0ZWx5IGludGVuZGVkIHRvIGV4cHJlc3MgdGhlIGFjY2Vw
dGFiaWxpdHkgb2YgdXNpbmcgdGhpcyBhcHByb2FjaCBmcm9tIGEgQmFiZWwgV0cgcGVyc3BlY3Rp
dmUNCiAoYmVjYXVzZSBJIGtuZXcgdGhhdCdzIGhvdyBpdCB3b3VsZCBiZSBkb25lIGluIFRSLTE4
MSkuIFdvdWxkIHRoaXMgYmUgdW5hY2NlcHRhYmxlIHRvIHBlb3BsZSB3aXRoIFlBTkcgZXhwZXJ0
aXNlPyBJIHRoaW5rIG15IHByZWZlcmVuY2Ugd291bGQgYmUgdG8gdXNlIHRoaXMgYXBwcm9hY2gs
IHNpbmNlIGl0IHdvdWxkIHByb3ZpZGUgYWRkaXRpb25hbCBjb25zaXN0ZW5jeSBiZXR3ZWVuIHRo
ZSBUUi0xODEgYW5kIFlBTkcgbW9kZWxzLjxvOnA+PC9vOnA+PC9wPg0KPC9ibG9ja3F1b3RlPg0K
PHAgY2xhc3M9Ik1zb05vcm1hbCIgc3R5bGU9Im1hcmdpbi1sZWZ0Oi41aW4iPjxicj4NCklmIG90
aGVyIGRhdGEgbW9kZWxzIHVzZSBhbiBleHRlbmRlZCBpbnRlZ2VyIHJhbmdlIGFuZCAtMSB0byBp
bmRpY2F0ZTxicj4NCmEgc3BlY2lhbCBjYXNlLCB0aGVuIHRoaXMgbWF5IGJlIGEgc3Ryb25nIHJl
YXNvbiB0byBkbyB0aGUgc2FtZSBpbiB0aGU8YnI+DQpJRVRGIFlBTkcgZGF0YSBtb2RlbC4gQ29u
c2lzdGVuY3kgYWNyb3NzIGRhdGEgbW9kZWxzIGlzIGEgdmFsdWUsIGluPGJyPg0KcGFydGljdWxh
ciBmb3Igc3lzdGVtcyB0aGF0IG1heSBoYXZlIHRvIHN1cHBvcnQgbXVsdGlwbGUuIFdoaWxlIHRo
ZTxicj4NCmNvbnZlcnNpb24gb2YgZGlmZmVyZW50IG5vdGF0aW9ucyBubyBoYXJkLCBpdHMgb25l
IG1vcmUgdGhpbmcgdG88YnI+DQpwb3RlbnRpYWxseSBnZXQgd3JvbmcuPGJyPg0KPGJyPg0KSWYg
eW91IHdlcmUgc3RhcnRpbmcgd2l0aCBhIGJsYW5rIHNoZWV0IG9mIHBhcGVyLCB0aGVuIHRoZSBZ
QU5HIGlkaW9tPGJyPg0Kd291bGQgbGlrZWx5IGJlIHRvIHVzZSBhIHVuaW9uIG9mIGEgMTYtYml0
IGludGVnZXIgYW5kIGEgc3BlY2lhbDxicj4NCihzdHJpbmcpIHZhbHVlLCB3aGljaCBtaWdodCBl
dmVuIGJlIG9mIHR5cGUgZW1wdHkuPG86cD48L286cD48L3A+DQo8L2Rpdj4NCjwvZGl2Pg0KPC9i
bG9ja3F1b3RlPg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiIHN0eWxlPSJtYXJnaW4tbGVm
dDouNWluIj48bzpwPiZuYnNwOzwvbzpwPjwvcD4NCjwvZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1h
bCIgc3R5bGU9Im1hcmdpbi1sZWZ0Oi41aW4iPkkgaGVhciB0d28gc3VnZ2VzdGlvbnMgb24gd2hh
dCB0aGUg4oCcb3RoZXLigJ0gY29uc3RydWN0IHNob3VsZCBiZSBpbiB0aGUgdW5pb24gc3RhdGVt
ZW50LiBVc2Ug4oCYZW1wdHnigJkgYXMgeW91IHN1Z2dlc3QsIG9yIHVzZSDigJhib29sZWFu4oCZ
LiBBcmUgdGhlcmUgYW55IHByb3MvY29ucyBmb3IgZWl0aGVyIG9mIHRoZSBhcHByb2FjaGVzPzxv
OnA+PC9vOnA+PC9wPg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PG86cD4mbmJzcDs8L286cD48L3A+
DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj7igJx0eXBlIGVtcHR54oCdIGlzIGNsZWFuZXIgdGhhbiBh
IGJvb2xlYW4gaW5kaWNhdGluZyB3aGV0aGVyIG9yIG5vdCBhIHZhbHVlIGlzIHNwZWNpZmllZC4g
SW4gZmFjdCwgaXQgd291bGRu4oCZdCBtYWtlIHNlbnNlIHRvIGZvciBhIGJvb2xlYW4gdG8gYmUg
aW4gYSB1bmlvbiB3aXRoIHRoZSBzcGVjaWZpZWQgdmFsdWUuDQo8bzpwPjwvbzpwPjwvcD4NCjxw
IGNsYXNzPSJNc29Ob3JtYWwiPjxvOnA+Jm5ic3A7PC9vOnA+PC9wPg0KPHAgY2xhc3M9Ik1zb05v
cm1hbCI+QWNlZTxvOnA+PC9vOnA+PC9wPg0KPC9kaXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05v
cm1hbCIgc3R5bGU9Im1hcmdpbi1sZWZ0Oi41aW4iPjxicj4NCjxicj4NCjxvOnA+PC9vOnA+PC9w
Pg0KPGJsb2NrcXVvdGUgc3R5bGU9Im1hcmdpbi10b3A6NS4wcHQ7bWFyZ2luLWJvdHRvbTo1LjBw
dCI+DQo8ZGl2Pg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiIHN0eWxlPSJtYXJnaW4tbGVm
dDouNWluIj48YnI+DQpPbmUgb2YgdGhlIHJlYXNvbnMgdG8gaGF2ZSBubyBjb21tb24gYXBwcm9h
Y2ggdG8gdGhlc2Uga2luZCBvZjxicj4NCnF1ZXN0aW9ucyBpcyB0byBwcm92aWRlIHRoZSBmbGV4
aWJpbGl0eSBuZWVkZWQgdG8gZG8gdGhlIHJpZ2h0IHRoaW5nPGJyPg0KaW4gZGlmZmVyZW50IGNv
bnRleHRzLiBPZiBjb3Vyc2UsIHlvdSBtYXkgd2FudCB0byBzdGF5IGNvbnNpc3RlbnQgaW4gYTxi
cj4NCmRhdGEgbW9kZWwgb3IgYSBjb2xsZWN0aW9uIG9mIHJlbGF0ZWQgZGF0YSBtb2RlbC48YnI+
DQo8YnI+DQpJIHNraW1tZWQgUkZDIDg0MDcgYW5kIGl0IHNlZW1zIHdlIGRvIG5vdCBoYXZlIHRl
eHQgZGlzY3Vzc2lvbiB0aGlzPGJyPg0Kc3BlY2lmaWMgc2l0dWF0aW9uLiBQZXJoYXBzIHdlIHNo
b3VsZCBoYXZlIHRleHQsIHBlcmhhcHMgSSBoYXZlPGJyPg0Kb3Zlcmxvb2tlZCBpdC4gOy0pIEkg
dGhpbmsgdGhlcmUgYXJlIGRpZmZlcmVudCBwYXR0ZXJucyB0byBjaG9vc2UgZnJvbTxicj4NCnRv
IGhhbmRsZSB0aGlzIHNpdHVhdGlvbiB3aXRoIHRoZWlyIHZhcmlvdXMgcHJvcyBhbmQgY29ucy48
YnI+DQo8YnI+DQovanM8YnI+DQo8YnI+DQotLSA8YnI+DQpKdWVyZ2VuIFNjaG9lbndhZWxkZXIg
Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5i
c3A7SmFjb2JzIFVuaXZlcnNpdHkgQnJlbWVuIGdHbWJIPGJyPg0KUGhvbmU6ICs0OSA0MjEgMjAw
IDM1ODcgJm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Q2Ft
cHVzIFJpbmcgMSB8IDI4NzU5IEJyZW1lbiB8IEdlcm1hbnk8YnI+DQpGYXg6ICZuYnNwOyZuYnNw
Oys0OSA0MjEgMjAwIDMxMDMgJm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5i
c3A7Jm5ic3A7Jmx0OzxhIGhyZWY9Imh0dHBzOi8vd3d3LmphY29icy11bml2ZXJzaXR5LmRlLyI+
aHR0cHM6Ly93d3cuamFjb2JzLXVuaXZlcnNpdHkuZGUvPC9hPiZndDs8bzpwPjwvbzpwPjwvcD4N
CjwvZGl2Pg0KPC9kaXY+DQo8L2Jsb2NrcXVvdGU+DQo8L2Rpdj4NCjxwIGNsYXNzPSJNc29Ob3Jt
YWwiIHN0eWxlPSJtYXJnaW4tbGVmdDouNWluIj48bzpwPiZuYnNwOzwvbzpwPjwvcD4NCjxkaXY+
DQo8ZGl2Pg0KPGRpdj4NCjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIiBzdHlsZT0ibWFyZ2lu
LWxlZnQ6LjVpbiI+PHNwYW4gc3R5bGU9ImNvbG9yOmJsYWNrIj5NYWhlc2ggSmV0aGFuYW5kYW5p
PG86cD48L286cD48L3NwYW4+PC9wPg0KPC9kaXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1h
bCIgc3R5bGU9Im1hcmdpbi1sZWZ0Oi41aW4iPjxzcGFuIHN0eWxlPSJjb2xvcjpibGFjayI+PGEg
aHJlZj0ibWFpbHRvOm1qZXRoYW5hbmRhbmlAZ21haWwuY29tIj5tamV0aGFuYW5kYW5pQGdtYWls
LmNvbTwvYT48bzpwPjwvbzpwPjwvc3Bhbj48L3A+DQo8L2Rpdj4NCjxkaXY+DQo8cCBjbGFzcz0i
TXNvTm9ybWFsIiBzdHlsZT0ibWFyZ2luLWxlZnQ6LjVpbiI+PHNwYW4gc3R5bGU9ImNvbG9yOmJs
YWNrIj48bzpwPiZuYnNwOzwvbzpwPjwvc3Bhbj48L3A+DQo8L2Rpdj4NCjwvZGl2Pg0KPHAgY2xh
c3M9Ik1zb05vcm1hbCIgc3R5bGU9Im1hcmdpbi1sZWZ0Oi41aW4iPjxzcGFuIHN0eWxlPSJjb2xv
cjpibGFjayI+PG86cD4mbmJzcDs8L286cD48L3NwYW4+PC9wPg0KPC9kaXY+DQo8cCBjbGFzcz0i
TXNvTm9ybWFsIiBzdHlsZT0ibXNvLW1hcmdpbi10b3AtYWx0OjBpbjttYXJnaW4tcmlnaHQ6MGlu
O21hcmdpbi1ib3R0b206MTIuMHB0O21hcmdpbi1sZWZ0Oi41aW4iPg0KPG86cD4mbmJzcDs8L286
cD48L3A+DQo8L2Rpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiIHN0eWxlPSJtYXJnaW4tbGVmdDou
NWluIj48YnI+DQo8YnI+DQo8bzpwPjwvbzpwPjwvcD4NCjwvZGl2Pg0KPC9ib2R5Pg0KPC9odG1s
Pg0K

--_000_ED63E978500D4E7E84228F5308416942ciscocom_--


From nobody Tue Sep 14 11:36:30 2021
Return-Path: <cabo@tzi.org>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 64BE63A286A; Tue, 14 Sep 2021 11:36:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 qJTBfRHfb9LD; Tue, 14 Sep 2021 11:36:17 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F364A3A2868; Tue, 14 Sep 2021 11:36:16 -0700 (PDT)
Received: from smtpclient.apple (p548dcf6e.dip0.t-ipconnect.de [84.141.207.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4H8BrF3yJMz2xKt; Tue, 14 Sep 2021 20:36:13 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <20210914171729.ph5q77zm46z3zvxi@anna.jacobs.jacobs-university.de>
Date: Tue, 14 Sep 2021 20:36:12 +0200
Cc: "STARK, BARBARA H" <bs7652@att.com>, Babel at IETF <babel@ietf.org>, "netmod@ietf.org" <netmod@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <FAE5986C-BE56-44A9-A6A5-1A37D9539F61@tzi.org>
References: <AM7PR07MB624802516EFB174B6912C5DAA0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <20210910121430.kofyvd2q3ludm2pk@anna.jacobs.jacobs-university.de> <AM7PR07MB62482A4271AF1CA5013EB136A0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <b1b1cd18-537f-561f-dcb1-9aca41b7d3c9@labn.net> <20210910200902.bic4rhyhp75bgsjz@anna.jacobs.jacobs-university.de> <BBC6AA9F-86C1-4A9C-86FD-AD77668CA9D9@gmail.com> <20210913200455.xot7lihpmqiemm5c@anna.jacobs.jacobs-university.de> <DM6PR02MB69248D2780D5C880CC647783C3D99@DM6PR02MB6924.namprd02.prod.outlook.com> <AM7PR07MB6248BBB558136D1E6F8C1549A0DA9@AM7PR07MB6248.eurprd07.prod.outlook.com> <DM6PR02MB692446F49506791E90B0D23EC3DA9@DM6PR02MB6924.namprd02.prod.outlook.com> <20210914171729.ph5q77zm46z3zvxi@anna.jacobs.jacobs-university.de>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/REEX-u13AQ8xXFsv6hG0LktKZ6k>
Subject: Re: [babel] [netmod]   NULL value for uint16
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Sep 2021 18:36:23 -0000

On 14. Sep 2021, at 19:17, J=C3=BCrgen Sch=C3=B6nw=C3=A4lder =
<j.schoenwaelder@jacobs-university.de> wrote:
>=20
> If other data models use an extended integer range and -1 to indicate
> a special case, then this may be a strong reason to do the same in the
> IETF YANG data model.

Any data model based on FORTRAN certainly will do.
Most other data modeling languages by now should have =
nullable/optional/Maybe types.

Going from the actual data type, uint16, to int32, just to accommodate =
the =E2=80=9Cnot present=E2=80=9D case, strikes me as a mistake.
(Which doesn=E2=80=99t mean that you may not want to do this in an =
implementation, after having validated the input data.)

Gr=C3=BC=C3=9Fe, Carsten


From nobody Tue Sep 14 12:16:33 2021
Return-Path: <J.Schoenwaelder@jacobs-university.de>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 374B93A298F; Tue, 14 Sep 2021 12:16:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=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=jacobsuniversity.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 dmsRSi8nyJHu; Tue, 14 Sep 2021 12:16:26 -0700 (PDT)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70071.outbound.protection.outlook.com [40.107.7.71]) (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 295163A2998; Tue, 14 Sep 2021 12:16:26 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KWssFbrhyhuTE4pm29mxaz6WhEkKR9kTsHBD0naFBHyH+oHgScHGbY7dKVm2fH32fWr+9oQladBF+/tt/iK3B7Rjsaqm57Q6TrMGwufJYP3uI0u193+TssMO5fmtId1KGDg0p2ppUcrATaztoXwOExWwk6Mi8qWtv351+ysTLzT7Tllg7OvvG9cFZQo8mzlsuNvYATE6lLpaiAbZthWmTzsIH5lYlmyFB5l6fDbM+nJoTxxqNZSJ4XlPwB1Diq12WAgL6F6ewRusPIGzLKb++Brl6ipPs1hNQ9Ooe5HCTBBYGqxYJF7ceN83zrZO/bLAu/jCv8R9cNMSGvm4skCYLg==
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;  bh=p5KWalm53nNo/KPnHPuVmUyrE+AjgQipnoZ0imz7+yQ=; b=ESpI2Db7SvpaL4PfiymcQ4kjHgfBjapzdycCF3zMQPfxRtgLhGrKvc5PlYpkwk71UTIh6sUCBeK08CfBZMLvSHRTMEiSRbyJ8gbT9VIUfoNyfz6XgFdIv9c1jqcOrOcMps0Xs/7pbyEOCcRLy40Foy3OwWIMLw7ZPJMYuqRLrkdMERon4QzkUlAFTUOn35+gid7NqHlPHgm9cPTAq01quHuY/mHf1qKlpiA8mt4I/BPjYLcnBcaW5Vj+DeHkMgNI36Kn0S2U1xn7QCPiYKSfSBo3O6AbreMsKoj/6L+WelzKCs8KWQk14LfuH3+ZMmx1ZNHIE3RvVdYGd+5Tqk6gLA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=jacobs-university.de; dmarc=pass action=none header.from=jacobs-university.de; dkim=pass header.d=jacobs-university.de; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jacobsuniversity.onmicrosoft.com; s=selector2-jacobsuniversity-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=p5KWalm53nNo/KPnHPuVmUyrE+AjgQipnoZ0imz7+yQ=; b=S4yQFnyEpPPLDacwEoWd7C/WuSnpdYK1yzIHPtKcSrrdaY9O+5R4B6U+DOExAybsWSVFKkq07vW3d0FQgPa5a75hCjGQiI/YvG++uFjxvCb+6Ddg9c3Pw1Qi7oUHH8t/2SzOxKtZBzLkdXiBeGea8uGkmOhpuZOOm/oewV/mJAI=
Authentication-Results: tzi.org; dkim=none (message not signed) header.d=none;tzi.org; dmarc=none action=none header.from=jacobs-university.de;
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:194::23) by AM9P190MB1186.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:263::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14; Tue, 14 Sep 2021 19:16:20 +0000
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::6539:572:25dd:e6ab]) by AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::6539:572:25dd:e6ab%7]) with mapi id 15.20.4500.019; Tue, 14 Sep 2021 19:16:20 +0000
Date: Tue, 14 Sep 2021 21:16:18 +0200
From: =?utf-8?B?SsO8cmdlbiBTY2jDtm53w6RsZGVy?= <j.schoenwaelder@jacobs-university.de>
To: Carsten Bormann <cabo@tzi.org>
Cc: "STARK, BARBARA H" <bs7652@att.com>, Babel at IETF <babel@ietf.org>, "netmod@ietf.org" <netmod@ietf.org>
Message-ID: <20210914191618.khcicr6o4x5sdki3@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Carsten Bormann <cabo@tzi.org>, "STARK, BARBARA H" <bs7652@att.com>, Babel at IETF <babel@ietf.org>, "netmod@ietf.org" <netmod@ietf.org>
References: <AM7PR07MB62482A4271AF1CA5013EB136A0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <b1b1cd18-537f-561f-dcb1-9aca41b7d3c9@labn.net> <20210910200902.bic4rhyhp75bgsjz@anna.jacobs.jacobs-university.de> <BBC6AA9F-86C1-4A9C-86FD-AD77668CA9D9@gmail.com> <20210913200455.xot7lihpmqiemm5c@anna.jacobs.jacobs-university.de> <DM6PR02MB69248D2780D5C880CC647783C3D99@DM6PR02MB6924.namprd02.prod.outlook.com> <AM7PR07MB6248BBB558136D1E6F8C1549A0DA9@AM7PR07MB6248.eurprd07.prod.outlook.com> <DM6PR02MB692446F49506791E90B0D23EC3DA9@DM6PR02MB6924.namprd02.prod.outlook.com> <20210914171729.ph5q77zm46z3zvxi@anna.jacobs.jacobs-university.de> <FAE5986C-BE56-44A9-A6A5-1A37D9539F61@tzi.org>
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <FAE5986C-BE56-44A9-A6A5-1A37D9539F61@tzi.org>
X-ClientProxiedBy: PR1PR01CA0030.eurprd01.prod.exchangelabs.com (2603:10a6:102::43) To AM0P190MB0641.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:194::23)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from localhost (212.201.44.244) by PR1PR01CA0030.eurprd01.prod.exchangelabs.com (2603:10a6:102::43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.15 via Frontend Transport; Tue, 14 Sep 2021 19:16:19 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: f80a9204-40dc-4131-dd9b-08d977b42211
X-MS-TrafficTypeDiagnostic: AM9P190MB1186:
X-MS-Exchange-Transport-Forked: True
X-Microsoft-Antispam-PRVS: <AM9P190MB1186E758D732BF4961380FF5DEDA9@AM9P190MB1186.EURP190.PROD.OUTLOOK.COM>
X-MS-Oob-TLC-OOBClassifiers: OLM:8882;
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: OIyUg2Q5jvCl9b4ujliDojXhVqcuU65EyE8C2wLFG+U5wUbJKqzEqV5jh3LKJhvqVyrQ33TWQXX+XRVpdcxBgnUquDLarNszPORo1VZg0rYyt1c3MNPy0C1M2wICC06n/ZW37MglPUwFvUwF/n5n9P4+G1SHYP30jOsCOPwPPePx21dSXsEAO9A6SF6861lcYxSn44C7cyGY0KXd711nOUHqVpA9xwrMgqAnfM4azy8G58y+m5Zvvf77RRB/C8IQvCQoFac4H4ag+A0vq7IzBRFLOgPRrUXYi2+e4iDqq38beuJY3lcADMHSyB140WYKNWfQlAaQo02LAbT/7t5XWpJeZqWxRba7ObpSLR5grXCR1el710kqykvDdgM2na2EHzFN5lbHmeXk0L3oL0VUyQ5dlLe3iF8CVTQ92Ub3OacmfuMvm6trVg7N53+1k8yIxMGVWgvHpQ6S4xCkRDEZl721kKGrWe5/0k0RF+im0z2IximsDK8pbjcQ4vv2Jsge9IczmFFNXL+ebmhG+j4Hlu3Z7KrZEZAyya92XBGck7As5C8D80x9j2LN2apRAcU+AJjv0XdEi7p035kg+6Jn4KpLqdG2WOIysOs85XA/ZxORITO65gak0wxa+7iSAhGIrmzVu+SSp6s8tvmOLZ2Ax0B0fuTBLhfn+D6hXhfqVIAYIPAd/pDV6njxpLCrQhXK0z6UOaJOCLk82y2o4W5cWEOl4J/qWNTT0t6DFQBYtgEyXENdWBlUONHRZdqpGTk1I/IF4l24ZYJUBNkrkYiaIPfS0VyZZxNQiY2Za3aTaXQ=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:AM0P190MB0641.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE;  SFS:(376002)(346002)(39850400004)(396003)(136003)(366004)(8936002)(86362001)(66574015)(956004)(3450700001)(83380400001)(2906002)(85202003)(66556008)(66476007)(66946007)(4326008)(26005)(186003)(5660300002)(6496006)(8676002)(52116002)(478600001)(6486002)(38350700002)(38100700002)(54906003)(316002)(1076003)(40140700001)(6916009)(85182001); DIR:OUT; SFP:1101; 
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RU90alg2blpLQnZiMCtEWnRoOER6NDhBRjBQOEJiMlZSWW1lN0xUUlpPNFV1?= =?utf-8?B?c2E5OEVDWm02SFlrRC9vUVFxdkt5MWFJaE90My9acmlDT3I3QitOQ25IVzVH?= =?utf-8?B?QVh3SUMra2RiU0tzbFgwTCtDSlFTOFg1WU1WcU0vSVdFamRqWTQzVDhhVkNZ?= =?utf-8?B?UUZTeVoxT2duTjNhenhtSjAyN2F0anIyRXcxMVVONlJOYkgzeE0xN1hEdkdG?= =?utf-8?B?aHZEMG1PNzlHRVErM3V2b1lTTnY1czU4U1BwRlpyb1NqdzVpMHJkUHpIVFBa?= =?utf-8?B?bE9XWjRsbEZ2TDFEM2hJWmFzWHFPWW0wSnBHMXVxSlk4SHAzRkRqWWViNDNO?= =?utf-8?B?QUxYNXhxSkZ3WngyT1ZNUkx5YU5Ba1F5Q3dwc1dFUCtsd0o2SFovSEhaSmRW?= =?utf-8?B?NGJ4Qy96VWhCR3Q0Yi9ZN0UvZy9JKzJPN2dqWkJoYUZkamFwdWo0dnlvRFl2?= =?utf-8?B?SjRueHJJOEVvcVNzYm52RGpPYWJXVXN4QkxkRUE3WHpzeWNOaGoxMWs0b1Z5?= =?utf-8?B?dmlpWENObkVHT1F2Um1MOFpyK0g0d3NtRnowdFVZM2c1ZzhFQmJMcVhCa3Ja?= =?utf-8?B?azB5RXBTaWVWUDB1RTRmbWg3TnZzZnB0YWJMNkFvMXpTdWJKYVlOSHVwZjFG?= =?utf-8?B?bStDK1pFVUxuN1NQNTE3WGJHQVdudlFVVXRTcUwrRG4zTUZHNmM4YmttYzBK?= =?utf-8?B?cjVwVklzY1lTT3Z2TmVNRHB1cHk0dFJHTWJIQ1VrRWdBU29IeW9ibU50b3Jq?= =?utf-8?B?clZFYUpZY2doOXlFVFlyTkE2ZFpuUnViM3VQd2xPbG4xZGw4VWdKSk54MXhh?= =?utf-8?B?UFlaVW1FYnNUSzR1Y3NOTVVIekl1ZXRHTXcrcGZpeXAzZjYxRytkMHZka1Bv?= =?utf-8?B?dHJWdG9vQVF6WmFKckVCbFpQcER2Qys5YVVRY0RScW1WK2pna3QwbGswbHFQ?= =?utf-8?B?eW12aXlCUWd5dkZrNUxTbE9ReXNmMkZtYzhSQ21oK1ZWOVhwM2FFZk9jUUJN?= =?utf-8?B?cmpCTlRkdnJyR29CQ2ZqNkxYZ215TFFwUVg2K3hjNTJuckp2WCtKSkdjeGxZ?= =?utf-8?B?RkxNdU41N3ZqQUpnOGhLWllPeURUTFRDdnNBcVZXUHBlc1hxRlVvckFyT0pL?= =?utf-8?B?VHpZbUQ2d0w4TnZZNExrOE80WVpFVHU4TUJSRVAxd1dxM2psSStBcHJuV0lC?= =?utf-8?B?WllEbDlKOWNocFh3VFlaTTVaV0VnM1gyQ0pINnRDZlN3Y0FMb1JzckM2UGdw?= =?utf-8?B?NVR5QXBBOGtzdFJZSGRWdWxJWUEzR25kYjNKbHUrQk1pZHJvbGhFeXFWdHJl?= =?utf-8?B?RWhZL2J1NjFMWjFBTlVQZjJNSEx1YjlveEtjOVIwazMvSmRwVFVrUEZVc2oy?= =?utf-8?B?Q1NzOW9JeVRwSzhrb2pvOE8wOWxqTU1YZ1lDbXQ5dXFFenZSSFhMR2tDVmk3?= =?utf-8?B?TFh2c2dlcEwyVkl5VFBSYUVPZzhnTWl3TVJTNjNEay9YMUZuWlhZNnZna1ZT?= =?utf-8?B?TnRKMGdIS2toK0pXbWhkTjhFaGtlaWhLcTg2UzVUM2I2VmpmdTFZZTNTTlB4?= =?utf-8?B?MjNlUC9USTFDVVpZSUcyLzJYR1Azd1g5dDFBWFZwbkUwT1BKay9KVWxoaDNC?= =?utf-8?B?SzhlUlJqN3pzdFFrOVdlVUhjY2FmOEcrRXhGdG8yeEE2WTFsZGx4eDRvaVBU?= =?utf-8?B?QlJIM290aXhOS1V2VER6Mi8wN0FLNWJhUWFmUFJyN25iR0xSL2tkVThKVlov?= =?utf-8?Q?uSxv9Qd6/LNMjjScPQhpoXOOoA3vxkAT3JE/smZ?=
X-OriginatorOrg: jacobs-university.de
X-MS-Exchange-CrossTenant-Network-Message-Id: f80a9204-40dc-4131-dd9b-08d977b42211
X-MS-Exchange-CrossTenant-AuthSource: AM0P190MB0641.EURP190.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2021 19:16:20.0444 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: f78e973e-5c0b-4ab8-bbd7-9887c95a8ebd
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: k8pbEnJdPgyk91oQUamC23j9+nURBo3vg7MaUSMiZIQyiOf73lTfkKxFDmyCi2VpwFfPG/ZElmlOVhAqQ34853PvEmACw4dGlnvGoPKbOPI=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9P190MB1186
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/-h9R9B7idhilePfbEuJ8YmP60-4>
Subject: Re: [babel] [netmod]   NULL value for uint16
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Sep 2021 19:16:32 -0000

Carsten,

whatever you do, you will at the end need an extra bit. If BBF already
defined to use -1, so be it.

The alternative is to not instantiate the leaf if there is no value
and to accept that a client can't tell the difference between 'there
is no value' and 'the value has been suppressed by authorization'.

/js

PS: You can define a maybe-uint16 type as a union in YANG but yes
    there is no syntactic sugar to generalize this.

On Tue, Sep 14, 2021 at 08:36:12PM +0200, Carsten Bormann wrote:
> On 14. Sep 2021, at 19:17, Jürgen Schönwälder <j.schoenwaelder@jacobs-university.de> wrote:
> > 
> > If other data models use an extended integer range and -1 to indicate
> > a special case, then this may be a strong reason to do the same in the
> > IETF YANG data model.
> 
> Any data model based on FORTRAN certainly will do.
> Most other data modeling languages by now should have nullable/optional/Maybe types.
> 
> Going from the actual data type, uint16, to int32, just to accommodate the “not present” case, strikes me as a mistake.
> (Which doesn’t mean that you may not want to do this in an implementation, after having validated the input data.)
> 
> Grüße, Carsten
> 

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>


From nobody Tue Sep 14 12:31:38 2021
Return-Path: <mjethanandani@gmail.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 988043A2A5C; Tue, 14 Sep 2021 12:31:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level: 
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=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 (2048-bit key) header.d=gmail.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 HGpKvXUPIyKJ; Tue, 14 Sep 2021 12:31:04 -0700 (PDT)
Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3E6663A2A35; Tue, 14 Sep 2021 12:31:04 -0700 (PDT)
Received: by mail-pg1-x533.google.com with SMTP id w8so205564pgf.5; Tue, 14 Sep 2021 12:31:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=2H9iVeYorso48oz1oRDG7DLZo1rgUqFS74sha0oGxxU=; b=QFbEHzrm9lBXApDHK/XimTm4JTUn676MZWw4DC3McrE8GrAjyVNpxHCSf4nr7QpEtF X76ntyZPYlguDgA0FSLUsihW9izGmVUFztxzeGbJQY1aN1XNeSv1o0sTrf2gNu97CozH vc3lQn/FnyVt66WynEFLfDYK8XYn5zfQEpV1wtBVQcsIekMFfBOwmssR2j6CgARrXLa0 m75wB7W8c/ktiKMUs8bHzCMS4S1RFi/i+hd/R5lTPRNTQUO9Xr7iaZtRbscSB4zbYTs/ LP6XNpKNHSLENjs0BJ4UeGndReZ3JC5Qf030N273F2AkzG8isPANtrA4sY3IslegjYE3 b5wg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=2H9iVeYorso48oz1oRDG7DLZo1rgUqFS74sha0oGxxU=; b=V9h7CxOZ5dhKCbedefoUgHrU86O7qpYi6qkJZqQeGYS+QmUjUTkmDeIqL5sqZ45OSH DaaJMs8Vo0BNrJW4D5373qKcpWXbtA3upE9Iem5LnrsYukHD2AhmgL4Xj+Zb0DzyS72V u3yvHkRikiphVc5ePbQ8DQsAhXndtlRUH7aIdXzH0suhH2jDcEuEINXSiOQV4xWfG33J uT/kTg42KX4enras2gTjRTzm7YT4wkhHfNvUA+MiWqZnNzyreHwSfoMUF7PCa7jg2JnI ARg2uTsSIL67KvA50/uLF7zdQrwavWIVHD9VIPqZ8LZtX85QQtlTSl/YfND2AyYHVwlJ adFQ==
X-Gm-Message-State: AOAM532zyhXpdQTDnvC+Q8F1q33SHziFJAXdd1As4NFLLwhdZyJNMof5 XgJp9Hciin/XSjIMqOjqcLg=
X-Google-Smtp-Source: ABdhPJzYOAYV9XNnTvxt4ZpeSCV5LB+EN9nB1Ey53Q5PYyNLo1fvQ3L/9oKBLE8qkn2/oqOrRz3kmg==
X-Received: by 2002:a63:e413:: with SMTP id a19mr16895596pgi.408.1631647862322;  Tue, 14 Sep 2021 12:31:02 -0700 (PDT)
Received: from [192.168.1.133] (c-69-181-169-15.hsd1.ca.comcast.net. [69.181.169.15]) by smtp.gmail.com with ESMTPSA id e2sm11272886pfn.141.2021.09.14.12.31.01 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Sep 2021 12:31:01 -0700 (PDT)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <3CCE870C-9D69-450F-A795-84B791DDAA8E@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_46357380-FC98-4E5C-89E1-7D50FDD1BB2F"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
Date: Tue, 14 Sep 2021 12:31:00 -0700
In-Reply-To: <20210914.201758.1827806402442755510.id@4668.se>
Cc: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Babel at IETF <babel@ietf.org>, "STARK, BARBARA H" <bs7652@att.com>, netmod@ietf.org
To: =?utf-8?Q?Martin_Bj=C3=B6rklund?= <mbj+ietf@4668.se>
References: <DM6PR02MB692446F49506791E90B0D23EC3DA9@DM6PR02MB6924.namprd02.prod.outlook.com> <20210914171729.ph5q77zm46z3zvxi@anna.jacobs.jacobs-university.de> <5F6A0BF9-06F9-41E9-8B9A-701608875934@gmail.com> <20210914.201758.1827806402442755510.id@4668.se>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/rmjdXkvPftIQnusd_Geo5DIYVHk>
Subject: Re: [babel] [netmod]  NULL value for uint16
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Sep 2021 19:31:21 -0000

--Apple-Mail=_46357380-FC98-4E5C-89E1-7D50FDD1BB2F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi Martin,

> On Sep 14, 2021, at 11:17 AM, Martin Bj=C3=B6rklund <mbj+ietf@4668.se> =
wrote:
>=20
> Mahesh Jethanandani <mjethanandani@gmail.com =
<mailto:mjethanandani@gmail.com>> wrote:
>> Hi Juergen,
>>=20
>>> On Sep 14, 2021, at 10:17 AM, J=C3=BCrgen Sch=C3=B6nw=C3=A4lder =
<j.schoenwaelder@jacobs-university.de> wrote:
>>>=20
>>> On Tue, Sep 14, 2021 at 01:51:36PM +0000, STARK, BARBARA H wrote:
>>>=20
>>>> As I mentioned, BBF TR-181 uses int with range 	-1:65535 with -1 =
meaning NULL. So I certainly have no issue with that approach. The =
language in RFC9046 was intended to make sure this approach was allowed, =
since this is how it's done in TR-181.
>>>> I guess I am a bit surprised to learn that YANG doesn't seem to =
have a preferred way to handle this. Unfortunately, given my =
considerable lack of YANG expertise, I can't recommend the "right" way =
to model this in YANG. I can only insist that the model be able to =
express a value in the range 0 to 2^16 and NULL value for these =
parameters.=20
>>>> Independent of the fact that the words in RFC9046 don't seem to =
have expressed this perfectly clearly, that is absolutely the intent of =
those words. I apologize that the RFC9046 words don't seem to be =
sufficiently clear.=20
>>>>=20
>>>> Since you do mention the possibility of using -1 for NULL, I'd like =
to understand who might find this approach unacceptable? The language in =
the information model was definitely intended to express the =
acceptability of using this approach from a Babel WG perspective =
(because I knew that's how it would be done in TR-181). Would this be =
unacceptable to people with YANG expertise? I think my preference would =
be to use this approach, since it would provide additional consistency =
between the TR-181 and YANG models.
>>>=20
>>> If other data models use an extended integer range and -1 to =
indicate
>>> a special case, then this may be a strong reason to do the same in =
the
>>> IETF YANG data model. Consistency across data models is a value, in
>>> particular for systems that may have to support multiple. While the
>>> conversion of different notations no hard, its one more thing to
>>> potentially get wrong.
>>>=20
>>> If you were starting with a blank sheet of paper, then the YANG =
idiom
>>> would likely be to use a union of a 16-bit integer and a special
>>> (string) value, which might even be of type empty.
>>=20
>> I hear two suggestions on what the =E2=80=9Cother=E2=80=9D construct =
should be in the union statement. Use =E2=80=98empty=E2=80=99 as you =
suggest, or use =E2=80=98boolean=E2=80=99. Are there any pros/cons for =
either of the approaches?
>=20
> 'boolean' doesn't seem right, since that would mean that you could see
> the values 'true' | 'false' | <uint16>.
>=20
> If you want a union I suggest a union with one enum, perhaps:
>=20
>  type union {
>    type enumeration {
>      enum null;
>    }
>    type uint16;
>  }
>=20
> But J=C3=BCrgens point about using a solution that other data models =
use
> makes sense.

That would mean something like this:

type union {
  type empty;
  type uint16;
}

Right?

>=20
> Yet another alternative could be to not instantiate this leaf when the
> value in the information model is null.

I have never been very clear on what happens when the leaf goes from a =
defined value to null. In other words, how do you =E2=80=9Cun-instantiate=E2=
=80=9D a leaf? Do you delete it?

Cheers.

>=20
>=20
>=20
> /martin
>=20
>=20
>=20
>=20
>=20
>>=20
>>>=20
>>> One of the reasons to have no common approach to these kind of
>>> questions is to provide the flexibility needed to do the right thing
>>> in different contexts. Of course, you may want to stay consistent in =
a
>>> data model or a collection of related data model.
>>>=20
>>> I skimmed RFC 8407 and it seems we do not have text discussion this
>>> specific situation. Perhaps we should have text, perhaps I have
>>> overlooked it. ;-) I think there are different patterns to choose =
from
>>> to handle this situation with their various pros and cons.
>>>=20
>>> /js
>>>=20
>>> --=20
>>> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
>>> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | =
Germany
>>> Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>
>>=20
>> Mahesh Jethanandani
>> mjethanandani@gmail.com

Mahesh Jethanandani
mjethanandani@gmail.com






--Apple-Mail=_46357380-FC98-4E5C-89E1-7D50FDD1BB2F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">Hi =
Martin,<br class=3D""><div><br class=3D""><blockquote type=3D"cite" =
class=3D""><div class=3D"">On Sep 14, 2021, at 11:17 AM, Martin =
Bj=C3=B6rklund &lt;<a href=3D"mailto:mbj+ietf@4668.se" =
class=3D"">mbj+ietf@4668.se</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;" class=3D"">Mahesh Jethanandani =
&lt;</span><a href=3D"mailto:mjethanandani@gmail.com" =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" =
class=3D"">mjethanandani@gmail.com</a><span style=3D"caret-color: rgb(0, =
0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">&gt; wrote:</span><br style=3D"caret-color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><blockquote type=3D"cite" =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D"">Hi Juergen,<br class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D"">On Sep 14, 2021, at =
10:17 AM, J=C3=BCrgen Sch=C3=B6nw=C3=A4lder &lt;<a =
href=3D"mailto:j.schoenwaelder@jacobs-university.de" =
class=3D"">j.schoenwaelder@jacobs-university.de</a>&gt; wrote:<br =
class=3D""><br class=3D"">On Tue, Sep 14, 2021 at 01:51:36PM +0000, =
STARK, BARBARA H wrote:<br class=3D""><br class=3D""><blockquote =
type=3D"cite" class=3D"">As I mentioned, BBF TR-181 uses int with =
range<span class=3D"Apple-converted-space">&nbsp;</span><span =
class=3D"Apple-tab-span" style=3D"white-space: pre;">	</span>-1:65535 =
with -1 meaning NULL. So I certainly have no issue with that approach. =
The language in RFC9046 was intended to make sure this approach was =
allowed, since this is how it's done in TR-181.<br class=3D"">I guess I =
am a bit surprised to learn that YANG doesn't seem to have a preferred =
way to handle this. Unfortunately, given my considerable lack of YANG =
expertise, I can't recommend the "right" way to model this in YANG. I =
can only insist that the model be able to express a value in the range 0 =
to 2^16 and NULL value for these parameters.<span =
class=3D"Apple-converted-space">&nbsp;</span><br class=3D"">Independent =
of the fact that the words in RFC9046 don't seem to have expressed this =
perfectly clearly, that is absolutely the intent of those words. I =
apologize that the RFC9046 words don't seem to be sufficiently =
clear.<span class=3D"Apple-converted-space">&nbsp;</span><br =
class=3D""><br class=3D"">Since you do mention the possibility of using =
-1 for NULL, I'd like to understand who might find this approach =
unacceptable? The language in the information model was definitely =
intended to express the acceptability of using this approach from a =
Babel WG perspective (because I knew that's how it would be done in =
TR-181). Would this be unacceptable to people with YANG expertise? I =
think my preference would be to use this approach, since it would =
provide additional consistency between the TR-181 and YANG models.<br =
class=3D""></blockquote><br class=3D"">If other data models use an =
extended integer range and -1 to indicate<br class=3D"">a special case, =
then this may be a strong reason to do the same in the<br class=3D"">IETF =
YANG data model. Consistency across data models is a value, in<br =
class=3D"">particular for systems that may have to support multiple. =
While the<br class=3D"">conversion of different notations no hard, its =
one more thing to<br class=3D"">potentially get wrong.<br class=3D""><br =
class=3D"">If you were starting with a blank sheet of paper, then the =
YANG idiom<br class=3D"">would likely be to use a union of a 16-bit =
integer and a special<br class=3D"">(string) value, which might even be =
of type empty.<br class=3D""></blockquote><br class=3D"">I hear two =
suggestions on what the =E2=80=9Cother=E2=80=9D construct should be in =
the union statement. Use =E2=80=98empty=E2=80=99 as you suggest, or use =
=E2=80=98boolean=E2=80=99. Are there any pros/cons for either of the =
approaches?<br class=3D""></blockquote><br style=3D"caret-color: rgb(0, =
0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">'boolean' doesn't seem right, since that would mean that you =
could see</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;" class=3D"">the values =
'true' | 'false' | &lt;uint16&gt;.</span><br style=3D"caret-color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><br style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">If you want a union I suggest a union with one enum, =
perhaps:</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D""><br style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;" class=3D"">&nbsp;type =
union {</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;" =
class=3D"">&nbsp;&nbsp;&nbsp;type enumeration {</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;" class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;enum=
 null;</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;" =
class=3D"">&nbsp;&nbsp;&nbsp;}</span><br style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">&nbsp;&nbsp;&nbsp;type uint16;</span><br style=3D"caret-color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">&nbsp;}</span><br style=3D"caret-color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><br style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">But J=C3=BCrgens point about using a solution that other data =
models use</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;" class=3D"">makes =
sense.</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D""></div></blockquote><div><br class=3D""></div>That =
would mean something like this:</div><div><br class=3D""></div><div>type =
union {</div><div>&nbsp; type empty;</div><div>&nbsp; type =
uint16;</div><div>}</div><div><br =
class=3D""></div><div>Right?</div><div><br class=3D""><blockquote =
type=3D"cite" class=3D""><div class=3D""><br style=3D"caret-color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">Yet another alternative could be to not instantiate this leaf =
when the</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;" class=3D"">value in the =
information model is null.</span><br style=3D"caret-color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""></div></blockquote><div><br =
class=3D""></div>I have never been very clear on what happens when the =
leaf goes from a defined value to null. In other words, how do you =
=E2=80=9Cun-instantiate=E2=80=9D a leaf? Do you delete it?</div><div><br =
class=3D""></div><div>Cheers.</div><div><br class=3D""><blockquote =
type=3D"cite" class=3D""><div class=3D""><br style=3D"caret-color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><br style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><br style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">/martin</span><br style=3D"caret-color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><br style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><br style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><br style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><br style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><br style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><blockquote type=3D"cite" =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><br class=3D""><blockquote =
type=3D"cite" class=3D""><br class=3D"">One of the reasons to have no =
common approach to these kind of<br class=3D"">questions is to provide =
the flexibility needed to do the right thing<br class=3D"">in different =
contexts. Of course, you may want to stay consistent in a<br =
class=3D"">data model or a collection of related data model.<br =
class=3D""><br class=3D"">I skimmed RFC 8407 and it seems we do not have =
text discussion this<br class=3D"">specific situation. Perhaps we should =
have text, perhaps I have<br class=3D"">overlooked it. ;-) I think there =
are different patterns to choose from<br class=3D"">to handle this =
situation with their various pros and cons.<br class=3D""><br =
class=3D"">/js<br class=3D""><br class=3D"">--<span =
class=3D"Apple-converted-space">&nbsp;</span><br class=3D"">Juergen =
Schoenwaelder =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Jacobs =
University Bremen gGmbH<br class=3D"">Phone: +49 421 200 3587 =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Campus Ring 1 | 28759 =
Bremen | Germany<br class=3D"">Fax: &nbsp;&nbsp;+49 421 200 3103 =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<a =
href=3D"https://www.jacobs-university.de/" =
class=3D"">https://www.jacobs-university.de/</a>&gt;<br =
class=3D""></blockquote><br class=3D"">Mahesh Jethanandani<br =
class=3D""><a href=3D"mailto:mjethanandani@gmail.com" =
class=3D"">mjethanandani@gmail.com</a></blockquote></div></blockquote></di=
v><br class=3D""><div class=3D"">
<div dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, =
0); letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D""><div style=3D"color: rgb(0, 0, 0); letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D""><div class=3D"">Mahesh Jethanandani</div><div class=3D""><a =
href=3D"mailto:mjethanandani@gmail.com" =
class=3D"">mjethanandani@gmail.com</a></div><div class=3D""><br =
class=3D""></div></div><br class=3D"Apple-interchange-newline"></div><br =
class=3D"Apple-interchange-newline"><br =
class=3D"Apple-interchange-newline">
</div>
<br class=3D""></body></html>=

--Apple-Mail=_46357380-FC98-4E5C-89E1-7D50FDD1BB2F--


From nobody Tue Sep 14 15:51:17 2021
Return-Path: <mjethanandani@gmail.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 110F13A3495; Tue, 14 Sep 2021 15:51:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level: 
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=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 (2048-bit key) header.d=gmail.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 XvLXbO7h4fba; Tue, 14 Sep 2021 15:51:01 -0700 (PDT)
Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9E2013A34C1; Tue, 14 Sep 2021 15:51:01 -0700 (PDT)
Received: by mail-pg1-x52f.google.com with SMTP id w8so737136pgf.5; Tue, 14 Sep 2021 15:51:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=Qi288jpIEntwg6YFTY3A6n48C/qAkL4edjtpSYTtoDI=; b=Jp50YlGXggx8juHGLQTRpt6B2CHIhh70WoQOe4wGJ//eTzNNOyaqHjDdWi+OLZ/4PP 4bzeqklt+nim4sX0BrGuHfFFsCOLO4sfaBB5d9QEDntnFJxXhC+1wC2+Plpmy+4vBOq9 gwivtdTtW27SOiZksXWse22UdHbXe2A777ANhH118wNWQjKtYilI6/bz3MbtXKX4F4WS 3JQql09cpcfAUAC93xKVZKKZehUy5r/woHb5WT6EucieaVoFj8TprvQiBMMATqoSUhW0 QtrXGXwBfYSKU6+eSCEgMgUMF0c8R+hVL3euKWufjg4K45Ks2J0PgeHqUxQI2Pe8xfOD Cjag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=Qi288jpIEntwg6YFTY3A6n48C/qAkL4edjtpSYTtoDI=; b=OutHTp55xYpZD9kFmresjRm2hUdmRjHBMn/hK2SY6MWXo2BeCgiPrAg4YROkNDPFTD 31k/WFGnMcigXn1zEyPSnhjuR6GgkoI8thU0Wxa6GUW0ZADH5n2IRxa3CfzJp0ecJTFN mJVkzMMsr0CVJ7Ib0n95+Io12TtIfckKS3sSt0Hw1vhA6tx4fk446nb1M97eYuKm789e hpfiSRHf90yTHipRf04GLApTPH9yNisFOqZAV/19xQmbGY/9IXiPbA1EIMwspqg6DLy8 eOsAL8B0hblWWCpSh7Tf9mosPaNPBUs3xzUJFt0pKIbVqjWUPiqxfNSakbek0/Eli0Rv sXhA==
X-Gm-Message-State: AOAM5309XEqpjk1Ku3gKi0W9TaxNGIH/CvKtCECBXN1XORdOfoxm7DDq 586vcD61z2NPS9H089cEFmQ=
X-Google-Smtp-Source: ABdhPJyW1FftbbAv1tKA8hN9PJqC4fpA8yP/dIjAWkaGsDKzZGUlZcv3/sBMDNe6b7cReHGNKVSE2w==
X-Received: by 2002:a63:798c:: with SMTP id u134mr17725084pgc.479.1631659859928;  Tue, 14 Sep 2021 15:50:59 -0700 (PDT)
Received: from [192.168.1.133] (c-69-181-169-15.hsd1.ca.comcast.net. [69.181.169.15]) by smtp.gmail.com with ESMTPSA id a71sm11666550pfd.86.2021.09.14.15.50.58 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Sep 2021 15:50:59 -0700 (PDT)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <C8C1F5DC-A7E2-403B-B308-0191893E23CD@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_83D425F1-5AEF-4183-8B9A-989202EE4F35"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
Date: Tue, 14 Sep 2021 15:50:58 -0700
In-Reply-To: <3CCE870C-9D69-450F-A795-84B791DDAA8E@gmail.com>
Cc: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Babel at IETF <babel@ietf.org>, "STARK, BARBARA H" <bs7652@att.com>, netmod@ietf.org
To: =?utf-8?Q?Martin_Bj=C3=B6rklund?= <mbj+ietf@4668.se>
References: <DM6PR02MB692446F49506791E90B0D23EC3DA9@DM6PR02MB6924.namprd02.prod.outlook.com> <20210914171729.ph5q77zm46z3zvxi@anna.jacobs.jacobs-university.de> <5F6A0BF9-06F9-41E9-8B9A-701608875934@gmail.com> <20210914.201758.1827806402442755510.id@4668.se> <3CCE870C-9D69-450F-A795-84B791DDAA8E@gmail.com>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/cA85ldZhmKi3Ce4avinPNyI2Ndo>
Subject: Re: [babel] [netmod]  NULL value for uint16
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Sep 2021 22:51:08 -0000

--Apple-Mail=_83D425F1-5AEF-4183-8B9A-989202EE4F35
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

A related question.

> On Sep 14, 2021, at 12:31 PM, Mahesh Jethanandani =
<mjethanandani@gmail.com> wrote:
>=20
> Hi Martin,
>=20
>> On Sep 14, 2021, at 11:17 AM, Martin Bj=C3=B6rklund <mbj+ietf@4668.se =
<mailto:mbj+ietf@4668.se>> wrote:
>>=20
>> Mahesh Jethanandani <mjethanandani@gmail.com =
<mailto:mjethanandani@gmail.com>> wrote:
>>> Hi Juergen,
>>>=20
>>>> On Sep 14, 2021, at 10:17 AM, J=C3=BCrgen Sch=C3=B6nw=C3=A4lder =
<j.schoenwaelder@jacobs-university.de =
<mailto:j.schoenwaelder@jacobs-university.de>> wrote:
>>>>=20
>>>> On Tue, Sep 14, 2021 at 01:51:36PM +0000, STARK, BARBARA H wrote:
>>>>=20
>>>>> As I mentioned, BBF TR-181 uses int with range 	-1:65535 with -1 =
meaning NULL. So I certainly have no issue with that approach. The =
language in RFC9046 was intended to make sure this approach was allowed, =
since this is how it's done in TR-181.
>>>>> I guess I am a bit surprised to learn that YANG doesn't seem to =
have a preferred way to handle this. Unfortunately, given my =
considerable lack of YANG expertise, I can't recommend the "right" way =
to model this in YANG. I can only insist that the model be able to =
express a value in the range 0 to 2^16 and NULL value for these =
parameters.=20
>>>>> Independent of the fact that the words in RFC9046 don't seem to =
have expressed this perfectly clearly, that is absolutely the intent of =
those words. I apologize that the RFC9046 words don't seem to be =
sufficiently clear.=20
>>>>>=20
>>>>> Since you do mention the possibility of using -1 for NULL, I'd =
like to understand who might find this approach unacceptable? The =
language in the information model was definitely intended to express the =
acceptability of using this approach from a Babel WG perspective =
(because I knew that's how it would be done in TR-181). Would this be =
unacceptable to people with YANG expertise? I think my preference would =
be to use this approach, since it would provide additional consistency =
between the TR-181 and YANG models.
>>>>=20
>>>> If other data models use an extended integer range and -1 to =
indicate
>>>> a special case, then this may be a strong reason to do the same in =
the
>>>> IETF YANG data model. Consistency across data models is a value, in
>>>> particular for systems that may have to support multiple. While the
>>>> conversion of different notations no hard, its one more thing to
>>>> potentially get wrong.
>>>>=20
>>>> If you were starting with a blank sheet of paper, then the YANG =
idiom
>>>> would likely be to use a union of a 16-bit integer and a special
>>>> (string) value, which might even be of type empty.
>>>=20
>>> I hear two suggestions on what the =E2=80=9Cother=E2=80=9D construct =
should be in the union statement. Use =E2=80=98empty=E2=80=99 as you =
suggest, or use =E2=80=98boolean=E2=80=99. Are there any pros/cons for =
either of the approaches?
>>=20
>> 'boolean' doesn't seem right, since that would mean that you could =
see
>> the values 'true' | 'false' | <uint16>.
>>=20
>> If you want a union I suggest a union with one enum, perhaps:
>>=20
>>  type union {
>>    type enumeration {
>>      enum null;
>>    }
>>    type uint16;
>>  }
>>=20
>> But J=C3=BCrgens point about using a solution that other data models =
use
>> makes sense.
>=20
> That would mean something like this:
>=20
> type union {
>   type empty;
>   type uint16;
> }
>=20
> Right?

RFC 7950 says that the empty type cannot have a default value. The model =
had the value 0, which represented NULL as the default value for some of =
the attributes. With the suggested change, is there a way in the union =
for the empty type to be the default?

If not, I will have to use Martin=E2=80=99s suggestion above of using a =
null enumeration.

Thanks.

>=20
>>=20
>> Yet another alternative could be to not instantiate this leaf when =
the
>> value in the information model is null.
>=20
> I have never been very clear on what happens when the leaf goes from a =
defined value to null. In other words, how do you =E2=80=9Cun-instantiate=E2=
=80=9D a leaf? Do you delete it?
>=20
> Cheers.
>=20
>>=20
>>=20
>>=20
>> /martin
>>=20
>>=20
>>=20
>>=20
>>=20
>>>=20
>>>>=20
>>>> One of the reasons to have no common approach to these kind of
>>>> questions is to provide the flexibility needed to do the right =
thing
>>>> in different contexts. Of course, you may want to stay consistent =
in a
>>>> data model or a collection of related data model.
>>>>=20
>>>> I skimmed RFC 8407 and it seems we do not have text discussion this
>>>> specific situation. Perhaps we should have text, perhaps I have
>>>> overlooked it. ;-) I think there are different patterns to choose =
from
>>>> to handle this situation with their various pros and cons.
>>>>=20
>>>> /js
>>>>=20
>>>> --=20
>>>> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
>>>> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | =
Germany
>>>> Fax:   +49 421 200 3103         <https://www.jacobs-university.de/ =
<https://www.jacobs-university.de/>>
>>>=20
>>> Mahesh Jethanandani
>>> mjethanandani@gmail.com <mailto:mjethanandani@gmail.com>
> Mahesh Jethanandani
> mjethanandani@gmail.com <mailto:mjethanandani@gmail.com>
Mahesh Jethanandani
mjethanandani@gmail.com






--Apple-Mail=_83D425F1-5AEF-4183-8B9A-989202EE4F35
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">A =
related question.<br class=3D""><div><br class=3D""><blockquote =
type=3D"cite" class=3D""><div class=3D"">On Sep 14, 2021, at 12:31 PM, =
Mahesh Jethanandani &lt;<a href=3D"mailto:mjethanandani@gmail.com" =
class=3D"">mjethanandani@gmail.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;" class=3D"">Hi Martin,</span><br class=3D"" =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><div =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D"">On Sep =
14, 2021, at 11:17 AM, Martin Bj=C3=B6rklund &lt;<a =
href=3D"mailto:mbj+ietf@4668.se" class=3D"">mbj+ietf@4668.se</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><span =
class=3D"" style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;">Mahesh Jethanandani =
&lt;</span><a href=3D"mailto:mjethanandani@gmail.com" class=3D"" =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: =
0px;">mjethanandani@gmail.com</a><span class=3D"" style=3D"caret-color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;">&gt; =
wrote:</span><br class=3D"" style=3D"caret-color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><blockquote type=3D"cite" class=3D"" =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;">Hi Juergen,<br class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D"">On Sep 14, 2021, at =
10:17 AM, J=C3=BCrgen Sch=C3=B6nw=C3=A4lder &lt;<a =
href=3D"mailto:j.schoenwaelder@jacobs-university.de" =
class=3D"">j.schoenwaelder@jacobs-university.de</a>&gt; wrote:<br =
class=3D""><br class=3D"">On Tue, Sep 14, 2021 at 01:51:36PM +0000, =
STARK, BARBARA H wrote:<br class=3D""><br class=3D""><blockquote =
type=3D"cite" class=3D"">As I mentioned, BBF TR-181 uses int with =
range<span class=3D"Apple-converted-space">&nbsp;</span><span =
class=3D"Apple-tab-span" style=3D"white-space: pre;">	</span>-1:65535 =
with -1 meaning NULL. So I certainly have no issue with that approach. =
The language in RFC9046 was intended to make sure this approach was =
allowed, since this is how it's done in TR-181.<br class=3D"">I guess I =
am a bit surprised to learn that YANG doesn't seem to have a preferred =
way to handle this. Unfortunately, given my considerable lack of YANG =
expertise, I can't recommend the "right" way to model this in YANG. I =
can only insist that the model be able to express a value in the range 0 =
to 2^16 and NULL value for these parameters.<span =
class=3D"Apple-converted-space">&nbsp;</span><br class=3D"">Independent =
of the fact that the words in RFC9046 don't seem to have expressed this =
perfectly clearly, that is absolutely the intent of those words. I =
apologize that the RFC9046 words don't seem to be sufficiently =
clear.<span class=3D"Apple-converted-space">&nbsp;</span><br =
class=3D""><br class=3D"">Since you do mention the possibility of using =
-1 for NULL, I'd like to understand who might find this approach =
unacceptable? The language in the information model was definitely =
intended to express the acceptability of using this approach from a =
Babel WG perspective (because I knew that's how it would be done in =
TR-181). Would this be unacceptable to people with YANG expertise? I =
think my preference would be to use this approach, since it would =
provide additional consistency between the TR-181 and YANG models.<br =
class=3D""></blockquote><br class=3D"">If other data models use an =
extended integer range and -1 to indicate<br class=3D"">a special case, =
then this may be a strong reason to do the same in the<br class=3D"">IETF =
YANG data model. Consistency across data models is a value, in<br =
class=3D"">particular for systems that may have to support multiple. =
While the<br class=3D"">conversion of different notations no hard, its =
one more thing to<br class=3D"">potentially get wrong.<br class=3D""><br =
class=3D"">If you were starting with a blank sheet of paper, then the =
YANG idiom<br class=3D"">would likely be to use a union of a 16-bit =
integer and a special<br class=3D"">(string) value, which might even be =
of type empty.<br class=3D""></blockquote><br class=3D"">I hear two =
suggestions on what the =E2=80=9Cother=E2=80=9D construct should be in =
the union statement. Use =E2=80=98empty=E2=80=99 as you suggest, or use =
=E2=80=98boolean=E2=80=99. Are there any pros/cons for either of the =
approaches?<br class=3D""></blockquote><br class=3D"" =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><span class=3D"" =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;">'boolean' doesn't seem right, since that =
would mean that you could see</span><br class=3D"" style=3D"caret-color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><span class=3D"" style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;">the =
values 'true' | 'false' | &lt;uint16&gt;.</span><br class=3D"" =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><br class=3D"" =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><span class=3D"" =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;">If you want a union I suggest a union with =
one enum, perhaps:</span><br class=3D"" style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><br class=3D"" style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><span class=3D"" style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline =
!important;">&nbsp;type union {</span><br class=3D"" style=3D"caret-color:=
 rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><span class=3D"" style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline =
!important;">&nbsp;&nbsp;&nbsp;type enumeration {</span><br class=3D"" =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><span class=3D"" =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;enum =
null;</span><br class=3D"" style=3D"caret-color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><span class=3D"" style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline =
!important;">&nbsp;&nbsp;&nbsp;}</span><br class=3D"" =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><span class=3D"" =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;">&nbsp;&nbsp;&nbsp;type uint16;</span><br =
class=3D"" style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;"><span class=3D"" style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;">&nbsp;}</span><br =
class=3D"" style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;"><br class=3D"" style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;"><span class=3D"" style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;">But J=C3=BCrgens point =
about using a solution that other data models use</span><br class=3D"" =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><span class=3D"" =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;">makes sense.</span><br class=3D"" =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: =
none;"></div></blockquote><div class=3D""><br class=3D""></div>That =
would mean something like this:</div><div style=3D"caret-color: rgb(0, =
0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><br class=3D""></div><div =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D"">type =
union {</div><div style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D"">&nbsp; type empty;</div><div style=3D"caret-color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D"">&nbsp; type uint16;</div><div =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" =
class=3D"">}</div><div style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D""><br class=3D""></div><div style=3D"caret-color: rgb(0, =
0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D"">Right?</div></div></blockquote><div><br=
 class=3D""></div>RFC 7950 says that the empty type cannot have a =
default value. The model had the value 0, which represented NULL as the =
default value for some of the attributes. With the suggested change, is =
there a way in the union for the empty type to be the =
default?</div><div><br class=3D""></div><div>If not, I will have to use =
Martin=E2=80=99s suggestion above of using a null =
enumeration.</div><div><br class=3D""></div><div>Thanks.</div><div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><br =
class=3D"" style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;"><span class=3D"" style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;">Yet another alternative =
could be to not instantiate this leaf when the</span><br class=3D"" =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><span class=3D"" =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;">value in the information model is =
null.</span><br class=3D"" style=3D"caret-color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"></div></blockquote><div class=3D""><br =
class=3D""></div>I have never been very clear on what happens when the =
leaf goes from a defined value to null. In other words, how do you =
=E2=80=9Cun-instantiate=E2=80=9D a leaf? Do you delete it?</div><div =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><br =
class=3D""></div><div style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D"">Cheers.</div><div style=3D"caret-color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><br class=3D""><blockquote =
type=3D"cite" class=3D""><div class=3D""><br class=3D"" =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><br class=3D"" =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><br class=3D"" =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><span class=3D"" =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;">/martin</span><br class=3D"" =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><br class=3D"" =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><br class=3D"" =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><br class=3D"" =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><br class=3D"" =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><br class=3D"" =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><blockquote =
type=3D"cite" class=3D"" style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><br =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D"">One of =
the reasons to have no common approach to these kind of<br =
class=3D"">questions is to provide the flexibility needed to do the =
right thing<br class=3D"">in different contexts. Of course, you may want =
to stay consistent in a<br class=3D"">data model or a collection of =
related data model.<br class=3D""><br class=3D"">I skimmed RFC 8407 and =
it seems we do not have text discussion this<br class=3D"">specific =
situation. Perhaps we should have text, perhaps I have<br =
class=3D"">overlooked it. ;-) I think there are different patterns to =
choose from<br class=3D"">to handle this situation with their various =
pros and cons.<br class=3D""><br class=3D"">/js<br class=3D""><br =
class=3D"">--<span class=3D"Apple-converted-space">&nbsp;</span><br =
class=3D"">Juergen Schoenwaelder =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Jacobs =
University Bremen gGmbH<br class=3D"">Phone: +49 421 200 3587 =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Campus Ring 1 | 28759 =
Bremen | Germany<br class=3D"">Fax: &nbsp;&nbsp;+49 421 200 3103 =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<a =
href=3D"https://www.jacobs-university.de/" =
class=3D"">https://www.jacobs-university.de/</a>&gt;<br =
class=3D""></blockquote><br class=3D"">Mahesh Jethanandani<br =
class=3D""><a href=3D"mailto:mjethanandani@gmail.com" =
class=3D"">mjethanandani@gmail.com</a></blockquote></div></blockquote></di=
v><br class=3D"" style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;"><div class=3D"" style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;"><div dir=3D"auto" class=3D"" style=3D"caret-color: rgb(0, 0, 0); =
letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: =
after-white-space;"><div class=3D"" style=3D"letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: =
after-white-space;"><div class=3D"">Mahesh Jethanandani</div><div =
class=3D""><a href=3D"mailto:mjethanandani@gmail.com" =
class=3D"">mjethanandani@gmail.com</a></div></div></div></div></div></bloc=
kquote></div><br class=3D""><div class=3D"">
<div dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, =
0); letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D""><div style=3D"color: rgb(0, 0, 0); letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D""><div class=3D"">Mahesh Jethanandani</div><div class=3D""><a =
href=3D"mailto:mjethanandani@gmail.com" =
class=3D"">mjethanandani@gmail.com</a></div><div class=3D""><br =
class=3D""></div></div><br class=3D"Apple-interchange-newline"></div><br =
class=3D"Apple-interchange-newline"><br =
class=3D"Apple-interchange-newline">
</div>
<br class=3D""></body></html>=

--Apple-Mail=_83D425F1-5AEF-4183-8B9A-989202EE4F35--


From nobody Tue Sep 14 16:01:23 2021
Return-Path: <cabo@tzi.org>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B9CAE3A353C; Tue, 14 Sep 2021 16:01:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 UBtaekNt2D1V; Tue, 14 Sep 2021 16:01:16 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EB51F3A353B; Tue, 14 Sep 2021 16:01:15 -0700 (PDT)
Received: from smtpclient.apple (p548dcf6e.dip0.t-ipconnect.de [84.141.207.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4H8Jk00N3Vz2xMf; Wed, 15 Sep 2021 01:01:12 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <20210914191618.khcicr6o4x5sdki3@anna.jacobs.jacobs-university.de>
Date: Wed, 15 Sep 2021 01:01:11 +0200
Cc: "netmod@ietf.org" <netmod@ietf.org>, "STARK, BARBARA H" <bs7652@att.com>,  Babel at IETF <babel@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <21E40C00-5C1B-4C54-9CDB-B99AC14B1F3E@tzi.org>
References: <AM7PR07MB62482A4271AF1CA5013EB136A0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <b1b1cd18-537f-561f-dcb1-9aca41b7d3c9@labn.net> <20210910200902.bic4rhyhp75bgsjz@anna.jacobs.jacobs-university.de> <BBC6AA9F-86C1-4A9C-86FD-AD77668CA9D9@gmail.com> <20210913200455.xot7lihpmqiemm5c@anna.jacobs.jacobs-university.de> <DM6PR02MB69248D2780D5C880CC647783C3D99@DM6PR02MB6924.namprd02.prod.outlook.com> <AM7PR07MB6248BBB558136D1E6F8C1549A0DA9@AM7PR07MB6248.eurprd07.prod.outlook.com> <DM6PR02MB692446F49506791E90B0D23EC3DA9@DM6PR02MB6924.namprd02.prod.outlook.com> <20210914171729.ph5q77zm46z3zvxi@anna.jacobs.jacobs-university.de> <FAE5986C-BE56-44A9-A6A5-1A37D9539F61@tzi.org> <20210914191618.khcicr6o4x5sdki3@anna.jacobs.jacobs-university.de>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/T0dLwJdiJgg2eJTUwDKWlBRsS1E>
Subject: Re: [babel] [netmod]   NULL value for uint16
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Sep 2021 23:01:21 -0000

On 14. Sep 2021, at 21:16, J=C3=BCrgen Sch=C3=B6nw=C3=A4lder =
<j.schoenwaelder@jacobs-university.de> wrote:
>=20
> Carsten,
>=20
> whatever you do, you will at the end need an extra bit.

Sure.  There are 65537 values, so you need at least 16.000022 bits :-)

> If BBF already
> defined to use -1, so be it.

That works for me and is consistent with the information model in 9046.

What I find not so great is the side effect of going from uint16 to =
int32.

I don=E2=80=99t see a big difference between
Optional-uint16 =3D uint16 / -1
and
Optional-uint16 =3D uint16 / empty

I do not like

Optional-uint16 =3D int32

> The alternative is to not instantiate the leaf if there is no value
> and to accept that a client can't tell the difference between 'there
> is no value' and 'the value has been suppressed by authorization'.

Interesting.  I wasn=E2=80=99t aware that this cannot be distinguished =
in YANG.

But an =E2=80=9Cempty=E2=80=9D would be present if it is chosen, no?

Gr=C3=BC=C3=9Fe, Carsten

>=20
> /js
>=20
> PS: You can define a maybe-uint16 type as a union in YANG but yes
>    there is no syntactic sugar to generalize this.
>=20
> On Tue, Sep 14, 2021 at 08:36:12PM +0200, Carsten Bormann wrote:
>> On 14. Sep 2021, at 19:17, J=C3=BCrgen Sch=C3=B6nw=C3=A4lder =
<j.schoenwaelder@jacobs-university.de> wrote:
>>>=20
>>> If other data models use an extended integer range and -1 to =
indicate
>>> a special case, then this may be a strong reason to do the same in =
the
>>> IETF YANG data model.
>>=20
>> Any data model based on FORTRAN certainly will do.
>> Most other data modeling languages by now should have =
nullable/optional/Maybe types.
>>=20
>> Going from the actual data type, uint16, to int32, just to =
accommodate the =E2=80=9Cnot present=E2=80=9D case, strikes me as a =
mistake.
>> (Which doesn=E2=80=99t mean that you may not want to do this in an =
implementation, after having validated the input data.)
>>=20
>> Gr=C3=BC=C3=9Fe, Carsten
>>=20
>=20
> --=20
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>
>=20
> _______________________________________________
> babel mailing list
> babel@ietf.org
> https://www.ietf.org/mailman/listinfo/babel


From nobody Tue Sep 14 16:53:32 2021
Return-Path: <J.Schoenwaelder@jacobs-university.de>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 123DF3A37B8; Tue, 14 Sep 2021 16:53:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=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=jacobsuniversity.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 9aKYsC-wx6ug; Tue, 14 Sep 2021 16:53:25 -0700 (PDT)
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40087.outbound.protection.outlook.com [40.107.4.87]) (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 3B58F3A37B5; Tue, 14 Sep 2021 16:53:24 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cIIqjCjn4FehgqB4aVzSoeef/iFTgFQwe94SRzaTY+jfaVOPd1poLl0ZAsFQpo7L/LYk91Q6NloAR4Ljxx/16DlM8zPNFfLGQOecpEbXpTLkSxbl3zPJ56Id//cQAZsMk9l6WPWCjjQYEDPFhpN6xVkkvez+OLnYRvAGAPkWvGYHjNehYqdEUPORwgMMRQF01805yyMMqEM+sQDLBuhaoR/XoS9N6cNcUp7sTTrWPsAbSuAykyVOSxlRn5TtvUHHG7BuBlW5871NFyxyyURbEH2+rvVsKeEDHJHTXVANMXm+2bcN1yeJRnkEn6Z8/PjxftCMT+w4WC0lazaexXpOHQ==
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;  bh=6P9XIcPKByzN0tOVWbWhYdrx6hD7rKubDHAG6qMe4Ws=; b=Q02jZ//upKeoheZnH2FZC9lZ/pJ/KXpjwPvQMNYVO5HEFWkX5WRorHe5NlK0BYaonjBxbwp2n9c1zkhTTeaoW2s9vbi9x0vMptXSVImcRQ5diFoU7r8wIAcfPew8q/4ufXooBlq223SqhFN7yOptGoCHEi8CYJ03npBSud7W/EqO4+z1ilkfAKJmyJjGVYOfN+YjJMnDA/58CF6ny/CRxiJv+QOmCgFfSOt1w9hUdR7iNwJqkzWDCVLhkLLUgPvwDq3IsQmQo7XsdIfUhuYwqNKiJ8UroRq+WAs8igvjBiKOh2if8skinPMPh5vJLp9gq5GTEWR30pv3iJ3AVTWoGA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=jacobs-university.de; dmarc=pass action=none header.from=jacobs-university.de; dkim=pass header.d=jacobs-university.de; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jacobsuniversity.onmicrosoft.com; s=selector2-jacobsuniversity-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6P9XIcPKByzN0tOVWbWhYdrx6hD7rKubDHAG6qMe4Ws=; b=ruQ5w7FUj7qpa1D1I0rE0/o/8nPDOy4xugQqmY3Wra2u7iRgsxjxU/kCbvEw0+HZetT7iAtUva7SgRi8+kQem7d4CKOyfc0SyLf6UXqldC+/e4+Uv8IYQdOfZMdbLSa+1TE9GISMzKEQXQulNXX7B7wxfXcGo3ySYh6xstla7LM=
Authentication-Results: tzi.org; dkim=none (message not signed) header.d=none;tzi.org; dmarc=none action=none header.from=jacobs-university.de;
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:194::23) by AM9P190MB1267.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:264::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14; Tue, 14 Sep 2021 23:53:20 +0000
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::6539:572:25dd:e6ab]) by AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::6539:572:25dd:e6ab%7]) with mapi id 15.20.4500.019; Tue, 14 Sep 2021 23:53:20 +0000
Date: Wed, 15 Sep 2021 01:53:19 +0200
From: =?utf-8?B?SsO8cmdlbiBTY2jDtm53w6RsZGVy?= <j.schoenwaelder@jacobs-university.de>
To: Carsten Bormann <cabo@tzi.org>
Cc: "netmod@ietf.org" <netmod@ietf.org>, "STARK, BARBARA H" <bs7652@att.com>, Babel at IETF <babel@ietf.org>
Message-ID: <20210914235319.is4x5nzuqdz26dv4@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Carsten Bormann <cabo@tzi.org>, "netmod@ietf.org" <netmod@ietf.org>, "STARK, BARBARA H" <bs7652@att.com>, Babel at IETF <babel@ietf.org>
References: <20210910200902.bic4rhyhp75bgsjz@anna.jacobs.jacobs-university.de> <BBC6AA9F-86C1-4A9C-86FD-AD77668CA9D9@gmail.com> <20210913200455.xot7lihpmqiemm5c@anna.jacobs.jacobs-university.de> <DM6PR02MB69248D2780D5C880CC647783C3D99@DM6PR02MB6924.namprd02.prod.outlook.com> <AM7PR07MB6248BBB558136D1E6F8C1549A0DA9@AM7PR07MB6248.eurprd07.prod.outlook.com> <DM6PR02MB692446F49506791E90B0D23EC3DA9@DM6PR02MB6924.namprd02.prod.outlook.com> <20210914171729.ph5q77zm46z3zvxi@anna.jacobs.jacobs-university.de> <FAE5986C-BE56-44A9-A6A5-1A37D9539F61@tzi.org> <20210914191618.khcicr6o4x5sdki3@anna.jacobs.jacobs-university.de> <21E40C00-5C1B-4C54-9CDB-B99AC14B1F3E@tzi.org>
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <21E40C00-5C1B-4C54-9CDB-B99AC14B1F3E@tzi.org>
X-ClientProxiedBy: AM0PR02CA0144.eurprd02.prod.outlook.com (2603:10a6:20b:28d::11) To AM0P190MB0641.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:194::23)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from localhost (212.201.44.244) by AM0PR02CA0144.eurprd02.prod.outlook.com (2603:10a6:20b:28d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.15 via Frontend Transport; Tue, 14 Sep 2021 23:53:20 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 2abdddce-c058-40e2-0a1a-08d977dad489
X-MS-TrafficTypeDiagnostic: AM9P190MB1267:
X-MS-Exchange-Transport-Forked: True
X-Microsoft-Antispam-PRVS: <AM9P190MB1267049E126648BA40981F06DEDA9@AM9P190MB1267.EURP190.PROD.OUTLOOK.COM>
X-MS-Oob-TLC-OOBClassifiers: OLM:8882;
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: /x1EW+7V8GwkcUGABgbnu7yhCDIqV5Z3KjqMVjl1fr8rc0bCuMUcQmRSk6r32Jsj3vkImeN/wTdIgvrKTXc9/kLe7dGaDwcv12oLxy4n4IPIBhAzQvV5rc/SL0BJm9/R53P6HOzcM4oxUWIgo0B8SnlL3dhHcs4j3eLE6HZILddD/J2UqU65/G5HL/xl8GD4p8cKUbk91OzDHBQJKLil1j0MgYYLjEqrzBlG9v6IpdoxipzLEn/mKXJ6x/usLYygVlg7EZA2PPNkAY/FbLPMlj/CZ9qiyKxkhIIh7czCcXQmgxSGt2VoqRuJBvx2o7iMFt0SoWdLwJExK0lCm/QFAcgCEFapcCaFYeUewJ+tZMSj0ZyCk5tuTfhBDmIHG4brZ9vkq2YuIxFTJFoDMlbGb35SJuuKWo6YP7xl7WbbkXyiGAnkbnTmgWxwOudm8MZ+9mupnpKLifwbxavEXPMzvjKp4pn4R6HQPKd09G1/8PnXPN7kDu2LeY+d6dEhdiMQdimDflD3l/pNRlqF9qZ5Z4m8mkB+C2cj+ZJ4P7CTeNMduVJ4VRZ/n6az647MCjMCjccKKvf7hTU1GmYGs3fvycR3gb2/EfuQxMLbAf5kmE9aPhuf1h0wvIFmEChvjUI2zih17DMXXlUqKyRcZC6llilS1WZnzqMXclACEGnEHAdNNoCPE17bVGIulyNvt2UtpZtnaQslGu8gqr9RtGnRd7IG20NDWJa4+wfvnp+Mxgmxmy9lMnSHVw+LodQGx5C7aERuIzR28xvwzxyVbuCs6wF1hKsMTqU7uJ+WZ2fVtBM=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:AM0P190MB0641.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE;  SFS:(366004)(5660300002)(54906003)(52116002)(6496006)(85202003)(508600001)(38350700002)(1076003)(8936002)(8676002)(956004)(6916009)(40140700001)(86362001)(2906002)(83380400001)(6486002)(186003)(316002)(85182001)(3450700001)(26005)(66476007)(66946007)(66556008)(38100700002)(4326008); DIR:OUT; SFP:1101; 
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?dWpodlg2MVMzLzBPZ3pxNklONUFNQnNGeTJSRUU1OU9hcHRPcURMaHRzK3lj?= =?utf-8?B?M29MUDQ1MVM3ZnJDVysvNitoc3JCZ2JMQ0hnMk5XM3FibGsrL1FIdnFUL1Ny?= =?utf-8?B?K3ZQWW5LdWtGSytGcnlKZ0pFMnFwUS9NRUJrdnkvTkRZckREZFhhcWJQZ1Fs?= =?utf-8?B?Z3lvN3RPamEyRk16UGlzL05nOGppVi9tdkpwNHdnN1o2T3hZa0wzZWYyN3pC?= =?utf-8?B?SXdYWG9QbU9nUXpHVGJtQTg3UjAvQ1l6TTAxb0tsS0Z5MlNMd2YwZkw0NjM5?= =?utf-8?B?c01iNUhNalJMQWx6NWxLbGJMMzU0c2hiODZyb1ovekxlQi9uZmdGUFN0TkFn?= =?utf-8?B?VDIyRFM2bkJZZlFoOHFtbWk5Sko3N0tpRWd2dVZEMEEvZ2tmbWxKc2YvbG9V?= =?utf-8?B?akhFaHRYbzNWcm84WGZmNFo1TWVyelUwb0FNdmxJcklwVlZHZVpEbVgyQ1F6?= =?utf-8?B?a0VIQ3hFa1Y5TExXM1V5ZDBtQjdvRDRWZDVxWWUrazBHajF5OW0rOVhxcVJ3?= =?utf-8?B?dXZrMzZ4VkR3ZEVEVm5Ra2dtcGVRelhqckRIWkdNQk9oVmQ4czRabFg0MXlx?= =?utf-8?B?QkJpQWZHVFp5Z0tjOVR0VTE0VEdBVFlOYjdZMTdSVzR5YkZCSlJkRVZDM0No?= =?utf-8?B?S2JXckhyM2VjSzNrQ3N0YTdMUzZKSll6NUsvNkRTMzNMaU9reDkvWnJtVVVo?= =?utf-8?B?OHRaQ3hWSitwYm9BSmFCclBIc3BZWTU0WW8yNUVGTmQvZFJrR0FSdnJNeXha?= =?utf-8?B?c0RiSWJpRGtnMUZMVkNiWFVnNWgzM2ZrZzhzdS92ZytRRWM1U0ZyamZRZGZp?= =?utf-8?B?U1gySVlrbWtjTHZPK2NMT0dvaGJabkJvSGhEemxkSmN2eUJQeEFlMjRnUjE5?= =?utf-8?B?cVYvK0gvQnBJaEtiblNpQityTHpneXVaWm82aU51SmZaUjl5RVY1b09uSHJP?= =?utf-8?B?OU0rQ003aGtlaXpzNU1VeG13OGcydHdIYURqTS9MbDFDQ2w3dS9ESm9RYnpt?= =?utf-8?B?ZHQweldXdHgxdHpMd01wNnRWQjR3KzdIcHE2eThxWEpzSmJiZjVHTmJWZnJS?= =?utf-8?B?YldqaXNOUktzbm8xZVJWZjNCWFU3SG85cC85UjBSaVJTZEFEWGJjY2pSMkJZ?= =?utf-8?B?bzBkclBtbjBDK3Y0S2hpTVptcTZqajJaNmN4QWFSRXJYdmJWMkh5djhaVUd6?= =?utf-8?B?eDdEbzFPQWsxMnlnODNTWjI5bXo1aHEyd2MzNmdVak0yakpxVUpyNVRIcG5t?= =?utf-8?B?eEc1YnlhMitYV2FoK2ZNdUV5dGZQZ3pZTTJXYS9YbktEaVdNeEk4Y3NoaFhU?= =?utf-8?B?UWRoYWZBTENQdHN4ckF0V3dHR0pzY0N5ZzRPL2d6Z0lSeFJzbzMrS3lSdW9M?= =?utf-8?B?amdLenduYWhocmJnR3g0ak1Nc05FcU1GVS9lZkUzeE9kRVZkclZ0Ulg5Z3k1?= =?utf-8?B?cGdCN1VQQWEzMnVJb0JPd2p0RC9BOUN4NnVkTExNV1BzcGJnUFlxUGJ0S3Nu?= =?utf-8?B?NzJHN3kyWFFIR1o4WWNWWFhyLytLQVVzR0lpQTNuYURwVlF5Z01xalhidGMr?= =?utf-8?B?bnB1bUJFMlJIa3MvY3NGREJ1eFYram52Ym41M2VSYzgwbUs0YzQ2Rm5ISEZz?= =?utf-8?B?VmhFWUlIWWxJTWt1TEtLNnU2UEF3bWRxSXZRZEp1VDZ5Sm5Da1p2TlNYUk01?= =?utf-8?B?ckxnbmhmYjgvNXMzY2dRNjM2UGhYOXdqZ2VsZ3VPY1FySEZra0JaTmQ3NE52?= =?utf-8?Q?O6/Z0K1qjF9B+6NcaX7vEvC4P68fsf+GB/uZQQE?=
X-OriginatorOrg: jacobs-university.de
X-MS-Exchange-CrossTenant-Network-Message-Id: 2abdddce-c058-40e2-0a1a-08d977dad489
X-MS-Exchange-CrossTenant-AuthSource: AM0P190MB0641.EURP190.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2021 23:53:20.3923 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: f78e973e-5c0b-4ab8-bbd7-9887c95a8ebd
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: vTN8c5kwa0+Y5RIQb0v8RNC3G5t14AnJ6KoCi2QdaOjcLktPfzRWpCujTIxhsDjOrCQpm4mIqdn5FsMDHNfCSnMSl/bYFYI1MxBNoW8dlOI=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9P190MB1267
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/OZ29DBEXZbkITSvb4Zt4IxGsCSk>
Subject: Re: [babel] [netmod]   NULL value for uint16
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Sep 2021 23:53:30 -0000

On Wed, Sep 15, 2021 at 01:01:11AM +0200, Carsten Bormann wrote:
> > If BBF already
> > defined to use -1, so be it.
> 
> That works for me and is consistent with the information model in 9046.
> 
> What I find not so great is the side effect of going from uint16 to int32.
> 
> I don’t see a big difference between
> Optional-uint16 = uint16 / -1
> and
> Optional-uint16 = uint16 / empty
> 
> I do not like
> 
> Optional-uint16 = int32

YANG leaves the bits business to the encodings. In YANG, you can of
course use

   type int32 { range -1 | 0..65535 }

and then its left to the encodings. Im XML/JSON, -1 is 16 bits and
65535 is 40 bits - and the name of the leaf is likely worse. I am too
lazy to lookup what the CBOR encoding would do with the range...

> > The alternative is to not instantiate the leaf if there is no value
> > and to accept that a client can't tell the difference between 'there
> > is no value' and 'the value has been suppressed by authorization'.
> 
> Interesting.  I wasn’t aware that this cannot be distinguished in YANG.

I have to correct what I wrote. Its the leaf that is suppressed, not
the value.

In XML, if <foo/> does not exist, the client gets nothing. If <foo/>
does exist (and it's value is empty in this example) and authorization
rules say 'don't tell the client', the client gets nothing. A client
not getting <foo/> can't decide whether there is no <foo/> because
<foo/> does not exist or authorization prevented access to <foo/>.

Authorization is not part of YANG. NACM started as an extension to
NETCONF in order to control access to data. Initially the acronym NACM
expanded to the 'NETCONF Access Control Model', RFC 6536.  The revised
NACM also works with RESTCONF (and likely other protocols) and hence
the acronym now expands to the 'Network Configuration Access Control
Model', RFC 8341.
 
> But an “empty” would be present if it is chosen, no?

You grant or restrict access to <foo/> and it does not matter what
type <foo/> has or which value <foo/> has (if it is a leaf) or whether
<foo/> is the root of a deeply nested tree (if it is a container).  If
a client has no permissions to read <foo/>, then <foo/> is silently
omitted.

Things are different if a client attempts to create/write/delete
<foo/>, in this case the client will get an explicit authorization
failure error. For the details, see RFC 8341.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>


From nobody Wed Sep 15 02:05:31 2021
Return-Path: <ietfc@btconnect.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B14823A0784; Wed, 15 Sep 2021 02:05:02 -0700 (PDT)
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, 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 Kopeho1UC0lj; Wed, 15 Sep 2021 02:04:57 -0700 (PDT)
Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00121.outbound.protection.outlook.com [40.107.0.121]) (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 AE5083A0781; Wed, 15 Sep 2021 02:04:55 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UkOAezR7lCemSGLBYWa9t2VTuKlQw1+F5RLtFYamU1fxCkB833nIDi9YAWswieM0BWgQIQrf/E7RJ1tH7F4mfHih2r0fqmm37e+dFt/OUH1eUkk+RMHQFXkJQ3cy5P2SLAags/7rmT73bFay3Xmlb0kmNx1t44RRV/ujO0oHZZMPRHFpieHTePxVoKRzOcyronVRrbXXoQbv/sG48etuH9704jHYNLssCtm9/j53EEycbdfdl6ukqT6LWI2T3S9ukZK8wepfd0E0zsaZK3R6ICjiBQ2x4taDroazJPY8qfzJWB/ca1sskJvne1oxin8KgagN5jLydJ9hX68jucJubA==
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;  bh=rYPdTqoqvSB7rrC2bU7yRW4sfphsHdm9+QY3zC4KKAg=; b=Gk5yE3HM/fEZishihqfx4LQqw4hgGrsuYGXlOg8M7xdX7wfgWHsU7GgW4ZUbgJBRDHQavMsRZ5qwi1rfh0qoBHIerOwlS1wvGccElvXyI9yvtYyAI/UbTWZp93IX9ykKOx9wowkn/En2rTy18tSWFDM+a+bZkqi/meMAMvWkAdlXcFQFm9riKPq8DlK6AqEXILnaws38a30O5wCS+Wm3Vc89AesgoYILrQEi3maGtXeQ3AawUmCRcYdLkAxwMfp0wnZnzE86c9r1RRzVBrJkGoNyWSfemaoA5XdCImh8nG+4UJZYmvxsvsHcwMdcDXXNOuT0IFqtrVF4VoIcaXiw9g==
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=rYPdTqoqvSB7rrC2bU7yRW4sfphsHdm9+QY3zC4KKAg=; b=IBUu5C1r9RxZn4G0SYm7b4jz/EWGFOO4jePsc8VbUsMKKXHzMYS7gS5prOI6MSFzu2liJroBfCo3Ed5w5Qaqo17CCaz98dRwFp1Lz2QFjyb4bac7sDm7ZAevBMr+BgNaHTFUYesPu0voy14S88yNo42aQnRvoLa7KQjIkdzFC2w=
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com (2603:10a6:20b:134::11) by AM7PR07MB6771.eurprd07.prod.outlook.com (2603:10a6:20b:1bd::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.9; Wed, 15 Sep 2021 09:04:53 +0000
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::b9c8:47dd:34f0:7180]) by AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::b9c8:47dd:34f0:7180%6]) with mapi id 15.20.4523.014; Wed, 15 Sep 2021 09:04:53 +0000
From: tom petch <ietfc@btconnect.com>
To: Carsten Bormann <cabo@tzi.org>, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
CC: Babel at IETF <babel@ietf.org>, "STARK, BARBARA H" <bs7652@att.com>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] [babel]    NULL value for uint16
Thread-Index: AQHXqbx6XHQZrsqAPkC+IB0mU/gF2aukM+mAgACWyoM=
Date: Wed, 15 Sep 2021 09:04:53 +0000
Message-ID: <AM7PR07MB62485B09ECE52AE1C4154B29A0DB9@AM7PR07MB6248.eurprd07.prod.outlook.com>
References: <20210910200902.bic4rhyhp75bgsjz@anna.jacobs.jacobs-university.de> <BBC6AA9F-86C1-4A9C-86FD-AD77668CA9D9@gmail.com> <20210913200455.xot7lihpmqiemm5c@anna.jacobs.jacobs-university.de> <DM6PR02MB69248D2780D5C880CC647783C3D99@DM6PR02MB6924.namprd02.prod.outlook.com> <AM7PR07MB6248BBB558136D1E6F8C1549A0DA9@AM7PR07MB6248.eurprd07.prod.outlook.com> <DM6PR02MB692446F49506791E90B0D23EC3DA9@DM6PR02MB6924.namprd02.prod.outlook.com> <20210914171729.ph5q77zm46z3zvxi@anna.jacobs.jacobs-university.de> <FAE5986C-BE56-44A9-A6A5-1A37D9539F61@tzi.org> <20210914191618.khcicr6o4x5sdki3@anna.jacobs.jacobs-university.de> <21E40C00-5C1B-4C54-9CDB-B99AC14B1F3E@tzi.org> <20210914235319.is4x5nzuqdz26dv4@anna.jacobs.jacobs-university.de>
In-Reply-To: <20210914235319.is4x5nzuqdz26dv4@anna.jacobs.jacobs-university.de>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
suggested_attachment_session_id: 892b172e-0799-5889-a2d3-05eb62545ac4
authentication-results: tzi.org; dkim=none (message not signed) header.d=none;tzi.org; dmarc=none action=none header.from=btconnect.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 24c4141f-0d19-41d0-6491-08d97827e1b0
x-ms-traffictypediagnostic: AM7PR07MB6771:
x-microsoft-antispam-prvs: <AM7PR07MB6771A95B05AE8831E8B0A81EA0DB9@AM7PR07MB6771.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: QLP6Nq7UvbUDkl/qf9HxP+pp/B+9turxko0bMmEexU/2YIZkvd4ZuhyZcw5cQk6YkJHQ/TRg7e97ywEOaZ1XJkG/zko46k+Ul/Ky9acqAvz1+FQJeFunQD4mMlE5/i2PXILbCrkqtS55MDpv3gNJ6Po3OvSFqXY5efJwf3nSQUS1BCKU0XHsnfjtWBY/Wl6Fi92VQD+OIRNiwRsivu4O2mdsZ/3Gtlte7cMZJZbLNtacQ9RIaBkuSSOoIXn2H8tKe9s731E6wye45vaxY7djhPGpzEqzTctnupM9LKqOThx1IHiB11qDaFhazr5wIYuR2xKIgXEE78/GHK5R2jn0vsLqkpr9nKO1C+caWPIl8Q+BY/EU58kg0eXbWmfbLkxqRduLc53TT0V3bzZ0lSlVi1KGfJDFJhtERW74moheCBlY0Wk6uTI/DoghqsIcfCV5ziT6EBef3V7u3W2HmttGI9mpoSVzJ3mYN4e6g6tXlr5oJa4il6g98XyOhEzjtePgRn0lvWpYwUyaRPaQx5Lf2teoQqSbU94sHUXJrOnl0pei2+m1HQDazaRvqqOGLfzdmzSPyQrNJzHu9SQX1gvdFCiajWbwOjctMZv0LMNVmqIBc3Gc+33eyx+oqgjlMQTeNC1eJsVFbuaCIdU+nEQXaA6bEXWTVaXN97FqVlza+f+TZY8aAwFmsjBoG0tWBxqf8IS/r6DG3lP0I04iT4+bgoSYURKUHpKYl9WXIZ5wU2HJBKGTfTjr8zaK3ghwb4EkcCEeSMR+28IqFkzkMIWlrA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:AM7PR07MB6248.eurprd07.prod.outlook.com; PTR:; CAT:NONE;  SFS:(396003)(366004)(39860400002)(346002)(136003)(376002)(316002)(6506007)(66574015)(9686003)(7696005)(33656002)(55016002)(186003)(86362001)(40140700001)(5660300002)(83380400001)(76116006)(66946007)(64756008)(66476007)(54906003)(66556008)(66446008)(966005)(478600001)(38070700005)(8936002)(91956017)(2906002)(52536014)(26005)(122000001)(8676002)(38100700002)(71200400001)(4326008)(110136005); DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?1w/ISZcrFI79wIMFF+1XACel84s9BLwtUm9cE5miqv52OBjo0VucJG6L?= =?Windows-1252?Q?YQ9fsC1BfkpTit0pB3y4RX1Uw7PSpKRTqri/+Bw8mLzZpRM5zdIngl5+?= =?Windows-1252?Q?zrbZTKCadb0OKmL3jqX/MMXSxeiOGqUuwi9J+iwiCP2927jWuVjmUNTk?= =?Windows-1252?Q?r/BopS4s/YDgWuMZDjxQPwFNJUfWZnAlMvKNkFct/zEfOyFutfIDr3Wj?= =?Windows-1252?Q?GBMfZUubdgwcTeMo2dFn7Tvb92bQhSO56p7c7bxf1UUea2fJYM68BCqD?= =?Windows-1252?Q?eC3iCmBHRyaBUMie22DsOsJHiocFIAkrjm7d7EfLUrRWOJ0ONgq8djwZ?= =?Windows-1252?Q?O6QG96SHK9qbN3EFTDCt2vUO/aTB69tYTkdTaNYkLaP6VCuNhOLTQg5j?= =?Windows-1252?Q?4ps+uJKO2XLytOzz9LtVwh7CzcXEjFpkHAcfUvIvjgjN2dTYunflpJg2?= =?Windows-1252?Q?VGYlM523MBGiTNgBAfevxziWcAn11ctpcRtLvpUFAaU3YWqRY2QTTA2N?= =?Windows-1252?Q?TvUjux/FVx5csP2vyDJ/iwLUAbnQ+Hgk6Jzrpcv0YNyNGYoadK4dk3cq?= =?Windows-1252?Q?odd4LsBte+MfD5qsoynBRyc10dWnMv/pKFqOxoI40loH46u8wIkr7+6N?= =?Windows-1252?Q?Al+resvwJa1sS/rnwrZNEkJwEf7G91LNcENcFUpF0hJCWvk69huD4Czh?= =?Windows-1252?Q?86eptsqRRj8O3YCV7Axqd+dgseF1Wd0FlV6bVlgPuravtdRlSajpVoX+?= =?Windows-1252?Q?zIz4X7Wc2IbD3ll5Ypi0aIaej6DkF2UeFQJEIdNUD1R/SSOUtVcOzMFl?= =?Windows-1252?Q?y4Xh0NOZYHQe/BfEHD6twdghrYwaIYzi8C0XhbZ9DswV1VMXJMpurFBg?= =?Windows-1252?Q?DfT+ZyGtO+mTxb+lbu2hk5IWWvZ1IZFRX5bxTPD+6PsAyf8zgKuiErM0?= =?Windows-1252?Q?PYcO8phs7/DiT0eTd8sf7bPBeGKfaTtZJR0w59A+QlsQHboamWjP2mps?= =?Windows-1252?Q?UCCxiZZUCG5Gv5pH+HUBmQRGyTl/mu0HTpR1+jsaR3t8RkvK7/TnTiZg?= =?Windows-1252?Q?TInirvMtil9icqZpkSDdaRcthYZZx5LnxZKdO350w/xv3fwQf7WJqH/T?= =?Windows-1252?Q?rHzVA42Ki1D9VOeee3kZCvnjQk37A8OZBw1pVmpmZrqWDn7hKn5NPtwG?= =?Windows-1252?Q?HLQgNq0OzHPCjh+kDYx4RoZ6jD+xakT3Up65B4zDC9aluWC9gIzqayyN?= =?Windows-1252?Q?kj0vCzNzC5Wm3Ai3TI34DRFwbQasB8oUErHvLU40eI+mH3OJQEgKrF4n?= =?Windows-1252?Q?+Loldrwmx/nBH5NTgbWVEpU+2lMUWIf1Gj2+/Hc8SCVemTsJPY45pqAj?= =?Windows-1252?Q?8l1qz/Rpdt3qO6o8GB0RG/7VTm9/am+WsqA=3D?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7PR07MB6248.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 24c4141f-0d19-41d0-6491-08d97827e1b0
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Sep 2021 09:04:53.3315 (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: eE5P0dKAJUXm4KPlewW5ytP6dlaQG3IFdDkucPd/BOcZ+VojjiBnFvkI+xNqUR//bQUTQSvndNo4R35if9Hqeg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR07MB6771
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/O6mS55_bz8Im91eUvFwIabpxEfw>
Subject: Re: [babel] [netmod]     NULL value for uint16
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Sep 2021 09:05:03 -0000

From: netmod <netmod-bounces@ietf.org> on behalf of J=FCrgen Sch=F6nw=E4lde=
r <j.schoenwaelder@jacobs-university.de>=0A=
Sent: 15 September 2021 00:53=0A=
=0A=
On Wed, Sep 15, 2021 at 01:01:11AM +0200, Carsten Bormann wrote:=0A=
> > If BBF already=0A=
> > defined to use -1, so be it.=0A=
>=0A=
> That works for me and is consistent with the information model in 9046.=
=0A=
>=0A=
> What I find not so great is the side effect of going from uint16 to int32=
.=0A=
>=0A=
> I don=92t see a big difference between=0A=
> Optional-uint16 =3D uint16 / -1=0A=
> and=0A=
> Optional-uint16 =3D uint16 / empty=0A=
>=0A=
> I do not like=0A=
>=0A=
> Optional-uint16 =3D int32=0A=
=0A=
YANG leaves the bits business to the encodings. In YANG, you can of=0A=
course use=0A=
=0A=
   type int32 { range -1 | 0..65535 }=0A=
=0A=
and then its left to the encodings. Im XML/JSON, -1 is 16 bits and=0A=
65535 is 40 bits - and the name of the leaf is likely worse. I am too=0A=
lazy to lookup what the CBOR encoding would do with the range...=0A=
=0A=
<tp>=0A=
=0A=
I am with Juergen here, and in a previous post, that if that is the way it =
is done in BBF, then that is a compelling reason to do the same.  =0A=
=0A=
Also, you can create a typedef for it, in one place in the model with a des=
cription, both in the YANG and in the body of the I-D, and then use that ty=
pe in all the places that it applies, which, for me, makes for a clearer, e=
asier to understand model.=0A=
=0A=
I suggested boolean but agree that it is clumsy, not quite right (although =
I have seen it somewhere).  I suggested choice/case because that is what ot=
hers do but as before, following BBF is a more compelling argument.=0A=
=0A=
It also addresses the problem of access control making it a challenge to kn=
ow what is going on.  The one leaf, the one object, you get it or you do no=
t.  Simple!=0A=
=0A=
And if you want to save bits, then YANG is not for you; the design aim was =
text that anyone could read anywhere; if you want to save bits, then you ne=
ed a compact binary representation:-)=0A=
=0A=
Tom Petch=0A=
(who is on European time)=0A=
=0A=
  > > The alternative is to not =0A=
=0A=
instantiate the leaf if there is no value=0A=
> > and to accept that a client can't tell the difference between 'there=0A=
> > is no value' and 'the value has been suppressed by authorization'.=0A=
>=0A=
> Interesting.  I wasn=92t aware that this cannot be distinguished in YANG.=
=0A=
=0A=
I have to correct what I wrote. Its the leaf that is suppressed, not=0A=
the value.=0A=
=0A=
In XML, if <foo/> does not exist, the client gets nothing. If <foo/>=0A=
does exist (and it's value is empty in this example) and authorization=0A=
rules say 'don't tell the client', the client gets nothing. A client=0A=
not getting <foo/> can't decide whether there is no <foo/> because=0A=
<foo/> does not exist or authorization prevented access to <foo/>.=0A=
=0A=
Authorization is not part of YANG. NACM started as an extension to=0A=
NETCONF in order to control access to data. Initially the acronym NACM=0A=
expanded to the 'NETCONF Access Control Model', RFC 6536.  The revised=0A=
NACM also works with RESTCONF (and likely other protocols) and hence=0A=
the acronym now expands to the 'Network Configuration Access Control=0A=
Model', RFC 8341.=0A=
=0A=
> But an =93empty=94 would be present if it is chosen, no?=0A=
=0A=
You grant or restrict access to <foo/> and it does not matter what=0A=
type <foo/> has or which value <foo/> has (if it is a leaf) or whether=0A=
<foo/> is the root of a deeply nested tree (if it is a container).  If=0A=
a client has no permissions to read <foo/>, then <foo/> is silently=0A=
omitted.=0A=
=0A=
Things are different if a client attempts to create/write/delete=0A=
<foo/>, in this case the client will get an explicit authorization=0A=
failure error. For the details, see RFC 8341.=0A=
=0A=
/js=0A=
=0A=
--=0A=
Juergen Schoenwaelder           Jacobs University Bremen gGmbH=0A=
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany=0A=
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>=0A=
=0A=
_______________________________________________=0A=
netmod mailing list=0A=
netmod@ietf.org=0A=
https://www.ietf.org/mailman/listinfo/netmod=0A=


From nobody Wed Sep 15 03:59:26 2021
Return-Path: <ietfc@btconnect.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 842DB3A1271; Wed, 15 Sep 2021 03:58:59 -0700 (PDT)
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, 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 RC9ZKXmdJtuw; Wed, 15 Sep 2021 03:58:54 -0700 (PDT)
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2100.outbound.protection.outlook.com [40.107.22.100]) (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 43CDE3A1272; Wed, 15 Sep 2021 03:58:53 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kET6emweDWUcw9TZYJiyw1TDs8AqT5dTC01fvH9iNWDSv6HER3WqOOW93XQuizlMqJ8IB6npY+4ifwoqcFyex/udYhe0FhGh8rZkYODNfkC0t/H/0PGwEJuJ+1Bbzd1H619j2YDB25CqY9XtuxB288ikTHPPhmrRrFvF0Jcd+5u9FR+bjQWpVNCeW0j9bRGwv9RLoqPfpGC8vBhqAeyldcPyPlV55sKajBEODbFTXmTYTm/FJu8f4wuoKD6auokntx/FVmRk1xdFqzvqUxZR7KTYQIEtVItHjMloRc0T8spz/vG1DS2GhE7+gxZTb4jNAf8QHtc0XUREqVVjCnaQ6A==
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;  bh=jyLRzG5ITz3wXxrmEIr594zReO7Uk4wwv3jslYsGfCQ=; b=VsJOi3xYWwpb2cq3C1MW0C/gP+jcOmuSISLCCq18rBmPIg+ns4FqSE1D6aP9TSCthdKtxNgMREB+2bCP59e6XIS3lvcawkPNnzO17hUUkGGXyV5MJVlk+vY+Zz45bpi+gQdgroprkqdYwUezcZxGfuCEzbSAc9eWWtgXY2iSE+I5nqnO1fQCepn77WxD6ooX44WNcjFPKkfmNca7vDMZbV/OYJ7HabTFsBnEBs4PTY1dQItTMhg6hfUlLukrTe75HwprxJ6U6Ws24C1y5oQqRuChxorGzrPQjLaJqQBXawRPUHiL6XSugvqYBPY8oatXBSOMmZtcF6mhWo6wIqD9Rw==
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=jyLRzG5ITz3wXxrmEIr594zReO7Uk4wwv3jslYsGfCQ=; b=q9Vd60Mrs6D25AJk+EsbsLIpS14LABnlZcx77HC9ev6FCRyvt9d0LJ7HEVLWK7HYiPK7cfbniiJaOqGlYsN8ELT/i6Qs/y8iN/hVlo4Zv25RiYeonErnqqBFuZ7W8UtRbJYz4r8wN1ODwiMwm/LkYTuUJfN/ySCMgZt298c/ZiY=
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com (2603:10a6:20b:134::11) by AM5PR0701MB2915.eurprd07.prod.outlook.com (2603:10a6:203:42::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.9; Wed, 15 Sep 2021 10:58:50 +0000
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::b9c8:47dd:34f0:7180]) by AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::b9c8:47dd:34f0:7180%6]) with mapi id 15.20.4523.014; Wed, 15 Sep 2021 10:58:50 +0000
From: tom petch <ietfc@btconnect.com>
To: Carsten Bormann <cabo@tzi.org>, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
CC: "netmod@ietf.org" <netmod@ietf.org>, "STARK, BARBARA H" <bs7652@att.com>,  Babel at IETF <babel@ietf.org>
Thread-Topic: [netmod] [babel]    NULL value for  ip-address
Thread-Index: AQHXqiCqgDJcR3KJe0SBfixmaEpJDg==
Date: Wed, 15 Sep 2021 10:58:50 +0000
Message-ID: <AM7PR07MB6248B7058FA3C5E05114E8B4A0DB9@AM7PR07MB6248.eurprd07.prod.outlook.com>
References: <20210910200902.bic4rhyhp75bgsjz@anna.jacobs.jacobs-university.de> <BBC6AA9F-86C1-4A9C-86FD-AD77668CA9D9@gmail.com> <20210913200455.xot7lihpmqiemm5c@anna.jacobs.jacobs-university.de> <DM6PR02MB69248D2780D5C880CC647783C3D99@DM6PR02MB6924.namprd02.prod.outlook.com> <AM7PR07MB6248BBB558136D1E6F8C1549A0DA9@AM7PR07MB6248.eurprd07.prod.outlook.com> <DM6PR02MB692446F49506791E90B0D23EC3DA9@DM6PR02MB6924.namprd02.prod.outlook.com> <20210914171729.ph5q77zm46z3zvxi@anna.jacobs.jacobs-university.de> <FAE5986C-BE56-44A9-A6A5-1A37D9539F61@tzi.org> <20210914191618.khcicr6o4x5sdki3@anna.jacobs.jacobs-university.de> <21E40C00-5C1B-4C54-9CDB-B99AC14B1F3E@tzi.org> <20210914235319.is4x5nzuqdz26dv4@anna.jacobs.jacobs-university.de> <AM7PR07MB62485B09ECE52AE1C4154B29A0DB9@AM7PR07MB6248.eurprd07.prod.outlook.com>
In-Reply-To: <AM7PR07MB62485B09ECE52AE1C4154B29A0DB9@AM7PR07MB6248.eurprd07.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
suggested_attachment_session_id: 9e2be7a4-7435-82aa-9d58-94ae298f96b5
authentication-results: tzi.org; dkim=none (message not signed) header.d=none;tzi.org; dmarc=none action=none header.from=btconnect.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: f1361d32-de78-4a35-6785-08d97837ccf3
x-ms-traffictypediagnostic: AM5PR0701MB2915:
x-microsoft-antispam-prvs: <AM5PR0701MB29159707E3C18B3102022228A0DB9@AM5PR0701MB2915.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 1ZXfChJ3ZIb1NPmHyeA8SRvHBFcvYOb+Mjb8WZ9RLrBxTM3b2R6Gvljwh4uqopD5CSyueoIo/8avU5jBbXcRuc+rcIH8heswbpmgpq4PPmlfIgwBD8Sm7JmC24R/1LY1qJ7s948oQQlD886GKtAaUG6dX9upyzqLKzA/oJRyhn7bWZm6kkCb+mmYAllTfLTArNqcQRjJcLm8+796xq18XM1V4rKINSzbMR8ln5Yo9WLu0AgyJWcfFIifrQ1ToaqjVdtaFEgnaRpPgCmpes5y0l5+6T56xbFHUM2y+7nDm0jMVxEqhPCxuwvFb1mFzrvoCoQvfELRFp9weC4WxdmQG4RbFqmLgMOFZHnKmV8FQbJPzgM2IuwUmjErF9nKEpWIVKrQbzdmi6z9xPY0zx5nkim6pqbk8Xu8YWFe0ZN4v6WLJjWDqtYdauySYeyG6HOqtt0aLa0zaAHmRIh1z7U53m/9QyHvHsH33gVSNWdUY3TNWKzevEjZTWPnDq5y1GKTagIS5Y9gJHiW81aVbUC+a44TcZQ3R6qfBheFUmHmpGWlO30sd/BPuj/meONuuBFROaqmS/rtFg6zI1oWcnH0ZK/1MXH66q9pMDBBjEOEhhOiCUp9yMK0gFucl5sqsF+h1UXhWp4K/RGbvwWg6V3Z+KQUjLcMMexo7gYS8cp94OZqJ1HrrJeiL9Qtu6RAXbb3t/WXAWeJbhxPU2bjF/z8fkYeRe0v4sTp40WLP8ASCXdm5uJlpTn9sNXu9lxd2FSbFeQhbBU8F1rt3tNHRjtA97bW42uolTe85jpHHMhmm/k=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:AM7PR07MB6248.eurprd07.prod.outlook.com; PTR:; CAT:NONE;  SFS:(366004)(396003)(39860400002)(346002)(136003)(376002)(8936002)(7696005)(2940100002)(122000001)(66574015)(40140700001)(38070700005)(966005)(86362001)(5660300002)(6506007)(83380400001)(8676002)(4326008)(76116006)(66446008)(66476007)(38100700002)(64756008)(66556008)(91956017)(54906003)(110136005)(52536014)(26005)(316002)(9686003)(478600001)(55016002)(33656002)(71200400001)(186003)(66946007)(2906002); DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?u83M21t8PjHR3lDNDcgXTBROKmK8Bji40BOQ8ddWZsdff8TLByBgP+kr?= =?Windows-1252?Q?g4oTPyf0hfqeNG+7BALJKuH2nL4HnfzrVngB/VLYyKg0V0S+pKo+d9Fk?= =?Windows-1252?Q?WH8uU++QNCCFvIQItr49uTmonMr2nuZVRUsxzVQmym6Uai4ZQCYeodrk?= =?Windows-1252?Q?NyOvC5bBRM9sS3q3ouf3OpiEA+Ni45cd62LDQu0BzpafQYRSfvS9EKqb?= =?Windows-1252?Q?yO5JF7tEw8af/f46Zj1VwVtiY3L8XE18vKBMYbmIxAguWN1bVNteLrqg?= =?Windows-1252?Q?9mkQ4Ie8hxXeS6cUecB2p6C8qtxOUUa5miSLnI/mPMRSya53NeOPA58/?= =?Windows-1252?Q?wTfmL6vRn78HpTBLzFY+R4w7Ry0uW4rjRtb4dP55Dc+WscJhBMlnpQzn?= =?Windows-1252?Q?uwjty+wkrI+C2UZUvOx3lGQcYTHJWLXqluqgYQq/fLFjYJOzuUdd6ToE?= =?Windows-1252?Q?s/RlwC7YMTbTKgZrZUlKqES3EE9/8bXh7RC7N20KtdnSdUgf3FbV15Nr?= =?Windows-1252?Q?0gPyoORdReBJEHZJUMhLY4xzMadc943o6cjMEeLi4MuXMXZsdJnDloHF?= =?Windows-1252?Q?IgJetB4I5BDXt00aot9QtRriBHWd12GSP2Qcx8/G6Pl+7QJj1tgPy6nm?= =?Windows-1252?Q?CqDlxhHEIATW5GVwcGxdP9RMypjacPg6MF2UuNL/BszJBL3A4BvGMdgK?= =?Windows-1252?Q?7mAEQlyeSEE3wiJmtl9BkI1JcV1NCc7ECkwDaVmBj/eKdXEC2uXO75qp?= =?Windows-1252?Q?aBwmwrPSaD9tRRlonihvIE6MZOSXZSk6sq5Z5n8L1eMVBYSHO95mETHY?= =?Windows-1252?Q?xC8m3tDayS6hamsUKrvq8st4TmSnSQZs5M7AcYu2UyJJC4wkLkUaGSH7?= =?Windows-1252?Q?OwDs4cybSSDtX4a8zs3qoKRdpVJJns5VBWZZUjjE2g1uPV5AvDA4IG/w?= =?Windows-1252?Q?3f49cwkNygCkn4oZ+445KzrbNEHrAVH+BVtboWZaoNwtLUrrSeQzOANg?= =?Windows-1252?Q?ZzwSeBf5pwst1Id1IEzIDa1tqZU9vGE7N8nwSlwh7I6JKw3HaMiz9imv?= =?Windows-1252?Q?qmxVbNkDwoCwsheGWL1pqhNu2lFxDUEVfO5rjFYbq7bdfzSjEm8ovvdn?= =?Windows-1252?Q?t1SP+HUDBw5K7QXSWL+ShF5+1RsAMy2NEDsBRBMbdXVeobs+w0JqPTxJ?= =?Windows-1252?Q?37hiss98zsGp/r3aVNzGVq2q1TKyZ8yzDfiVNqUJXhgAR267suVA8S99?= =?Windows-1252?Q?om1Xe4zZsiUKneZp7oxzgm0jfhdRbzx4wCcQvmMoZCmRLEFiLPUCH2K7?= =?Windows-1252?Q?nsoflmYu4+KN7MytO60SPO1LghX8N5aXQ/EZv7UHuh76Rr0laILRjq0P?= =?Windows-1252?Q?6x/dKngci4ygwGcMhxWUzYnIGekC+FUJja4=3D?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7PR07MB6248.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: f1361d32-de78-4a35-6785-08d97837ccf3
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Sep 2021 10:58:50.5320 (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: 3SddzP/sitnx2+F6JGBfB44C/jTvuKrHAriqBk3PbYE2vnHQ3zSVEJwd1TK/DDAyGeBwad4E5rpU4LORdFROqA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0701MB2915
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/_kTaF5wDSjetxo9f-hzDKgGGMFU>
Subject: Re: [babel] [netmod]     NULL value for  ip-address
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Sep 2021 10:59:00 -0000

Barbara=0A=
=0A=
Top posting a slightly different question.=0A=
=0A=
Belatedly doing my homework, I see that not all the NULL are uint16.  One, =
next-hop, is ip-address.  We have the options discussed for uint16 but coul=
d also use zero (or some other value) to mean NULL.  Zero is of course the =
way the default is commonly represented.=0A=
=0A=
How is this handled in TR-181?  How would you like it handled in YANG?=0A=
=0A=
Tom Petch=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
From: netmod <netmod-bounces@ietf.org> on behalf of tom petch <ietfc@btconn=
ect.com>=0A=
Sent: 15 September 2021 10:04=0A=
=0A=
From: netmod <netmod-bounces@ietf.org> on behalf of J=FCrgen Sch=F6nw=E4lde=
r <j.schoenwaelder@jacobs-university.de>=0A=
Sent: 15 September 2021 00:53=0A=
=0A=
On Wed, Sep 15, 2021 at 01:01:11AM +0200, Carsten Bormann wrote:=0A=
> > If BBF already=0A=
> > defined to use -1, so be it.=0A=
>=0A=
> That works for me and is consistent with the information model in 9046.=
=0A=
>=0A=
> What I find not so great is the side effect of going from uint16 to int32=
.=0A=
>=0A=
> I don=92t see a big difference between=0A=
> Optional-uint16 =3D uint16 / -1=0A=
> and=0A=
> Optional-uint16 =3D uint16 / empty=0A=
>=0A=
> I do not like=0A=
>=0A=
> Optional-uint16 =3D int32=0A=
=0A=
YANG leaves the bits business to the encodings. In YANG, you can of=0A=
course use=0A=
=0A=
   type int32 { range -1 | 0..65535 }=0A=
=0A=
and then its left to the encodings. Im XML/JSON, -1 is 16 bits and=0A=
65535 is 40 bits - and the name of the leaf is likely worse. I am too=0A=
lazy to lookup what the CBOR encoding would do with the range...=0A=
=0A=
<tp>=0A=
=0A=
I am with Juergen here, and in a previous post, that if that is the way it =
is done in BBF, then that is a compelling reason to do the same.=0A=
=0A=
Also, you can create a typedef for it, in one place in the model with a des=
cription, both in the YANG and in the body of the I-D, and then use that ty=
pe in all the places that it applies, which, for me, makes for a clearer, e=
asier to understand model.=0A=
=0A=
I suggested boolean but agree that it is clumsy, not quite right (although =
I have seen it somewhere).  I suggested choice/case because that is what ot=
hers do but as before, following BBF is a more compelling argument.=0A=
=0A=
It also addresses the problem of access control making it a challenge to kn=
ow what is going on.  The one leaf, the one object, you get it or you do no=
t.  Simple!=0A=
=0A=
And if you want to save bits, then YANG is not for you; the design aim was =
text that anyone could read anywhere; if you want to save bits, then you ne=
ed a compact binary representation:-)=0A=
=0A=
Tom Petch=0A=
(who is on European time)=0A=
=0A=
  > > The alternative is to not=0A=
=0A=
instantiate the leaf if there is no value=0A=
> > and to accept that a client can't tell the difference between 'there=0A=
> > is no value' and 'the value has been suppressed by authorization'.=0A=
>=0A=
> Interesting.  I wasn=92t aware that this cannot be distinguished in YANG.=
=0A=
=0A=
I have to correct what I wrote. Its the leaf that is suppressed, not=0A=
the value.=0A=
=0A=
In XML, if <foo/> does not exist, the client gets nothing. If <foo/>=0A=
does exist (and it's value is empty in this example) and authorization=0A=
rules say 'don't tell the client', the client gets nothing. A client=0A=
not getting <foo/> can't decide whether there is no <foo/> because=0A=
<foo/> does not exist or authorization prevented access to <foo/>.=0A=
=0A=
Authorization is not part of YANG. NACM started as an extension to=0A=
NETCONF in order to control access to data. Initially the acronym NACM=0A=
expanded to the 'NETCONF Access Control Model', RFC 6536.  The revised=0A=
NACM also works with RESTCONF (and likely other protocols) and hence=0A=
the acronym now expands to the 'Network Configuration Access Control=0A=
Model', RFC 8341.=0A=
=0A=
> But an =93empty=94 would be present if it is chosen, no?=0A=
=0A=
You grant or restrict access to <foo/> and it does not matter what=0A=
type <foo/> has or which value <foo/> has (if it is a leaf) or whether=0A=
<foo/> is the root of a deeply nested tree (if it is a container).  If=0A=
a client has no permissions to read <foo/>, then <foo/> is silently=0A=
omitted.=0A=
=0A=
Things are different if a client attempts to create/write/delete=0A=
<foo/>, in this case the client will get an explicit authorization=0A=
failure error. For the details, see RFC 8341.=0A=
=0A=
/js=0A=
=0A=
--=0A=
Juergen Schoenwaelder           Jacobs University Bremen gGmbH=0A=
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany=0A=
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>=0A=
=0A=
_______________________________________________=0A=
netmod mailing list=0A=
netmod@ietf.org=0A=
https://www.ietf.org/mailman/listinfo/netmod=0A=
=0A=
_______________________________________________=0A=
netmod mailing list=0A=
netmod@ietf.org=0A=
https://www.ietf.org/mailman/listinfo/netmod=0A=


From nobody Wed Sep 15 05:51:51 2021
Return-Path: <bs7652@att.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A14D93A17AA; Wed, 15 Sep 2021 05:51:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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=att.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 GjR3t12dLeUL; Wed, 15 Sep 2021 05:51:23 -0700 (PDT)
Received: from mx0a-00191d01.pphosted.com (mx0b-00191d01.pphosted.com [67.231.157.136]) (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 503963A17A8; Wed, 15 Sep 2021 05:51:23 -0700 (PDT)
Received: from pps.filterd (m0049462.ppops.net [127.0.0.1]) by m0049462.ppops.net-00191d01. (8.16.0.43/8.16.0.43) with SMTP id 18FCilam037459; Wed, 15 Sep 2021 08:51:19 -0400
Received: from alpi155.enaf.aldc.att.com (sbcsmtp7.sbc.com [144.160.229.24]) by m0049462.ppops.net-00191d01. with ESMTP id 3b2udpct16-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 15 Sep 2021 08:51:18 -0400
Received: from enaf.aldc.att.com (localhost [127.0.0.1]) by alpi155.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id 18FCpH0B004481; Wed, 15 Sep 2021 08:51:17 -0400
Received: from zlp27130.vci.att.com (zlp27130.vci.att.com [135.66.87.38]) by alpi155.enaf.aldc.att.com (8.14.5/8.14.5) with ESMTP id 18FCpEAA004432 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 15 Sep 2021 08:51:15 -0400
Received: from zlp27130.vci.att.com (zlp27130.vci.att.com [127.0.0.1]) by zlp27130.vci.att.com (Service) with ESMTP id A7E854009E85; Wed, 15 Sep 2021 12:51:14 +0000 (GMT)
Received: from MISOUT7MSGED1AA.ITServices.sbc.com (unknown [135.66.184.195]) by zlp27130.vci.att.com (Service) with ESMTP id 874BF4009E7D; Wed, 15 Sep 2021 12:51:14 +0000 (GMT)
Received: from MISOUT7MSGEX2BA.ITServices.sbc.com (135.66.184.217) by MISOUT7MSGED1AA.ITServices.sbc.com (135.66.184.195) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.14; Wed, 15 Sep 2021 08:51:14 -0400
Received: from MISOUT7MSGETA03.tmg.ad.att.com (144.160.12.222) by MISOUT7MSGEX2BA.ITServices.sbc.com (135.66.184.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.14 via Frontend Transport; Wed, 15 Sep 2021 08:51:14 -0400
Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.47) by edgeso3.exch.att.com (144.160.12.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.14; Wed, 15 Sep 2021 08:51:12 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KAPoszcpWMFSa10+gDGZks0nbjgUhC+gEjQo+mebpQV1xu/atFVdOAKuViGh4AL76Nj22mJ48VQvCmmPAFOO6hUF2DCwc9Dg56ilXVmXqYip3wlE3MPZIgaBfeTe4Fxe5EJhianOC7Ai0k7GSmq2/Kgg9dYMnR8m+xXbEympe+vNKS1irjMscOMyqv/Pferce2M3eXEq45LB99pJvWa0McCI3X7g94rPGZ8ViYinKn1667nfl2gVkHT3YfIRXtxzkw/4O9YSIXe4GR/2xTD/7q5Rrm658N84cdveYYBv9BDtZqzt4TgwXg1NmK0ifY8oIsf17iNmHu4JLhg1Ne2+/g==
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;  bh=ogv1kITgApH4detX0BpHCbmBLzPYbVjU4sKmU7r6+So=; b=BBHDFauKKnozap0qxL1cO0qlZRZ5cjoNCzrtIHujjXT/Z2ejn6qRajwVNVflBca52FmAATI0ljDf3DR8wA6xHiQcm+50/cTVVsUT8LFDQQIFe0Hj8n99hg9+Ub9wm0/D/WRaWe87B0vSOxNMYg2Gsj0EZqzm5qJO/dN5reMfyCVhPk5BVoVplymaLTRQczar266T68OxRcJanGXeMAZ2KE9XtCE5HM/5jOXzloNIThUuL37BX/7tGsjXaMkWZesD6k8nl3aa5Y1SFN6d8R5AhcY9OXEsPwkh7xv1WtCa3DEGvvOu8hlnPzO23X8HURDgR5YJU56CdcktVXZZ+xnJcg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=att.com; dmarc=pass action=none header.from=att.com; dkim=pass header.d=att.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.onmicrosoft.com; s=selector2-att-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ogv1kITgApH4detX0BpHCbmBLzPYbVjU4sKmU7r6+So=; b=VcXAKzX8oLfpTtFLju4yi2fL1tZir60bOQif35MQ6TvNtYoO3MTVJOPN14jbGi9Xk0rfQDXjQMEr6toIE+6vmSG2hihuIeX+xCpcazNs7QRraCB3BeSg+1+cpEGbKugGeB0wZQuHsoWEJ1X5Aicvr7TRJAhpsb774oSc0vS5TDo=
Received: from DM6PR02MB6924.namprd02.prod.outlook.com (2603:10b6:5:25f::7) by DM6PR02MB4121.namprd02.prod.outlook.com (2603:10b6:5:a6::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14; Wed, 15 Sep 2021 12:51:08 +0000
Received: from DM6PR02MB6924.namprd02.prod.outlook.com ([fe80::ddec:9436:4971:5d1e]) by DM6PR02MB6924.namprd02.prod.outlook.com ([fe80::ddec:9436:4971:5d1e%4]) with mapi id 15.20.4523.014; Wed, 15 Sep 2021 12:51:08 +0000
From: "STARK, BARBARA H" <bs7652@att.com>
To: "'tom petch'" <ietfc@btconnect.com>, "'Carsten Bormann'" <cabo@tzi.org>, "'Juergen Schoenwaelder'" <j.schoenwaelder@jacobs-university.de>
CC: "'netmod@ietf.org'" <netmod@ietf.org>, "'Babel at IETF'" <babel@ietf.org>
Thread-Topic: [netmod] [babel]    NULL value for  ip-address
Thread-Index: AQHXqiC4Xf81t47+5kqGy4/Hbr6fHKulBCYg
Date: Wed, 15 Sep 2021 12:51:08 +0000
Message-ID: <DM6PR02MB6924E84032C48A44B55BE6CEC3DB9@DM6PR02MB6924.namprd02.prod.outlook.com>
References: <20210910200902.bic4rhyhp75bgsjz@anna.jacobs.jacobs-university.de> <BBC6AA9F-86C1-4A9C-86FD-AD77668CA9D9@gmail.com> <20210913200455.xot7lihpmqiemm5c@anna.jacobs.jacobs-university.de> <DM6PR02MB69248D2780D5C880CC647783C3D99@DM6PR02MB6924.namprd02.prod.outlook.com> <AM7PR07MB6248BBB558136D1E6F8C1549A0DA9@AM7PR07MB6248.eurprd07.prod.outlook.com> <DM6PR02MB692446F49506791E90B0D23EC3DA9@DM6PR02MB6924.namprd02.prod.outlook.com> <20210914171729.ph5q77zm46z3zvxi@anna.jacobs.jacobs-university.de> <FAE5986C-BE56-44A9-A6A5-1A37D9539F61@tzi.org> <20210914191618.khcicr6o4x5sdki3@anna.jacobs.jacobs-university.de> <21E40C00-5C1B-4C54-9CDB-B99AC14B1F3E@tzi.org> <20210914235319.is4x5nzuqdz26dv4@anna.jacobs.jacobs-university.de> <AM7PR07MB62485B09ECE52AE1C4154B29A0DB9@AM7PR07MB6248.eurprd07.prod.outlook.com> <AM7PR07MB6248B7058FA3C5E05114E8B4A0DB9@AM7PR07MB6248.eurprd07.prod.outlook.com>
In-Reply-To: <AM7PR07MB6248B7058FA3C5E05114E8B4A0DB9@AM7PR07MB6248.eurprd07.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: btconnect.com; dkim=none (message not signed) header.d=none;btconnect.com; dmarc=none action=none header.from=att.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 97b20314-b337-4836-b786-08d978477d0c
x-ms-traffictypediagnostic: DM6PR02MB4121:
x-microsoft-antispam-prvs: <DM6PR02MB4121572FC2DD599023CD9952C3DB9@DM6PR02MB4121.namprd02.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: NCK6+H2oZDbnlfsv3j+FdhfqI2kvKCZfmqyNGPgg5MMIZOwKLQYcqXF5eDq//LULaZA+F+GeHayP8OLn8aWmvStOTc4MgBiUHKuWZ8cuJx1dcrx/f8Wg9mrCSI5tjiJBR6g8Qt7st2vJ90wFWYHwNigUlY+qcYonocdlhCkPH/cMtIcKAzT95Flhv5GCRtj/vlXtu9Wk/knpW2gra0DnMOhts8DAEhBdPaSJJY26ST3QoHC7iyR2KhRa9mKQlReGppqMnZNABIfHPppzY1EmOZwogrDF8fNjsgEgaoYxCiaBqS5g4SvOZ5ZZxj+8tAQ0qJ7aPFrLaFvsiclm9k7oubwsqkxjCWBmm1tc5E9XUdmpbpDeWjjlHVXH7jquYU9pj1+imdfGLvaJwGAlQ9CgqQ7eARN/NmDQAjutQ0/Qw6LD/vr9OR4HimT3b59hxYo3qzcdZ4jlS5FhWna6c6p0gb+7XHEVcaqTL9XgFhG/QIoAML9E7n8DMJwyGqw8JU8cOBuUDdTegA8V7fNAPH0I/X+rmVlALVLRAbv+1iaaQ5kYqCEoyZPSODPnVQHVNK+ErHSMbi5q8BUwAuNWUKRBcNRoI7q30sIR6IOakAW9P0n57NUBFOWfaEYY6VHvC+SrgVWaohYKQDdON8Ihc+yzCLXJxBowk9YyhRQ3pPEyoQsR7a777QnwT5smYQv07+EvLR1cbbrg/7+vDkHrTYxoyKxz4r1iCMR/RU92O+nHIz1b0b4Xo1ZVvcMXzXsJMxlppdpHaIaOAEML8tnPP6ZuAb1ixfKUbZUY40VesGrzwic7qif7J9qukRYHBgBkVYyIEs4yC5sLFHdLK4xRFEhA/aH+38gas+X68JiBB1evQbU=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:DM6PR02MB6924.namprd02.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(396003)(346002)(39860400002)(136003)(366004)(376002)(186003)(66446008)(8936002)(966005)(82202003)(26005)(64756008)(8676002)(66556008)(4326008)(40140700001)(296002)(316002)(478600001)(55016002)(86362001)(5660300002)(6506007)(54906003)(33656002)(71200400001)(2906002)(66574015)(38070700005)(52536014)(110136005)(76116006)(122000001)(66946007)(38100700002)(83380400001)(66476007)(7696005)(9686003)(309714004); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?fMmIB9qT2UQ3sAYLJmi0+1LXnjE14jTloX8f+AeGQ/R23PQ+j0EiOtrj9G?= =?iso-8859-1?Q?OzGQVN2n8uckzNRf4wY4j2DEiR72nPR8gyXtWHZ093XvYFP0CAClftvHyb?= =?iso-8859-1?Q?nBzSjKWdZBETh8ExcB0jzS8+nuVacblp3yjp9yMuUh4Xw7ClhE9gnPYhED?= =?iso-8859-1?Q?03N+RJs4khGF5DXmErV2Gmoq9la9LQF7SJudvE2aq7gZtQkD2wqYmQfiPS?= =?iso-8859-1?Q?/xfbnZkD3WVDt9VHu9a/QU/bBGDLFlTjg1oN/eNi4RzcJmzwqnPC6STUJM?= =?iso-8859-1?Q?Myb53hPxmwZe26M8+ulkIPwJ7camrainZSrBDJwSAGS976yst7dTdnU25B?= =?iso-8859-1?Q?gd490L/4NQhTnwf+/l4BU5plxldEivDb2p8JU+x+CoZqX/pjLNSuaysXXq?= =?iso-8859-1?Q?6eJnCLYdnkTKmP5y3H9XMXRUUTg3tv/LrjyezUNuIw+md0/6QT8sJgH2+H?= =?iso-8859-1?Q?B51lzBByn7FAqs4CaJpmEMV08kxQR0vNWYlmHDB50LqLg/m016GALNH4cL?= =?iso-8859-1?Q?j3NDCBd/J3lvPftFeLtJGtt8i0onRZPTfusZiXuvGjXvvc/GfLeXVUzMny?= =?iso-8859-1?Q?T4Ilz0ZooxbwEns8QF/jYfq+crS1dPbr213RaWx2/VWor+i0tvevwuUBIZ?= =?iso-8859-1?Q?6bqcQxaUoXFuzwlA4dgpAO8OEYPi5A7ByoVMTT0wW2Mm5zpCE3L9qC/Xmm?= =?iso-8859-1?Q?+hcKVSZO6zl3wBKJrxKxBBuShuS52tL3itLYi3DD+CNNyHXFm2lL2nVk8M?= =?iso-8859-1?Q?rzAkRvyE9VfKO7HUsh5dMEMzK+Hjoda63ojSTvIYaGxIgY4SjZ4VoOe/7N?= =?iso-8859-1?Q?LVlo58iKelfyxVO+Rb9J5hJd4+9zuKgcS2AZJ7jR37aUI8Uf+ElX/hvV9s?= =?iso-8859-1?Q?JCrpsbBiaF4ybNoGYMXAyEH/FFU+B1GZuPkCA1dFvnh/KdwhmJY8XPId8s?= =?iso-8859-1?Q?sk0hLnMFZzZy4ibJw3CIHGeqKAEcGYSpnBQZjfU7qavP0XHhYlxYXCOF8+?= =?iso-8859-1?Q?ZIr/QfCJXLUwKZ0KzWc/TNpaLKl2s6gDkceRILISTq1CvltEhKCW63OogY?= =?iso-8859-1?Q?oirgsyrH5S1KeYQPve8/qUG1k/esrwoSs5a3f4q3Hw0GgGRsIwiL+N7WPx?= =?iso-8859-1?Q?w2qGco+iQHP3BiGl1iVzw+TfHuSE+pWxD5YtDOI6ZQSjuZVgQFQmWJUBu4?= =?iso-8859-1?Q?CNoE7u94l5rc4x01yZQbI6Gc9+MZn7K3fu9PzKRGINfmHhUpfMvRApIHQK?= =?iso-8859-1?Q?j5uFGQ2Jq74K9OFvMYN1FX/9jm+fToOpfTMRgcnyEj9l0mQzFHg5hlZdFu?= =?iso-8859-1?Q?SEsGx5mxS/ASP5pQqJohji5kYptWhQMF0GGqkThnsjWpOqo=3D?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DM6PR02MB6924.namprd02.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 97b20314-b337-4836-b786-08d978477d0c
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Sep 2021 12:51:08.4208 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: e741d71c-c6b6-47b0-803c-0f3b32b07556
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 8PPrL5hHdwEu8KG0Y9RN+DppXLp7t7IM82fqK8uAcQZnbD8GtQ6muIgkHgZGmxyU
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR02MB4121
X-OriginatorOrg: att.com
X-TM-SNTS-SMTP: F3F58A5E2B5C8CD1DEACAE9E6FDBCCAD18E919A1646E0519105AF5CA22775AAD2
X-Proofpoint-GUID: BIrFpDAYk014JriPbOIPita0QXyUWWaR
X-Proofpoint-ORIG-GUID: BIrFpDAYk014JriPbOIPita0QXyUWWaR
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-09-15_03:2021-09-15, 2021-09-15 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_policy_notspam policy=outbound_policy score=0 suspectscore=0 spamscore=0 impostorscore=0 mlxscore=0 phishscore=0 bulkscore=0 mlxlogscore=999 clxscore=1015 priorityscore=1501 adultscore=0 lowpriorityscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109030001 definitions=main-2109150082
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/k6NA36nXy1a8XGqY2l9FzSEYRZA>
Subject: Re: [babel] [netmod]     NULL value for  ip-address
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Sep 2021 12:51:29 -0000

> Barbara
>=20
> Top posting a slightly different question.
>=20
> Belatedly doing my homework, I see that not all the NULL are uint16.  One=
,
> next-hop, is ip-address.  We have the options discussed for uint16 but co=
uld also
> use zero (or some other value) to mean NULL.  Zero is of course the way t=
he
> default is commonly represented.
>=20
> How is this handled in TR-181?  How would you like it handled in YANG?
>=20
> Tom Petch

Hi Tom,
In discussion with Mahesh, he has indicated preference for union with a "nu=
ll" enumeration to handle the uint16 cases. He's also indicated he would pr=
efer to do that for the ip-address.
I see the YANG ip-address type is a union of ipv4-address and ipv6-address =
types, both of which are strings.
In BBF, there is the IPAddress datatype which is a string(45) with IPv4 and=
 IPv6 formats allowed. There are also IPv4Address and IPv6Address datatypes=
 that are defined as derivatives of the IPAddress datatype. An empty string=
 is used for "unspecified or inapplicable addresses". Strings, unlike ints,=
 have the luxury of being empty.=20
I'm perfectly fine with Mahesh's choice to use the union with a "null" enum=
 in all cases. It seems like a good solution.=20
Thx,
Barbara
=20
> From: netmod <netmod-bounces@ietf.org> on behalf of tom petch
> <ietfc@btconnect.com>
> Sent: 15 September 2021 10:04
>=20
> From: netmod <netmod-bounces@ietf.org> on behalf of J=FCrgen Sch=F6nw=E4l=
der
> <j.schoenwaelder@jacobs-university.de>
> Sent: 15 September 2021 00:53
>=20
> On Wed, Sep 15, 2021 at 01:01:11AM +0200, Carsten Bormann wrote:
> > > If BBF already
> > > defined to use -1, so be it.
> >
> > That works for me and is consistent with the information model in 9046.
> >
> > What I find not so great is the side effect of going from uint16 to int=
32.
> >
> > I don't see a big difference between
> > Optional-uint16 =3D uint16 / -1
> > and
> > Optional-uint16 =3D uint16 / empty
> >
> > I do not like
> >
> > Optional-uint16 =3D int32
>=20
> YANG leaves the bits business to the encodings. In YANG, you can of
> course use
>=20
>    type int32 { range -1 | 0..65535 }
>=20
> and then its left to the encodings. Im XML/JSON, -1 is 16 bits and
> 65535 is 40 bits - and the name of the leaf is likely worse. I am too
> lazy to lookup what the CBOR encoding would do with the range...
>=20
> <tp>
>=20
> I am with Juergen here, and in a previous post, that if that is the way i=
t is done in
> BBF, then that is a compelling reason to do the same.
>=20
> Also, you can create a typedef for it, in one place in the model with a
> description, both in the YANG and in the body of the I-D, and then use th=
at type
> in all the places that it applies, which, for me, makes for a clearer, ea=
sier to
> understand model.
>=20
> I suggested boolean but agree that it is clumsy, not quite right (althoug=
h I have
> seen it somewhere).  I suggested choice/case because that is what others =
do but
> as before, following BBF is a more compelling argument.
>=20
> It also addresses the problem of access control making it a challenge to =
know
> what is going on.  The one leaf, the one object, you get it or you do not=
.  Simple!
>=20
> And if you want to save bits, then YANG is not for you; the design aim wa=
s text
> that anyone could read anywhere; if you want to save bits, then you need =
a
> compact binary representation:-)
>=20
> Tom Petch
> (who is on European time)
>=20
>   > > The alternative is to not
>=20
> instantiate the leaf if there is no value
> > > and to accept that a client can't tell the difference between 'there
> > > is no value' and 'the value has been suppressed by authorization'.
> >
> > Interesting.  I wasn't aware that this cannot be distinguished in YANG.
>=20
> I have to correct what I wrote. Its the leaf that is suppressed, not
> the value.
>=20
> In XML, if <foo/> does not exist, the client gets nothing. If <foo/>
> does exist (and it's value is empty in this example) and authorization
> rules say 'don't tell the client', the client gets nothing. A client
> not getting <foo/> can't decide whether there is no <foo/> because
> <foo/> does not exist or authorization prevented access to <foo/>.
>=20
> Authorization is not part of YANG. NACM started as an extension to
> NETCONF in order to control access to data. Initially the acronym NACM
> expanded to the 'NETCONF Access Control Model', RFC 6536.  The revised
> NACM also works with RESTCONF (and likely other protocols) and hence
> the acronym now expands to the 'Network Configuration Access Control
> Model', RFC 8341.
>=20
> > But an "empty" would be present if it is chosen, no?
>=20
> You grant or restrict access to <foo/> and it does not matter what
> type <foo/> has or which value <foo/> has (if it is a leaf) or whether
> <foo/> is the root of a deeply nested tree (if it is a container).  If
> a client has no permissions to read <foo/>, then <foo/> is silently
> omitted.
>=20
> Things are different if a client attempts to create/write/delete
> <foo/>, in this case the client will get an explicit authorization
> failure error. For the details, see RFC 8341.
>=20
> /js
>=20
> --
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <https://urldefense.com/v3/__https://www.=
jacobs-
> university.de/__;!!BhdT!0lzj-
> SsD4F_BXA2xA1cZKG6UywIiSir64JMs2nHWe4NhV6ltLH2pt1EFLdoxAw$ >
>=20
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/netmod_=
_;
> !!BhdT!0lzj-
> SsD4F_BXA2xA1cZKG6UywIiSir64JMs2nHWe4NhV6ltLH2pt1Ew7T22Pw$
>=20
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/netmod_=
_;
> !!BhdT!0lzj-
> SsD4F_BXA2xA1cZKG6UywIiSir64JMs2nHWe4NhV6ltLH2pt1Ew7T22Pw$


From nobody Wed Sep 15 09:13:26 2021
Return-Path: <ietfc@btconnect.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D9B973A206A; Wed, 15 Sep 2021 09:13:18 -0700 (PDT)
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, 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 o0dtOxtPj-3X; Wed, 15 Sep 2021 09:13:13 -0700 (PDT)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20133.outbound.protection.outlook.com [40.107.2.133]) (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 5F5E13A2069; Wed, 15 Sep 2021 09:13:13 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=haQL0s3QTetko0qpkPAPR1gOcgGaEn3pYcqHhpuWFuTw+fKrLe6ZxsxxcBWDixIGZti7/bQQhmzzjaJeWskIuv2ZchgpePBUjVxaTM/tk9xw2NDUO7OQgQjs2hyRGYCvBDzWCQEePJixH0Y5m3dKA6TzvKv0QX2bqfkUcu8XjJqEl9sWZpJluryyOvcAdqn/EuyEvu65qcT7e1la3pdWrUABIKjGyfqtinu9W4aYOUVXadMznqYDqAH0r8TxFUceGdGsHsXQ9aE4c2JbDIyqvfdBAoq0x1lX5cGhmx1TPriX6qHU/N2OH/ONEf5sx50dEjiUDOf/oeyiDiBBAtbItQ==
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;  bh=iixOBudQTXww2HrI/NoiOdlFNsOtwh9VTQGxWIiW6lc=; b=WMWZURy6fxk0SWIHMKgvcZmV8A3aIZ21zpmrI9cEGXLXoXg5Q+OhxFnaejWP9K3vDoXCjvcKbdIKZimb+7zwadhHaSyB+WOxU0Yp/D6+FZ8yqibFHaLQRRK4tS0wfN7/fibsyeNMmZ4DxtSkqadLRtIU1tTTxPe7HUn0Exe1eqhkaKM3SsV1TtzWR/r62Br3lhC0N6szH77HDRGFEOcxycXf5dJh7OTur57I3E2KqU0VYRdP5gY4R1FT9wW+j+ji3CUqnzh7iP511qr1mHtCTPJcor90TmFcU3dOs+axO8Xo+RaW2hb39+sVvLr8CWWQj7bjV42LJKbetQHrERDx+g==
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=iixOBudQTXww2HrI/NoiOdlFNsOtwh9VTQGxWIiW6lc=; b=qYFomyKsIGgH/tY19EPYJIBAFI9SYs9fqUBbQmQh54GyQ1y9IuVCt5iiLYzOTEdNCs7YNRvFAvJfbNVrk16yj8CUbIWoQcXwmSp3LIMySog8LW+nbSy6cb28c4n56yfI/FgNZQAvqn7QGA27k35/HmhBYQQoGCAKPARyroriWMQ=
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com (2603:10a6:20b:134::11) by AM5PR0701MB2371.eurprd07.prod.outlook.com (2603:10a6:203:e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.9; Wed, 15 Sep 2021 16:13:10 +0000
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::b9c8:47dd:34f0:7180]) by AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::b9c8:47dd:34f0:7180%6]) with mapi id 15.20.4523.014; Wed, 15 Sep 2021 16:13:10 +0000
From: tom petch <ietfc@btconnect.com>
To: "STARK, BARBARA H" <bs7652@att.com>, 'Carsten Bormann' <cabo@tzi.org>, 'Juergen Schoenwaelder' <j.schoenwaelder@jacobs-university.de>
CC: "'netmod@ietf.org'" <netmod@ietf.org>, 'Babel at IETF' <babel@ietf.org>
Thread-Topic: [netmod] [babel]    NULL value for  ip-address
Thread-Index: AQHXqiCqgDJcR3KJe0SBfixmaEpJDqulDHMAgAA1G50=
Date: Wed, 15 Sep 2021 16:13:10 +0000
Message-ID: <AM7PR07MB6248C70640A35E12ADF903BFA0DB9@AM7PR07MB6248.eurprd07.prod.outlook.com>
References: <20210910200902.bic4rhyhp75bgsjz@anna.jacobs.jacobs-university.de> <BBC6AA9F-86C1-4A9C-86FD-AD77668CA9D9@gmail.com> <20210913200455.xot7lihpmqiemm5c@anna.jacobs.jacobs-university.de> <DM6PR02MB69248D2780D5C880CC647783C3D99@DM6PR02MB6924.namprd02.prod.outlook.com> <AM7PR07MB6248BBB558136D1E6F8C1549A0DA9@AM7PR07MB6248.eurprd07.prod.outlook.com> <DM6PR02MB692446F49506791E90B0D23EC3DA9@DM6PR02MB6924.namprd02.prod.outlook.com> <20210914171729.ph5q77zm46z3zvxi@anna.jacobs.jacobs-university.de> <FAE5986C-BE56-44A9-A6A5-1A37D9539F61@tzi.org> <20210914191618.khcicr6o4x5sdki3@anna.jacobs.jacobs-university.de> <21E40C00-5C1B-4C54-9CDB-B99AC14B1F3E@tzi.org> <20210914235319.is4x5nzuqdz26dv4@anna.jacobs.jacobs-university.de> <AM7PR07MB62485B09ECE52AE1C4154B29A0DB9@AM7PR07MB6248.eurprd07.prod.outlook.com> <AM7PR07MB6248B7058FA3C5E05114E8B4A0DB9@AM7PR07MB6248.eurprd07.prod.outlook.com> <DM6PR02MB6924E84032C48A44B55BE6CEC3DB9@DM6PR02MB6924.namprd02.prod.outlook.com>
In-Reply-To: <DM6PR02MB6924E84032C48A44B55BE6CEC3DB9@DM6PR02MB6924.namprd02.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
suggested_attachment_session_id: 88e9f7ff-5149-78dd-ff42-76cbb9669e5b
authentication-results: att.com; dkim=none (message not signed) header.d=none;att.com; dmarc=none action=none header.from=btconnect.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: f9a5c920-b6b4-433f-d727-08d97863b672
x-ms-traffictypediagnostic: AM5PR0701MB2371:
x-microsoft-antispam-prvs: <AM5PR0701MB2371BBB7D90D4AB67BDFA74DA0DB9@AM5PR0701MB2371.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 7oV3iwmYM9pDfllAAz0tWZJIYAJjkg+rKmXLtKwRTzckemcUW5z+GJ/MfoLiKWimYDJGa2gRBBYuGvdl6QSc3hDHqy0Qj4jzwcdyGqFYgPvx7tPAVsSJSFQfWZR0kdPFt21nPoh34GC0kGT8+PurkRWtdLwf5cVsAmtZ3KILVTy9v0zeCI8G4M88US8zhs3cTFmau8IZ+HYnIxvW5h0g9nhFr+/OTV01ObMZGc/vJnTl/Qcd9z8WdpLDq6GsPKT6OsK7mwfNBIr0y3JyaGbEoA/YenqnQIxfTx2mFG786xLF6O5YhTJvQlNgGEfRarzePNsT8Rs8ERUkiOOeKXk2FRzPtjjUtbEuBH+de/s0bL6OJeOXjasF3SIvK+3wEq7LnT810M2UW8IPJeDfE9eTHrUeNYGfntWaoKlLgX/foweHcq/Fl1b5i3xaLrZov2cznAa9/kVnF9mpfPcW7RBlqPWqz66EZEudNM6mBQYSXjjKfcZA39rYFe8GVLZSVkUdDKkpgLU56J9a3u4YJ4mjvhNfDfHntrlP8CmXa+/YCVJx5k0g0j88Sbzu6JcVVTmna1jlOXDvKylrekJcbt0RjhNWYmTYEvcpZyx08Vz113HJUpyIogJbZ1P8fP1suuqhZoXWzuYFK/CEKORdPIuDVqL1gDjQDaTRaKGA0+Ci1z3loLlPUzC0U/We8ryx/o9YM3lorQDMIeKUO7E9XyfkPw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:AM7PR07MB6248.eurprd07.prod.outlook.com; PTR:; CAT:NONE;  SFS:(366004)(9686003)(76116006)(66446008)(64756008)(91956017)(122000001)(38100700002)(8936002)(110136005)(33656002)(66556008)(66946007)(71200400001)(316002)(66476007)(86362001)(54906003)(6506007)(2906002)(5660300002)(26005)(52536014)(55016002)(4326008)(38070700005)(66574015)(508600001)(7696005)(186003)(8676002); DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?pk+2FZvl69EJc7zeDu2OcV6lUUDKPNwAWetDzaF7ihZijs23+YPR+TCklB?= =?iso-8859-1?Q?I7zEHsdQL8oeOvihSKjKeRnVsFLoikMT0ylJ3sP+Me4vcX1KA/0dCjjOoq?= =?iso-8859-1?Q?cKPu5lYdU8NnPpEF3kHVdUn6LoLTx4CQEHq9oUNK+UNo8ewEJg6ZmhqgqD?= =?iso-8859-1?Q?eOZrySio/qfw5r3tL3+9nk5QMPoL46Rt7A2gC6zCntAtc83ScF907MU/bI?= =?iso-8859-1?Q?87+j39OXE7V5Vctb300N68gExpAk5gP0J4BNuRM6HpZcrvdHJsLu4GcYB3?= =?iso-8859-1?Q?qE2PdF9pSyICiihMufUFlFn5CvyUivbIDeLBs+afGDRedEZYoHnlGOOANw?= =?iso-8859-1?Q?E9rE2Pg0S7vPpY10bvEqA3UlluLrhRYxypOwxKqAUIruq15ZOiXaoyHSCc?= =?iso-8859-1?Q?6sioZIKWYSezn4WZMARf19CCu8pbpLi2Cex8o+q9JnoNwlMjQchz5zXRHG?= =?iso-8859-1?Q?qxzv6PdZvuySzCdZqIRtokgJyb6slRXkrpwCuQUlH7Ie+0PevAvRMvaK7o?= =?iso-8859-1?Q?z1eeRgjzVTgTppajRN1e8l/x7djLlbqKJjO41xuvl8v1eM4KjoCIPMEvOC?= =?iso-8859-1?Q?i8MatXBeKEQ6sd+J+XwuFKD0IzvATdbBrwFi19WEEPYL1ofIQRLVJu8Mka?= =?iso-8859-1?Q?CvRYK+AykcrZH4UpnuYdP4XCIq0VilPgaVUMY8b0kwHHxR1DyRk0MtpXmX?= =?iso-8859-1?Q?M6kPkuARGoUgOsBO3Wd1Irh7uLqFkBerLg9WQLafOZ9cbodeHMvXPX/cg4?= =?iso-8859-1?Q?6vUGJFrr4hQLmRaWFkHJ0waYfGD4BrxXCBabC7pkxQyDboFcdcjoa5TzFo?= =?iso-8859-1?Q?5FsZwIQgdLQqDF3J/81w0Lvs2V6A2LIoA2KhU0Jx/8ggVG4sL1xz7ct7nF?= =?iso-8859-1?Q?vlz2ajifT1aKFENdc0FogRIwR42VZk0URa6/NqZI+OLihKPXF5AJcqhgQ+?= =?iso-8859-1?Q?W3ARjkZWjcAs2jFM4cKbOrAqhmYmGUK4nXuWhW7z6nY58T77S4KLFf8mK8?= =?iso-8859-1?Q?YC2xqxp1p4X74cdBmlcPVW/cBYkh2WXW/c0lNne4BCPyyldjUXOa2hrfaF?= =?iso-8859-1?Q?YF0QaY6oH4HrokEz1KFqeBNOCo0JhIYYv9W2JupUy0fWwIDyAXgGq17EAt?= =?iso-8859-1?Q?jc/6RsAaoopJZ5uTZQdc8rQRknLV3cHRP9cA2/zWsbJize0q8+yAMtQFyJ?= =?iso-8859-1?Q?aTrCJULiWq6TjanvraOZCDEO/ZO5n+4un6MYlTNlwvrFvAi6VSp9Vu7gVk?= =?iso-8859-1?Q?AnYXvtnTCYTDYHU/6QY6qUGo+npyoqzYy7nNcw0qxObFXPbXSpyvYNrwh4?= =?iso-8859-1?Q?pSoyuwm4BWaTxge+uED5s1CC8sdLhpIT4EXhSUbYZnrcDKU=3D?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7PR07MB6248.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: f9a5c920-b6b4-433f-d727-08d97863b672
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Sep 2021 16:13:10.6117 (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: Oupqr7gJ7jpRhb6BnpHql8FH5//5EA7+fYWRn4q9ZH4K0sOwrq7NsSFi+s6ig2/T2dEsaDdJNEwJrqFt4rYc4w==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0701MB2371
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/uTEayFNEPd3-WBDpp6sJrhNXckA>
Subject: Re: [babel] [netmod]     NULL value for  ip-address
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Sep 2021 16:13:19 -0000

From: STARK, BARBARA H <bs7652@att.com>=0A=
Sent: 15 September 2021 13:51=0A=
=0A=
> Barbara=0A=
>=0A=
> Top posting a slightly different question.=0A=
>=0A=
> Belatedly doing my homework, I see that not all the NULL are uint16.  One=
,=0A=
> next-hop, is ip-address.  We have the options discussed for uint16 but co=
uld also=0A=
> use zero (or some other value) to mean NULL.  Zero is of course the way t=
he=0A=
> default is commonly represented.=0A=
>=0A=
> How is this handled in TR-181?  How would you like it handled in YANG?=0A=
>=0A=
> Tom Petch=0A=
=0A=
Hi Tom,=0A=
In discussion with Mahesh, he has indicated preference for union with a "nu=
ll" enumeration to handle the uint16 cases. He's also indicated he would pr=
efer to do that for the ip-address.=0A=
I see the YANG ip-address type is a union of ipv4-address and ipv6-address =
types, both of which are strings.=0A=
In BBF, there is the IPAddress datatype which is a string(45) with IPv4 and=
 IPv6 formats allowed. There are also IPv4Address and IPv6Address datatypes=
 that are defined as derivatives of the IPAddress datatype. An empty string=
 is used for "unspecified or inapplicable addresses". Strings, unlike ints,=
 have the luxury of being empty.=0A=
I'm perfectly fine with Mahesh's choice to use the union with a "null" enum=
 in all cases. It seems like a good solution.=0A=
=0A=
<tp>=0A=
=0A=
OK.=0A=
=0A=
Two digressions.  One is that the RFC6991 YANG ip-address includes a zone, =
a string of indeterminate length and flexible syntax, both for IPv4 and IPv=
6 so when this is specified, I wonder if the author is aware of this and th=
e -no-zone alternative which, on occasions, is more appropriate.=0A=
=0A=
Second, left field. when I first posted, I had great difficulty in specifyi=
ng the e-mail addresses I was sending to (still do:-(.  I included the docu=
ment shepherd, and you because I knew what your address is and it is easy t=
o type correctly:-)  The addresses I might have included, but did not,  wer=
e your fellow author (who is now on the thread); and the WG Chairs, the add=
ress for the I-D and perhaps the AD.  I trust that these others will be inv=
olved when needed.=0A=
=0A=
Tom Petch=0A=
=0A=
=0A=
Thx,=0A=
Barbara=0A=
=0A=
> From: netmod <netmod-bounces@ietf.org> on behalf of tom petch=0A=
> <ietfc@btconnect.com>=0A=
> Sent: 15 September 2021 10:04=0A=
>=0A=
> From: netmod <netmod-bounces@ietf.org> on behalf of J=FCrgen Sch=F6nw=E4l=
der=0A=
> <j.schoenwaelder@jacobs-university.de>=0A=
> Sent: 15 September 2021 00:53=0A=
>=0A=
=0A=
<snip>=0A=
=0A=


From nobody Wed Sep 15 16:22:34 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: babel@ietf.org
Delivered-To: babel@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 919FD3A18FB; Wed, 15 Sep 2021 16:22:26 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: babel@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.37.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: babel@ietf.org
Message-ID: <163174814646.10621.10397522851908928299@ietfa.amsl.com>
Date: Wed, 15 Sep 2021 16:22:26 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/FQMK7CCO9pXcXdrq-JfZC9OSm1M>
Subject: [babel] I-D Action: draft-ietf-babel-yang-model-12.txt
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Sep 2021 23:22:27 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Babel routing protocol WG of the IETF.

        Title           : YANG Data Model for Babel
        Authors         : Mahesh Jethanandani
                          Barbara Stark
	Filename        : draft-ietf-babel-yang-model-12.txt
	Pages           : 44
	Date            : 2021-09-15

Abstract:
   This document defines a data model for the Babel routing protocol.
   The data model is defined using the YANG data modeling language.



The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-babel-yang-model/

There is also an htmlized version available at:
https://datatracker.ietf.org/doc/html/draft-ietf-babel-yang-model-12

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-babel-yang-model-12


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Wed Sep 15 19:37:33 2021
Return-Path: <mjethanandani@gmail.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5E67A3A074D for <babel@ietfa.amsl.com>; Wed, 15 Sep 2021 19:37:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level: 
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=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 (2048-bit key) header.d=gmail.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 7dUYXkPtvMb5 for <babel@ietfa.amsl.com>; Wed, 15 Sep 2021 19:37:27 -0700 (PDT)
Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0A82B3A05F0 for <babel@ietf.org>; Wed, 15 Sep 2021 19:37:27 -0700 (PDT)
Received: by mail-pg1-x535.google.com with SMTP id k24so4732979pgh.8 for <babel@ietf.org>; Wed, 15 Sep 2021 19:37:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=from:mime-version:subject:date:references:to:in-reply-to:message-id;  bh=ielpr4bWxzmw+mH+GQ/tRR6iDHNUuuHP65HapczuwjI=; b=mb1Ms19LSRxnXRu6ETupKAZ5UjIdgrTm5jl3Uwq/iz3HbjCZXewb9zQ/DcbiwmUjO3 6gz+SOfLOHhe/o9Og7Dae1/VpBkaGKLeWBj6Iqp5TB+2ovWspzAQV+wfByc0S/TH159S c+bwDUF8spsolbhshYsU64j+ty7QvvYLvYVju1aatnhaTJGMfex0YWNYSe4ErheQAkSQ QTKuzv59G+ypLNm/gsJgw/Olv9D2IkoUSRBcRphEYtq6NOhLq/p0rL8Tv6XQm4QCP+Mg ncBcDLKhKxQq04Dmdz26u4GREyw4JLK7FJzC5i16HfxvWu7eWPP59QYK6zEYyXPGCnea 3ycA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=ielpr4bWxzmw+mH+GQ/tRR6iDHNUuuHP65HapczuwjI=; b=k/xVr+mP23M2sLGsE7guEcVWfodz4okB6RXbb7m6924RHARwgJexMLU7UAjeXA67hn OE7n+0voZlv0y5oOheRCp5R/460u4fFSVN3f0I1aQ7OejhplQ8HJz/Ngpob86jM8t7pd fC07dALrX9AT1Z1HoXOz/09VLCtEAg+CIwwbfaBudI5IURdyOf/ECTa61ENC+jHVe903 VdXGsxdhfAipM7uoCI1SmfB6/nO79ZKIuD1ZjFZn73VwICOG3ZvLp5CAodn5WVL1vcjK I43m3VMzdg60IY4WwN2jb5oUcsnc5md552ot8ZRiO0rATEkGx8UH83i0lLCgX4UCxtYt 1E9A==
X-Gm-Message-State: AOAM533p/y1X0BJJfVQEugXsY3i6pntBuV+v9Ip7rRtpoLFHNQ/eMu4u Vp4DNlzG2J6CEVOlayvZVXKfBJrp1GgfbA==
X-Google-Smtp-Source: ABdhPJy6ureVteszOBFIWVnlcPh5UUxZ6RU1VUdKb9PV2UxS0Ky9apUG9NnGnl6WaG93HMG3TOHknA==
X-Received: by 2002:a63:35cf:: with SMTP id c198mr2863629pga.346.1631759844696;  Wed, 15 Sep 2021 19:37:24 -0700 (PDT)
Received: from [192.168.1.133] (c-69-181-169-15.hsd1.ca.comcast.net. [69.181.169.15]) by smtp.gmail.com with ESMTPSA id u8sm1008594pfk.212.2021.09.15.19.37.24 for <babel@ietf.org> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Sep 2021 19:37:24 -0700 (PDT)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_996758EF-B425-47B9-B350-E62B7D5A4CFA"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
Date: Wed, 15 Sep 2021 19:37:23 -0700
References: <163174814646.10621.10397522851908928299@ietfa.amsl.com>
To: babel@ietf.org
In-Reply-To: <163174814646.10621.10397522851908928299@ietfa.amsl.com>
Message-Id: <EECB1BAF-C1D5-42EE-9FA3-48BB67080DC2@gmail.com>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/lSHqm1dn7MJZ_-vr4GlQI5g8Gxw>
Subject: Re: [babel] I-D Action: draft-ietf-babel-yang-model-12.txt
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Sep 2021 02:37:32 -0000

--Apple-Mail=_996758EF-B425-47B9-B350-E62B7D5A4CFA
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

This version of the draft addresses the discussion around the usage of 0 =
as NULL in the YANG model. With this version, when a model needs to =
represent a NULL value, the model uses a union with an enumeration =
called =E2=80=99null=E2=80=99 to represent the NULL value.

Cheers.

> On Sep 15, 2021, at 4:22 PM, internet-drafts@ietf.org wrote:
>=20
>=20
> A New Internet-Draft is available from the on-line Internet-Drafts =
directories.
> This draft is a work item of the Babel routing protocol WG of the =
IETF.
>=20
>        Title           : YANG Data Model for Babel
>        Authors         : Mahesh Jethanandani
>                          Barbara Stark
> 	Filename        : draft-ietf-babel-yang-model-12.txt
> 	Pages           : 44
> 	Date            : 2021-09-15
>=20
> Abstract:
>   This document defines a data model for the Babel routing protocol.
>   The data model is defined using the YANG data modeling language.
>=20
>=20
>=20
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-babel-yang-model/
>=20
> There is also an htmlized version available at:
> https://datatracker.ietf.org/doc/html/draft-ietf-babel-yang-model-12
>=20
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-babel-yang-model-12
>=20
>=20
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>=20
>=20
> _______________________________________________
> babel mailing list
> babel@ietf.org
> https://www.ietf.org/mailman/listinfo/babel

Mahesh Jethanandani
mjethanandani@gmail.com






--Apple-Mail=_996758EF-B425-47B9-B350-E62B7D5A4CFA
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">This =
version of the draft addresses the discussion around the usage of 0 as =
NULL in the YANG model. With this version, when a model needs to =
represent a NULL value, the model uses a union with an enumeration =
called =E2=80=99null=E2=80=99 to represent the NULL value.<div =
class=3D""><br class=3D""></div><div class=3D"">Cheers.<br =
class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On Sep 15, 2021, at 4:22 PM, <a =
href=3D"mailto:internet-drafts@ietf.org" =
class=3D"">internet-drafts@ietf.org</a> wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div class=3D""><br =
class=3D"">A New Internet-Draft is available from the on-line =
Internet-Drafts directories.<br class=3D"">This draft is a work item of =
the Babel routing protocol WG of the IETF.<br class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Title =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: YANG Data =
Model for Babel<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Authors =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: Mahesh Jethanandani<br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;Barbara Stark<br class=3D""><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>Filename =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: =
draft-ietf-babel-yang-model-12.txt<br class=3D""><span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>Pages =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: 44<br =
class=3D""><span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>Date =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: =
2021-09-15<br class=3D""><br class=3D"">Abstract:<br class=3D""> =
&nbsp;&nbsp;This document defines a data model for the Babel routing =
protocol.<br class=3D""> &nbsp;&nbsp;The data model is defined using the =
YANG data modeling language.<br class=3D""><br class=3D""><br =
class=3D""><br class=3D"">The IETF datatracker status page for this =
draft is:<br class=3D""><a =
href=3D"https://datatracker.ietf.org/doc/draft-ietf-babel-yang-model/" =
class=3D"">https://datatracker.ietf.org/doc/draft-ietf-babel-yang-model/</=
a><br class=3D""><br class=3D"">There is also an htmlized version =
available at:<br =
class=3D"">https://datatracker.ietf.org/doc/html/draft-ietf-babel-yang-mod=
el-12<br class=3D""><br class=3D"">A diff from the previous version is =
available at:<br =
class=3D"">https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-babel-yang-model=
-12<br class=3D""><br class=3D""><br class=3D"">Internet-Drafts are also =
available by anonymous FTP at:<br =
class=3D"">ftp://ftp.ietf.org/internet-drafts/<br class=3D""><br =
class=3D""><br =
class=3D"">_______________________________________________<br =
class=3D"">babel mailing list<br class=3D"">babel@ietf.org<br =
class=3D"">https://www.ietf.org/mailman/listinfo/babel<br =
class=3D""></div></div></blockquote></div><br class=3D""><div class=3D"">
<div dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, =
0); letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D""><div style=3D"color: rgb(0, 0, 0); letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D""><div class=3D"">Mahesh Jethanandani</div><div class=3D""><a =
href=3D"mailto:mjethanandani@gmail.com" =
class=3D"">mjethanandani@gmail.com</a></div><div class=3D""><br =
class=3D""></div></div><br class=3D"Apple-interchange-newline"></div><br =
class=3D"Apple-interchange-newline"><br =
class=3D"Apple-interchange-newline">
</div>
<br class=3D""></div></body></html>=

--Apple-Mail=_996758EF-B425-47B9-B350-E62B7D5A4CFA--


From nobody Thu Sep 16 14:38:47 2021
Return-Path: <noreply@ietf.org>
X-Original-To: babel@ietf.org
Delivered-To: babel@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id EC60E3A0598; Thu, 16 Sep 2021 14:38:41 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Benjamin Kaduk via Datatracker <noreply@ietf.org>
To: "The IESG" <iesg@ietf.org>
Cc: draft-ietf-babel-yang-model@ietf.org, babel-chairs@ietf.org, babel@ietf.org, Donald Eastlake <d3e3e3@gmail.com>, d3e3e3@gmail.com
X-Test-IDTracker: no
X-IETF-IDTracker: 7.37.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: Benjamin Kaduk <kaduk@mit.edu>
Message-ID: <163182832115.20818.13304017783978901966@ietfa.amsl.com>
Date: Thu, 16 Sep 2021 14:38:41 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/lhmC2zeBQPjxZhsP0v80Q9mq_-8>
Subject: [babel] Benjamin Kaduk's No Objection on draft-ietf-babel-yang-model-12: (with COMMENT)
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Sep 2021 21:38:42 -0000

Benjamin Kaduk has entered the following ballot position for
draft-ietf-babel-yang-model-12: No Objection

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
for more information about DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-babel-yang-model/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

Many thanks for the updates between the -10 and the -12; I'm happy to
report that they address my DISCUSS points (and all the COMMENT points
that I checked, as well)!

I'm terribly sorry to have failed to notice this previously, but when we
discuss the "cached_info" TLS extension, we mention its use in the
ClientHello and ServerHello messages.  However, for TLS 1.3 it seems
that this extension would probably not belong in the ServerHello, but
rather in the EncryptedExtensions message; unfortunately, this does not
actually seem to be formally specified anywhere (see
https://github.com/tlswg/tls13-spec/issues/1237).  If we're not
comfortable mentioning EncryptedExtensions by name, my suggestion would
be to make the change

OLD:
               "Indicates whether the cached_info extension is enabled.
                The extension is enabled for inclusion in ClientHello
                and ServerHello messages if the value is 'true'.";

NEW:
               "Indicates whether the cached_info extension is enabled.
                The extension is enabled for inclusion in TLS handshake
                messages if the value is 'true'.";

Appendix A

[Just noting that I did not review the new tree diagram or modified
examples, on the assumption that they were mechanically generated, and
the tool used to produce them is a more reliable cross-check against the
actual YANG model than a human (me).]




From nobody Thu Sep 16 14:38:54 2021
Return-Path: <kaduk@mit.edu>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B25FC3A0788; Thu, 16 Sep 2021 14:38:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.498
X-Spam-Level: 
X-Spam-Status: No, score=-1.498 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.399, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 cyZOTicUX7yg; Thu, 16 Sep 2021 14:38:41 -0700 (PDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (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 653E73A07D2; Thu, 16 Sep 2021 14:38:22 -0700 (PDT)
Received: from kduck.mit.edu ([24.16.140.251]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 18GLcDPB030136 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 Sep 2021 17:38:18 -0400
Date: Thu, 16 Sep 2021 14:38:13 -0700
From: Benjamin Kaduk <kaduk@mit.edu>
To: Mahesh Jethanandani <mjethanandani@gmail.com>
Cc: The IESG <iesg@ietf.org>, draft-ietf-babel-yang-model@ietf.org, babel-chairs <babel-chairs@ietf.org>, Babel at IETF <babel@ietf.org>, Donald Eastlake <d3e3e3@gmail.com>
Message-ID: <20210916213813.GK32645@kduck.mit.edu>
References: <162148379451.10850.9563671396439074857@ietfa.amsl.com> <99514803-6C88-40F8-B924-315945B052C1@gmail.com> <20210720235506.GX88594@kduck.mit.edu> <6CDF1D68-7F33-4598-BA75-D6D824A04F1F@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <6CDF1D68-7F33-4598-BA75-D6D824A04F1F@gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/j9QLmU1OZ3X85PFUyxVB2ldDiTA>
Subject: Re: [babel] Benjamin Kaduk's Discuss on draft-ietf-babel-yang-model-10: (with DISCUSS and COMMENT)
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Sep 2021 21:38:49 -0000

Hi Mahesh,

My apologies again for the delayed response.  Thank you for submitting the
updates in the -11 and -12 (which also serves to generate a reminder to me
that I have an action item).  I'm happy to report that my DISCUSS points
are addressed, and will update my ballot position after I send this mail.

A few things left to comment on, inline...

On Wed, Aug 04, 2021 at 11:34:52AM -0700, Mahesh Jethanandani wrote:
> Hi Ben,
> 
> No worries. See inline, and for brevity reasons I will also skip “ok”, and other responses that would have acknowledged but do not require a specific response.
> 
> > On Jul 20, 2021, at 4:55 PM, Benjamin Kaduk <kaduk@mit.edu> wrote:
> > 
> > Hi Mahesh, Barbara,
> > 
> > My humble apologies for not responding earlier; this really was an
> > unreasonable amount of time for you to wait.
> > 
> > Responses inline, though for brevity I will omit remarks of the form
> > "sounds good", "thank you", etc.
> > 
> > On Tue, Jun 08, 2021 at 08:47:14AM -0700, Mahesh Jethanandani wrote:
> >> Hi Benjamin,
> >> 
> >> Thank you first of all for a detailed review. Some of the comments/changes suggested here may impact the information model that this draft depends on. The information model is in AUTH48 state at this time.
> >> 
> >> This response includes feedback from my co-author Barbara.
> >> 
> >>> On May 19, 2021, at 9:09 PM, Benjamin Kaduk via Datatracker <noreply@ietf.org> wrote:
> >>> 
> >>> Benjamin Kaduk has entered the following ballot position for
> >>> draft-ietf-babel-yang-model-10: Discuss
> >>> 
> >>> When responding, please keep the subject line intact and reply to all
> >>> email addresses included in the To and CC lines. (Feel free to cut this
> >>> introductory paragraph, however.)
> >>> 
> >>> 
> >>> Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
> >>> for more information about DISCUSS and COMMENT positions.
> >>> 
> >>> 
> >>> The document, along with other ballot positions, can be found here:
> >>> https://datatracker.ietf.org/doc/draft-ietf-babel-yang-model/
> >>> 
> >>> 
> >>> 
> >>> ----------------------------------------------------------------------
> >>> DISCUSS:
> >>> ----------------------------------------------------------------------
> >>> 
> >>> This is kind of nitpicky, and I'm sorry to pull out the heavy hammer of
> >>> DISCUSS for it, but for the "dtls-cached-info" leaf with description:
> >>> 
> >>>              "Indicates whether the cached_info extension is included
> >>>               in ClientHello and ServerHello packets. The extension
> >>>               is included if the value is 'true'.";
> >>> 
> >>> It is factually false to just say that "the extension is included if the
> >>> value is true", and it contradicts the DTLS specification to say so.  In
> >>> particular, the extension can only be included in the ServerHello
> >>> message if it was present in the ClientHello message being responded to.
> >>> So maybe we can say "enabled for inclusion" or append "when permitted by
> >>> the protocol", or something similar?
> >> 
> >> How about this?
> >> 
> >> OLD:
> >>            "Indicates whether the cached_info extension is included
> >>             in ClientHello and ServerHello packets. The extension
> >>             is included if the value is 'true'.";
> >> 
> >> NEW:
> >>            "Indicates whether use of cached_info extension is enabled.
> >>             The extension is enabled for inclusion if the value is 'true'.";
> > 
> > Both this form and Barbara's revision will address my concern.  Barbara's
> > version removes any ambiguity about what the "inclusion" would be in, so
> > that seems preferred to me.
> 
> Ok. Will use Barbara’s version.
> 
> > 
> >> 
> >>> 
> >>> There's also a few places where we didn't quite clean up all the fallout
> >>> from switching from enumerations to identities (for MAC and
> >>> DTLS-adjacent algorithms), that really ought to get fixed before
> >>> publication.  I try to note them in the COMMENT.
> >>> 
> >>> I also think we need to be a bit more specific about the structure of
> >>> the (binary) private-key leaf/values provided when a certificate entry
> >>> is created.  Ideally this would just be by reference to some other spec,
> >>> but the situation is unfortunately messy.  (It doesn't help that we
> >>> allow DTLS 1.2, which allows certificates that are used for key-exchange
> >>> as opposed to signing, and those are not terribly mainstream.)  We may
> >>> need to pull in some other experts to figure out the right way to write
> >>> about this.
> >> 
> >> Ok. The way I am reading this is that we need to wait to hear more from the experts that you cite before making any changes.
> >> 
> >> Note, in WG discussion the ask was for the format of the private-key to be binary. I am not an expert, but would it help if the description said something about using PEM format for the private-key?
> > 
> > I think binary is probably fine; a PEM encoding is just base64 encoding and
> > sometimes a little bit of a hint as to what the contained structure is.
> > But my recollection is that the PEM type indication for certificate private
> > keys is not always precise enough to indicate what is to be used, so an
> > implementation would need to consult the "type" sibling leaf anyway in
> > order to process the "private-key"...but it's not entirely clear that just
> > "type" is enough information on its own.
> > 
> > It is possible that we can find the necessary references without pulling in
> > an external expert, but if we get stuck I would probably ask Russ Housley
> > or Sean Turner for help.
> > 
> > As a starting point, I note that RFC 4211 lists several Private Key
> > structures in Section 4.2.2 in ASN.1 syntax.  We would presumably require
> > that the binary value exposed by the YANG module be the DER-encoded version
> > of that ASN.1 structure.  RFC 5915 has a private-key structure for ECC
> > keys.  The complications then come in specifying how the other YANG
> > elements determine which (DER-encoded) ASN.1 structure is used for the
> > "private-key" contents.  In particular, "dtls-cert-type" indicates only a
> > "certificate type" in the TLS sense -- X.509, raw public key, and the like.
> > Both X.509 certificates and raw public keys can use keys from different
> > cryptosystems or cryptographic algorithms.  So I find it pretty
> > inescapable that we'll need some in-band signaling about whether the
> > private-key is a basic RSA key, or perhaps an RSA-PSS key that has some
> > specific associated parameters, vs a DH or DSA key, or ECDH, ECDSA, EdDSA,
> > etc.  With in-band signaling comes the need for a table or enumeration of
> > what the different (currently supported) key structures are.  It seems that
> > draft-ietf-netconf-crypto-types may have a start at private-key structures
> > of this sort, though I have not been following that work closely (it seems
> > to be in WGLC at the moment).
> > 
> 
> We will need to go back to the WG to discuss this. Let us get back to you on this.

I see the follow-up message, and using ‘private-key-formats’ from
ietf-crypto-types seems like a really good option.  Thank you for finding
that!  Of particular note (to me) is that it's extensible via identityref,
so if someone does have cause to use one of the more exotic TLS certificate
types, there's a straightforward path to doing so.

> >>> 
> >>> 
> >>> ----------------------------------------------------------------------
> >>> COMMENT:
> >>> ----------------------------------------------------------------------
> >>> 
> >>> Section 2.2
> >>> 
> >>>  In addition to information like the version number implemented by
> >>>  this device, the model contains subtrees on 'constants',
> >>>  'interfaces', 'routes' and 'security'.
> >>> 
> >>> I don't see a 'security' node, but rather separate 'mac-key-set' and
> >>> 'dtls' nodes, both of which contain subtrees.
> >> 
> >> Fixed.
> >> 
> >>> 
> >>> Section 2.3
> >>> 
> >>>  A router running Babel routing protocol can determine the parameters
> >>>  it needs to use for an interface based on the interface name.  [...]
> >>> 
> >>> Is this always true, or only sometimes?
> >> 
> >> How about this?
> >> 
> >> OLD:
> >>   A router running Babel routing protocol can determine the parameters
> >>   it needs to use for an interface based on the interface name.
> >> 
> >> NEW:
> >>   A router running Babel routing protocol can sometimes determine the parameters
> >>   it needs to use for an interface based on the interface name.
> >> 
> >>> 
> >>>  Transport Layer Security Version 1.2 [RFC6347], The Blake2
> >>> 
> >>> (DTLS 1.3 is in the RFC Editor's queue, FWIW.)
> >> 
> >> Replaced it with reference to draft-ietf-tls-dtls13.
> >> 
> >>> 
> >>>        leaf router-id {
> >>>          type binary;
> >>>          description
> >>>            "router-id of the source router for which this route is
> >>>             advertised.";
> >> 
> >>> 
> >>> IIRC we can do length constraints in YANG, and in Babel router-ids are 8
> >>> octets.  Should we enshrine that in the YANG?
> >> 
> >> What would the constraint statement look like? For 'type uint32' I see 
> >> 
> >> length “1..4294967295”;
> >> 
> >> but I am not sure for 'type binary’ what it would look like.
> > 
> > My understanding from
> > https://datatracker.ietf.org/doc/html/rfc7950#section-9.8.1 is that "length
> > 8" indicates an 8-octet value.
> 
> Ok. Added it.
> 
> > 
> >>> 
> >>>        leaf next-hop {
> >>>          type inet:ip-address;
> >>>          description
> >>>            "The next-hop address of this route. This will be empty if
> >>>             this route has no next-hop address.";
> >>> 
> >>> What does it mean for an inet:ip-address to be "empty"?  That the node
> >>> is absent?
> >> 
> >> Yes, that the node is absent. Would it help if it said the following?
> >> 
> >> OLD:
> >>          "The next-hop address of this route. This will be empty if
> >>           this route has no next-hop address.”;
> >> 
> >> NEW:
> >>          "The next-hop address of this route. This will be NULL if
> >>           this route has no next-hop address.”;
> > 
> > I think so, yes.
> > 
> >>> 
> >>>              "List of supported certificate types, in order of
> >>>               preference. The values MUST be among those listed in
> >>>               dtls-cert-types. This list is used to populate the
> >>> 
> >>> Since the element is of type leafref to the actual list of certs, it
> >>> seems like this MUST is achieved by construction (and thus need not be
> >>> listed specifically).  Though, "dtls-cert-types" appears in this
> >>> document only as the base identity for Babel DTLS certificate types, so
> >>> this phrasing seems a bit odd...perhaps it is fallout from an
> >>> enumeration/identity conversion.
> >> 
> >> You are right. There is nothing to say that the leaf-list ‘dtls-cert-prefer’ could not be just 
> >> 
> >>            type identityref {
> >>              base dtls-cert-types;
> >>            }
> >> 
> >> which would a list of certificate types this particular implementation supports. The assumption is that the list of certificate types that the implementation can support is not different from what it does support. @Barbara, would it be ok for the data model to just keep one list of certificate types?
> > 
> > I see there was an additional follow-up; that text looks good modulo the
> > duplicate word "in in" across the line break.
> > 
> >>> 
> >>>               server_certificate_type extension in a Client Hello.
> >>>               Values that are present in at least one instance in the
> >>>               certs object under dtls of a referenced dtls instance
> >>>               and that have a non-empty private-key will be used to
> >>>               populate the client_certificate_type extension in a
> >>>               Client Hello.";
> >>> 
> >>> Since the DTLS server picks which certificate types are actually used,
> >>> it is conceivable that the preference order in this list could also be
> >>> used as input to the server's choice of type.  That said, I don't think
> >>> there is universal API support for DTLS servers accepting a preference
> >>> list directly, so we would not want to imply that this list would always
> >>> be used in such a fashion.  But it could be used in such a fashion.
> >> 
> >> Based on what I understood of your comment, what do you think of this change? Or did I completely misunderstand you??
> > 
> > Sorry for my rambly comment, which is really more of a side note than
> > something intended to change the document.  The OLD text is better than the
> > NEW.  My question (to the extent there was a question) here was along the
> > lines of whether we should be more precise about whether "used to populate"
> > includes retaining the preference order.  I don't think it's currently
> > possible to actually do that, though, so my recommendation is to leave this
> > text unchanged.
> > 
> >> OLD:
> >> 
> >>            This list is used to populate the
> >>             server_certificate_type extension in a Client Hello.
> >>             Values that are present in at least one instance in the
> >>             certs object under dtls of a referenced dtls instance
> >>             and that have a non-empty private-key will be used to
> >>             populate the client_certificate_type extension in a
> >>             Client Hello.
> >> 
> >> NEW:
> >> 
> >>            This list could be used to populate the
> >>             server_certificate_type extension in a Client Hello.
> >>             Values that are present in at least one instance in the
> >>             certs object under dtls of a referenced dtls instance
> >>             and that have a non-empty private-key will be used to
> >>             populate the client_certificate_type extension in a
> >>             Client Hello.
> >> 
> >>> 
> >>>          container stats {
> >>>            config false;
> >>>            description
> >>>              "Statistics collection object for this interface.";
> >>> 
> >>> Often, YANG models with such statistics containers will also include a
> >>> leaf to indicate the "discontinuity time" at which the counters were
> >>> last reset.
> >> 
> >> Hmm. I wonder if that is not an implementation level detail.
> > 
> > My understanding is that it is not typically treated as an implementation
> > detail, but my understanding is just an inference based on seeing a number
> > of YANG modules go by during my time as an AD.  Rob Wilton might have a
> > better sense, or we could ask a YANG doctor for help (or both).
> 
> Ok. I have added a ‘discontinuity-counter’ from other YANG models, and is pretty much a cut-and-paste :-(. I imagine it is not controversial addition, but do want to inform the WG, here, about the addition.
> 
> > 
> >>> 
> >>>            leaf hello-mcast-history {
> >>>              type string;
> >>>              description
> >>>                "The multicast Hello history of whether or not the
> >>>                 multicast Hello packets prior to exp-mcast-
> >>>                 hello-seqno were received, with a '1' for the most
> >>>                 recent Hello placed in the most significant bit and
> >>>                 prior Hellos shifted right (with '0' bits placed
> >>>                 between prior Hellos and most recent Hello for any
> >>>                 not-received Hellos); represented as a string using
> >>>                 utf-8 encoded hex digits where a '1' bit = Hello
> >>>                 received and a '0' bit = Hello not received.";
> >>> 
> >>> I'd consider adding a few more words to confirm that this is the hex
> >>> representation of a bitstring (so, all hex digits are possible), not a
> >>> string consisting of only '1' and '0' characters.
> >>> (Likewise for hello-ucast-history.)
> >> 
> >> But doesn’t the model already say that in the last sentence? If not, can you suggest text?
> > 
> > I think you are correct that the model basically says that already.  My
> > concern was that since we use the quoted forms "'1' bit" and "'0' bit",
> > someone might think that we are using only binary digits (which are, after
> > all, a subset of hex digits) and write out a binary representation rather
> > than a hex one.  This is, admittedly, a little farfetched, but since I
> > already opened the topic, my attempt at rewording would be "[...]
> > represented as a string of utf-encoded hex digits.  A bit that is set
> > indicates that the corresponding Hello was received, and a bit that is
> > cleared indicates that the corresponding Hello was not received".
> 
> Ok. I have edited the text and it now reads as:
> 
>                “... represented as a string of
>                utf-8 encoded hex digits. A bit that is set indicates
>                that the corresponding Hello was received, and a bit
>                that is cleared indicates that the corresponding Hello
>                was not received."
> 
> > 
> >>> 
> >>>            leaf exp-mcast-hello-seqno {
> >>>              type uint16;
> >>>              default "0";
> >>>              description
> >>>                "Expected multicast Hello sequence number of next Hello
> >>>                 to be received from this neighbor; if multicast Hello
> >>>                 packets are not expected, or processing of multicast
> >>>                 packets is not enabled, this MUST be NULL.";
> >>> 
> >>> It's not really clear to me that assigning semantics to a NULL leaf
> >>> makes sense when there is a default value for it (that has already
> >>> assigned semantics to an absent leaf).
> >>> (et seq)
> >> 
> >> Ok. Will remove the default value.
> >> 
> >>> 
> >>>            leaf value {
> >>>              type binary;
> >>>              mandatory true;
> >>>              description
> >>>                "The value of the MAC key. An implementation MUST NOT
> >>>                 allow this parameter to be read. This can be done by
> >>> 
> >>> I believe that we can incorporate this restriction in the YANG itself
> >>> with something like "nacm:default-deny-all".
> >> 
> >> Ok. Will add 'nacm:default-deny-all' and drop the text “An implementation .. subsequently writeable”.
> >> 
> >>> 
> >>>              description
> >>>                "The name of the MAC algorithm used with this key. The
> >>>                 value MUST be the same as one of the enumerations
> >>>                 listed in the mac-algorithms parameter.";
> >>> 
> >>> It's now an identityref, not a name.  Accordingly, there are also not
> >>> any enumerations listed in the mac-algorithms parameter.
> >> 
> >> How about this?
> >> 
> >> OLD:
> >> 
> >>              "The name of the MAC algorithm used with this key. The
> >>               value MUST be the same as one of the enumerations
> >>               listed in the mac-algorithms parameter.”;
> >> 
> >> NEW:
> >> 
> >>              "The MAC algorithm used with this key. The
> >>               value MUST be one of the identities
> >>               listed with the base of 'mac-algorithms'.”;
> >> 
> >>> 
> >>>              description
> >>>                "The name of the certificate type of this object
> >>>                 instance. The value MUST be the same as one of the
> >>>                 enumerations listed in the dtls-cert-types
> >>>                 parameter. This value can only be provided when this
> >>> 
> >>> Similarly, this is also identityref, and also has no enumerations listed
> >>> in the dtls-cert-types parameter.
> >> 
> >> How about this?
> >> 
> >> OLD:
> >> 
> >>              "The name of the certificate type of this object
> >>               instance. The value MUST be the same as one of the
> >>               enumerations listed in the dtls-cert-types
> >>               parameter. 
> >> 
> >> NEW:
> >> 
> >>              "The certificate type of this object
> >>               instance. The value MUST be the same as one of the
> >>               identities listed with the base of 'dtls-cert-types'. 
> >> 
> >>> 
> >>>            leaf private-key {
> >>>              type binary;
> >>>              mandatory true;
> >>>              description
> >>>                "The value of the private key. If this is non-empty,
> >>>                 this certificate can be used by this implementation to
> >>>                 provide a certificate during DTLS handshaking. An
> >>>                 implementation MUST NOT allow this parameter to be
> >>>                 read. This can be done by always providing an empty
> >>> 
> >>> (nacm:default-deny-all could be useful here as well)
> >> 
> >> Ok. Will add it and drop the appropriate text around it.
> >> 
> >>> 
> >>>                 string, or through permissions, or other means. This
> >>>                 value can only be provided when this instance is
> >>>                 created, and is not subsequently writable.";
> >>> 
> >>> It is perhaps a bit limiting to require the actual private key value to
> >>> be supplied, since that would preclude the use of (e.g.) HSM-based
> >>> private keys.  But since we are basically inheriting from the
> >>> information model here, I won't press it too hard.
> >>> 
> >>> Section 4
> >>> 
> >>> It might be worth referencing the security considerations of
> >>> 8966/8967/8968 as being applicable.
> >> 
> >> I understand that the Babel protocol itself is a insecure protocol. But I am not clear on how that is applicable to the YANG model that is used to configure or read the *state* of the protocol (over a secure interface). How about we add this? Thanks to Barbara for providing the text.
> >> 
> >> "The security considerations outlined here are specific to the YANG data model, and do not cover security considerations of the Babel protocol or its security mechanisms [RFC8966][RFC8967][RFC8968]. Each of these have their own Security Considerations section for considerations that are specific to it."
> > 
> > That looks wonderful; thank you!
> > 
> >>> 
> >>> The security (privacy, really) considerations of RFC 7924 are also
> >>> arguably relevant, relating to the use of the TLS "cached_info"
> >>> extension.
> >> 
> >> Isn’t this something that is relevant to RFC8968? The YANG model is merely allowing for the configuration of the capability specified in RFC8968. Shouldn’t any security considerations for “cached_info” therefore be mentioned there?
> > 
> > okay.  My "arguably" was intended to imply "and also arguably not"
> > 
> >>> 
> >>> Are there any security and/or privacy considerations relating to the
> >>> logging of babel packets?
> >> 
> >> We say the following in the security considerations section.
> >> 
> >>   'babel': Access to the information in the various nodes can disclose
> >>   the network topology.  Additionally, the routes used by a network
> >>   device may be used to mount a subsequent attack on traffic traversing
> >>   the network device.
> > 
> > Hmm, my understanding was that the routes used by a given device are a
> > function of the received packets but that the packets themselves can
> > contain more information than just the routes currently used.  If that's
> > the case, then enabling a full packet log would disclose that "more
> > information", but I don't know offhand exactly what that information is, I
> > can't write good text to use here.
> 
> Ok. How about if we add this in the config true section of the Security Considerations section?
> 
> ‘packet-log-enable’ and ‘packet-log’: Enabling the logging of packets and unintended access to the log files gives an attacker detailed knowledge of the network, and allow it to launch an attack on the traffic traversing the network device.

That sounds good to me!  I think that my delay in responding caused this to
not be included in the -12, so hopefully it can still make it in.

> 
> > 
> >>> 
> >>>  There are a number of data nodes defined in the YANG module which are
> >>>  writable/created/deleted (i.e., config true, which is the default).
> >>> 
> >>> I don't think "writable/created/deleted" is part of the template.
> >> 
> >> Thanks to Barbara for digging this out:
> >> 
> >> https://datatracker.ietf.org/doc/html/rfc8407.html#section-3.7.1 <https://datatracker.ietf.org/doc/html/rfc8407.html#section-3.7.1>:
> >> 
> >> There are a number of data nodes defined in this YANG module that are
> >> writable/creatable/deletable
> > 
> > My mistake, apologies for that.
> > I think I typically use
> > https://trac.ietf.org/trac/ops/wiki/yang-security-guidelines as the
> > reference, but the phrase in question appears there as well.
> > 
> >>> 
> >>>  'babel/hmac' and 'babel/dtls': These contain security credentials
> >>>  that influence whether packets are trusted.
> >>> 
> >>> I'd consider making two separate (but related) points about controlling
> >>> whether incoming packets are trusted, and whether outgoing packets are
> >>> produced in a way such that the receiver will treat them as trusted.
> >>> (Changing just the use-send/use-verify values can allow for a valid key
> >>> to be misused, without changing the actual keys being used, which could
> >>> present an interesting attack in some scenarios.)
> >> 
> >> Ok. How about this? Thanks again to Barbara for providing the text.
> >> 
> >>  “These contain security credentials
> >>  that influence whether incoming packets are trusted, and whether outgoing packets are
> >>  produced in a way such that the receiver will treat them as trusted.”
> >> 
> >>> 
> >>>  Some of the readable data or config false nodes in this YANG module
> >>>  may be considered sensitive or vulnerable in some network
> >>>  [...]
> >>>  'babel/hmac' and 'babel/dtls': These contain security credentials,
> >>>  include private credentials of the router.
> >>> 
> >>> We do require the actual secret keys to not be readable, so we might
> >>> consider phrasing this more as a reiteration of that requirement than a
> >>> statement of risk if they are read out.
> >> 
> >> How about this? Thanks Barbara.
> >> 
> >>   'babel/hmac' and 'babel/dtls': These contain security credentials,
> >>   including private credentials of the router; however it is
> >>   required that these values not be readable.
> >> 
> >>> 
> >>>  Some of the RPC operations in this YANG module may be considered
> >>>  sensitive or vulnerable in some network environments.  It is thus
> >>>  important to control access to these operations.  These are the
> >>>  operations and their sensitivity/vulnerability from a RPC operation
> >>>  perspective:
> >>> 
> >>>  This model does not define any RPC operations.
> >>> 
> >>> We do define a couple of actions, though, which are like RPCs except
> >>> "[t]he difference between an action and an rpc is that an action is tied
> >>> to a node in the datastore, whereas an rpc is not".  This is perhaps an
> >>> omission in the YANG security considerations template, but I don't think
> >>> we should let that stop us from noting the actions we define are
> >>> carefully designed to have minimal security impact and minimal
> >>> side-channel leakage.  (Well, I guess that's not hard for the
> >>> stats-reset one, but for the MAC key test one it's quite important.)
> >> 
> >> How about this?
> >> 
> >> OLD:
> >> 
> >>   This model does not define any RPC operations.
> >> 
> >> NEW:
> >> 
> >>   This model defines two actions, one of which
> >>   allows for MAC key and MAC algorithm to be tested. 
> >>   It does not allows for them to be changed.
> > 
> > That's an improvement, certainly.  I would propose
> > 
> > NEW 2:
> > 
> >  This model defines two actions.  Resetting the statistics within an
> >  interface container would be visible to any monitoring processes, which
> >  should be designed to account for the possibility of such a reset.
> >  The "test" action allows for validation that a MAC key and MAC algorithm
> >  have been properly configured.  The MAC key is a sensitive piece of
> >  information, and it is important to prevent an attacker that does not know
> >  the MAC key from being able to determine the MAC value of an
> >  attacker-influenced plaintext.  The "test" action has been designed to
> >  not reveal such information directly.  Such information might also be
> >  revealed indirectly, due to side channels such as the time it takes to
> >  produce a response to the action.  Implementations SHOULD use a
> >  constant-time comparison between the input mac and the locally generated
> >  MAC value for comparison, in order to avoid such side channel leakage.
> 
> I am fine with this proposed text.
> 
> > 
> >>> 
> >>> Section 6.1
> >>> 
> >>> I don't have a great sense for why RFC 4868 needs to be normative.
> >> 
> >> RFC 4868 is cited as a reference in the YANG model, which is normative.
> >> 
> >>> 
> >>> RFC 8968 seems missing as a listed reference at all (which would of
> >>> course need to be normative as 8967 is).
> >> 
> >> Agreed.
> >> 
> >>> 
> >>> Section 6.2
> >>> 
> >>> I think RFC 7693 should be normative, since you need it in order to do
> >>> the blake2 stuff.
> >> 
> >> Ok. Will move it to normative section.
> >> 
> >>> 
> >>> RFC 8341 might become normative if we add nacm:default-deny-all stanzas.
> >> 
> >> Agreed.
> >> 
> >>> 
> >>> NITS
> >>> 
> >>> The tree diagram and the prose use different orders for the various
> >>> child elements, which is a little distracting.
> >> 
> >> Ok. Will fix the order.
> >> 
> >>> 
> >>> Section 1
> >>> 
> >>>  [RFC8966].  The data model is defined using YANG 1.1 [RFC7950] data
> >>>  modeling language and is Network Management Datastore Architecture
> >>> 
> >>> "the YANG [data modeling language]"
> >> 
> >>> 
> >>> Section 2.1
> >>> 
> >>>  Information Model and this data module.  The information model
> >>>  mandates the definition of some of the attributes, e.g.  'babel-
> >>> 
> >>> comma after "e.g." (as well as before).  (I'll try to only note it once,
> >>> though it appears many times.)  Likewise for "i.e."
> >> 
> >>> 
> >>> Section 2.2
> >>> 
> >>>  In addition to information like the version number implemented by
> >>>  this device, the model contains subtrees on 'constants',
> >>> 
> >>> The actual data model (and the information model, for that matter) show
> >>> that the 'version' leaf contains "the name and version of this
> >>> implementation of the Babel protocol".  The text here suggests that it
> >>> contains the protocol version number implemented by the device, which is
> >>> different.  So I'd suggest "the implementation and version used by this
> >>> device" instead.
> >> 
> >>> 
> >>>  The 'interfaces' subtree describes attributes such as 'interface'
> >>>  object that is being referenced, the type of link, e.g. wired,
> >>> 
> >>> "the 'interface'"
> >> 
> >> Ok to the above suggested changes.
> >> 
> >>> 
> >>>  wireless or tunnel, as enumerated by 'metric-algorithm' and 'split-
> >>>  horizon' and whether the interface is enabled or not.
> >>> 
> >>> I suggest using semicolons for the outer layer of grouping, to avoid
> >>> overloading commas for different hierarchies of separation.
> >> 
> >> Something like this?
> >> 
> >> OLD:
> >> 
> >>   The 'interfaces' subtree describes attributes such as 'interface'
> >>   object that is being referenced, the type of link, e.g. wired,
> >>   wireless or tunnel, as enumerated by 'metric-algorithm' and 'split-
> >>   horizon' and whether the interface is enabled or not.
> >> 
> >> NEW:
> >> 
> >>   The 'interfaces' subtree describes attributes such as 'interface'
> >>   object that is being referenced, the type of link, e.g., wired,
> >>   wireless or tunnel; as enumerated by 'metric-algorithm' and 'split-
> >>   horizon’; and whether the interface is enabled or not.
> > 
> > When I was reading it, my expectation was something like
> > 
> > NEW 2:
> > 
> >   The 'interfaces' subtree describes attributes such as the 'interface'
> >   object that is being referenced; the type of link, e.g., wired,
> >   wireless or tunnel, as enumerated by 'metric-algorithm' and 'split-
> >   horizon’; and whether the interface is enabled or not.
> > 
> > but I trust your understanding of how the technology works more than my
> > understanding!
> 
> As I understand it, the interface can be described as being either ‘wired', ‘wireless' or ‘tunnel'. It can be further described by setting values of ‘metric-algorithm’ and ’split-horizon’. Finally, the interface can be enabled or disabled. So I would suggest one small change to your NEW 2.
> 
> NEW 3:
> 
>   The 'interfaces' subtree describes attributes such as the 'interface'
>   object that is being referenced; the type of link, e.g., wired,
>   wireless or tunnel; it is enumerated by 'metric-algorithm' and 'split-
>   horizon’; and whether the interface is enabled or not.

Ah, that makes perfect sense.  I expect the RFC Editor will suggest some
additional wording tweaks (to make the structure of the elements of the
list "parallel"), but am happy to leave the polishing to them.

Thanks again,

Ben

> > 
> >> 
> >>> 
> >>>  Finally, for security two subtree are defined to contain MAC keys and
> >>>  DTLS certificates.  The 'mac-key-set' subtree contains keys used with
> >>> 
> >>> "subtrees"
> >> 
> >>> 
> >>>  interfaces.  The dtls subtree contains certificates used with DTLS
> >>> 
> >>> single quotes for 'dtls'.
> >>> "the DTLS"
> >> 
> >>> 
> >>> Section 2.3
> >>> 
> >>>  Similarly, an interface that is a metered 3G link, and used for
> >>>  fallback connectivity needs much higher default time constants, e.g.
> >>> 
> >>> Comma after "connectivity".
> >> 
> >>> 
> >>>  HMAC: Keyed-Hashing for Message Authentication [RFC2104], Using
> >>>  HMAC-SHA-256, HMAC-SHA-384, and HMAC-SHA-512 [RFC4868], Datagram
> >>> 
> >>> The "with IPsec" part of RFC 4868's title seems to have been dropped.
> >> 
> >> Ok to the above suggested changes.
> >> 
> >>> 
> >>>        "This implementation supports two-out-of-three metric
> >>>         comp algorithm.";
> >>> 
> >>> "the two-out-of-three".
> >>> Also, do we really need to (silently) abbreviate "metric computation"
> >>> (multiple occurrences)?
> >> 
> >> Should be:
> >> 
> >> “the ’two-out-of-three’”. 
> >> 
> >> Will fix metric comp occurrences.
> >> 
> >>> 
> >>>        "This implementation supports Expected Transmission Count
> >>> 
> >>> "the Expected"
> >> 
> >> Ok.
> >> 
> >>> 
> >>>        "This implementation supports hmac-sha256 MAC algorithm.";
> >>> 
> >>> "the hmac-sha256"
> >>> 
> >>>        "This implementation supports x-509 certificate type.";
> >>> 
> >>> "the X.509"
> >> 
> >> Ok to both.
> >> 
> >>> 
> >>>        "This implementation supports raw-public-key certificate
> >>>         type.";
> >>> 
> >>> Missing article, per the theme, but I think it would also be more
> >>> conventional to spell the name as "RawPublicKey".
> >> 
> >> Ok. That was done to be consistent with the IM.
> >> 
> >>> 
> >>>      base metric-comp-algorithms;
> >>>      if-feature "etx-supported";
> >>>      description
> >>>        "Expected Transmission Count.";
> >> 
> >>> 
> >>> I'd put an "algorithm" in here somewhere
> >> 
> >> 
> >> How about:
> >> 
> >> “Expected Transmission Count (ETX) metric compilation algorithm.”
> >> 
> >>> 
> >>>        "BLAKE2s algorithms supported. Specifically, BLAKE2-128 is
> >>>         supported.";
> >>> 
> >>> I'd just say "BLAKE2-128 algorithm supported."
> >> 
> >> Then shouldn’t the feature say
> >> 
> >> feature blake2-128-supported?
> > 
> > My understanding of the nit (if any) here was about "algorithms" (plural) vs
> > "algorithm" (singular), since this is a single YANG identity that can only
> > have a single semantic.  So, we could choose to make it be "indicates that
> > BLAKE2-128 and BLAKE2-256 are both supported" or just "indicates that
> > BLAKE2-128 is supported".  Given the second sentence, my understanding is
> > that this particular YANG identity indicates that BLAKE2-128 is supported,
> > even if the feature "blake2s-supported" might in the future indicate
> > whether some other blake2s variant is supported in addition to this one.
> > If this YANG identity only indicates that a single algorithm is supported,
> > I don't think the plural "algorithms" adds much value, and once that part
> > is gone then the value of the first sentence comes into question as well.
> 
> My intent of naming the feature ‘blake2-supported’ was to include *all* BLAKE2 algorithms, even if there is support only for BLAKE2-128. I can drop the second sentence in the description to just say:
> 
>  "This implementation supports all blake2s MAC algorithms.”;
> 
> 
> > 
> >>> 
> >>>        "Raw Public Key type.";
> >>> 
> >>> "certificate type"
> >> 
> >>> 
> >>>        leaf router-id {
> >>>          type binary;
> >>> 
> >>> (If length constraint is applied earlier, it should apply here as well.)
> >>> 
> >>>            "Indicates whether statistics collection is enabled (true)
> >>>             or disabled (false) on all interfaces. When enabled,
> >>>             existing statistics values are not cleared and will be
> >>>             incremented as new packets are counted.";
> >>> 
> >>> I suggest "on transition to enabled".
> >>> (Also, thank you for clearly spelling out which behaviors true/false map
> >>> to!)
> >> 
> >>> 
> >>>               A value of true indicates split horizon optimization
> >>>               is used.";
> >>> "the split"
> >>> 
> >>>              "List of references to the mac entries that apply
> >>>               to this interface. When an interface instance is
> >>>               created, all mac instances with default-apply 'true'
> >>> 
> >>> s/mac/MAC/ (twice)
> >>> 
> >>>              "Indicates whether the cached_info extension is included
> >>>               in ClientHello and ServerHello packets. The extension
> >>> 
> >>> s/packets/messages/.
> >> 
> >> Ok to the above suggested changes.
> >> 
> >>> Also, it's conventional to refer to TLS extension names enclosed by
> >>> double quotes, but I guess in the context of a YANG leaf description
> >>> that's not really feasible.
> >> 
> >> Correct.
> >> 
> >>> 
> >>>               dtls-cert-types. This list is used to populate the
> >>>               server_certificate_type extension in a Client Hello.
> >>> 
> >>> s/Client Hello/ClientHello/.
> >>> 
> >>>        list mac-key-set {
> >>>          key "name";
> >>> 
> >>>          description
> >>>            "A mac key set object. If this object is implemented, it
> >>>             provides access to parameters related to the MAC security
> >>>             mechanism.";
> >>> 
> >>> s/mac/MAC/
> >>> 
> >>>              "A string that uniquely identifies the mac object.";
> >>> 
> >>> s/mac/MAC key/
> >>> 
> >>>               If 'true', this instance is applied to new babel-
> >>>               interfaces instances at the time they are created,
> >>>               by including it in the mac-key-sets list under
> >>>               interfaces. If 'false', this instance is not applied
> >>> 
> >>> s/under interfaces/under the interface/
> >>> 
> >>>               to new interfaces instances when they are created.";
> >>> 
> >>> s/interfaces/interface/
> >>> 
> >>>               If 'true', this instance is applied to new interfaces
> >>>               instances at the time they are created, by including it
> >>>               in the dtls-certs list under interfaces. If 'false',
> >>> 
> >>> s/under interfaces/under the interface/
> >>> 
> >>>               this instance is not applied to new interfaces
> >>>               instances when they are created.";
> >>> 
> >>> s/interfaces/interface/
> >> 
> >> Ok to make the above suggested changes.
> >> 
> >> Thanks again for a detailed review!
> > 
> > And thank you for the detailed responses and updates; as I noted in the
> > preface, the ones I did not reply to all look good!
> > 
> > My apologies once more for the slow response time,
> > 
> > Ben
> 
> Mahesh Jethanandani
> mjethanandani@gmail.com
> 
> 
> 
> 
> 


From nobody Fri Sep 17 19:12:12 2021
Return-Path: <bill.wu@huawei.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1B8983A20C5; Fri, 17 Sep 2021 19:10:55 -0700 (PDT)
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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 sVs-Ekgx8QNK; Fri, 17 Sep 2021 19:10:53 -0700 (PDT)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EA7FF3A20C2; Fri, 17 Sep 2021 19:10:52 -0700 (PDT)
Received: from fraeml713-chm.china.huawei.com (unknown [172.18.147.200]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4HBDkl1PbZz67gjx; Sat, 18 Sep 2021 10:08:31 +0800 (CST)
Received: from dggeml754-chm.china.huawei.com (10.1.199.153) by fraeml713-chm.china.huawei.com (10.206.15.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2308.8; Sat, 18 Sep 2021 04:10:49 +0200
Received: from dggeml753-chm.china.huawei.com (10.1.199.152) by dggeml754-chm.china.huawei.com (10.1.199.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.8; Sat, 18 Sep 2021 10:10:47 +0800
Received: from dggeml753-chm.china.huawei.com ([10.1.199.152]) by dggeml753-chm.china.huawei.com ([10.1.199.152]) with mapi id 15.01.2308.008; Sat, 18 Sep 2021 10:10:47 +0800
From: Qin Wu <bill.wu@huawei.com>
To: tom petch <ietfc@btconnect.com>
CC: 'Babel at IETF' <babel@ietf.org>, "'netmod@ietf.org'" <netmod@ietf.org>
Thread-Topic: [netmod] [babel]    NULL value for  ip-address
Thread-Index: AdesMZlN3Gm4X5rLSrqRYOuMUOaqNA==
Date: Sat, 18 Sep 2021 02:10:47 +0000
Message-ID: <59275ad2ed024760b5acc0414ed6e210@huawei.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.136.123.117]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/cw98oR6rIWd2HQ4D76fRs6oKs8E>
Subject: Re: [babel] [netmod]     NULL value for  ip-address
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 18 Sep 2021 02:10:55 -0000

Second, left field. when I first posted, I had great difficulty in specifyi=
ng the e-mail addresses I was sending to (still do:-(.  I included the docu=
ment shepherd, and you because I knew what your address is and it is easy t=
o type correctly:-)  The addresses I might have included, but did not,  wer=
e your fellow author (who is now on the thread); and the WG Chairs, the add=
ress for the I-D and perhaps the AD.  I trust that these others will be inv=
olved when needed.

Tom Petch

[Qin] I assume you will get bounced with "Too Many Recipients error". The w=
ork around is to split recipient into several group and send email message =
multiple times to each group.
Or you reach a limit for sending email, this case is very rare.=20
Or your email client application refuses to work for some recipient's email=
 with specific ASCII character. I met this before. But again this is corner=
 case.


From nobody Mon Sep 20 09:50:39 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: babel@ietf.org
Delivered-To: babel@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id C151D3A0882; Mon, 20 Sep 2021 09:50:36 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: babel@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.37.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: babel@ietf.org
Message-ID: <163215663668.10863.18197708117646154519@ietfa.amsl.com>
Date: Mon, 20 Sep 2021 09:50:36 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/e_IOWqpvjA4g9jDaFol87Qzl7CU>
Subject: [babel] I-D Action: draft-ietf-babel-yang-model-13.txt
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Sep 2021 16:50:37 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Babel routing protocol WG of the IETF.

        Title           : YANG Data Model for Babel
        Authors         : Mahesh Jethanandani
                          Barbara Stark
	Filename        : draft-ietf-babel-yang-model-13.txt
	Pages           : 44
	Date            : 2021-09-20

Abstract:
   This document defines a data model for the Babel routing protocol.
   The data model is defined using the YANG data modeling language.



The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-babel-yang-model/

There is also an htmlized version available at:
https://datatracker.ietf.org/doc/html/draft-ietf-babel-yang-model-13

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-babel-yang-model-13


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Mon Sep 20 09:53:38 2021
Return-Path: <mjethanandani@gmail.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9A4183A08A5; Mon, 20 Sep 2021 09:53:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level: 
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=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 (2048-bit key) header.d=gmail.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 kszbC737IsSF; Mon, 20 Sep 2021 09:53:21 -0700 (PDT)
Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C1EB93A08A3; Mon, 20 Sep 2021 09:53:20 -0700 (PDT)
Received: by mail-pl1-x632.google.com with SMTP id y1so4541971plk.10; Mon, 20 Sep 2021 09:53:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=rJSrwB1d00RsJ32kx67eTrxtp/0ayiXZnnaQbv4TMtg=; b=GthoIQr0/VNaPY6wXRU/ciK+9ZBuLJExy3gpAyO5FmMHf+c0eXCAkAJM6UtiZmroGY oWiqNrc2FHSUDacJtTASlMSswMvG439YQ88/qEV+mmy6huHBomHXFVK3xP8+r+VIrUAS /JSkYJqDJ4W6xIQBqEtF4/KyE4l6x280m4xKRlNgcn9pzYIqyk1EKZEU6iVVX3sS+620 A10rVaSxypXE4CC31SFeA4YvNBu7V1JOC+Oi5jtgoo/gJgnsqkOQ1nhDr/M2CYajhQmT C03tJC3K1qjlajUBz8s37AAqPiMzh+ygH1j7tQnpy5VEUIZKkoMEkO9ThuETEWJSgoNz zP9Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=rJSrwB1d00RsJ32kx67eTrxtp/0ayiXZnnaQbv4TMtg=; b=XMZkcv9CN9KzA/g0upOroxrj/Nm3cfV3jWft/LJRW39yPP0Z6nzp/qL4tRTHFWeJzU oyoGcpSedS45DJwzBayFtJVrjA0EmpARQQZ026Ys/7Cwa0Ql43Ao8sYXiZ+QipbF59DK fmoXBHcRm3lGee/Ogama8Q1RrjcHOYUZVo1HreeHjQdlNFP6M6p/bfaRpVwQu8Uq0041 yaW/0FxTbS7qyOg1J/xwjYkSviMvA3+zAgPoGYS/ETrXRjMfVZSRDhsYrHWXGbnU6ErN x7fEB3wec1ZpMfj8+cttIdskgbfYVcnyi6txz8bLeNBSBhw0EQeU6Yef4wkTq1mTAQhP 00ag==
X-Gm-Message-State: AOAM532T9kZW1MSWPE2G+o5uhG2v9FnYSLClnBVlr8yYiu92atWcAFZA B6P8Gw7yWRdlQKeJjZW4yM3dY5o/vRx+oA==
X-Google-Smtp-Source: ABdhPJwV3Hk2b6u2JNtfZmxfXkr17opuuf9ADamfFmHHYvZKrg4bIU7gY7fpxB8GajQ5Eh6KMd9b0Q==
X-Received: by 2002:a17:90a:5d0f:: with SMTP id s15mr26024pji.10.1632156799655;  Mon, 20 Sep 2021 09:53:19 -0700 (PDT)
Received: from [192.168.1.133] (c-69-181-169-15.hsd1.ca.comcast.net. [69.181.169.15]) by smtp.gmail.com with ESMTPSA id y7sm25746pjt.40.2021.09.20.09.53.18 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Sep 2021 09:53:19 -0700 (PDT)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <3EAEA0B3-8E2C-4B44-951E-C5C6E7939518@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_A14E468C-8861-4337-BF3E-D123CF30619A"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
Date: Mon, 20 Sep 2021 09:53:17 -0700
In-Reply-To: <20210916213813.GK32645@kduck.mit.edu>
Cc: The IESG <iesg@ietf.org>, draft-ietf-babel-yang-model@ietf.org, babel-chairs <babel-chairs@ietf.org>, Babel at IETF <babel@ietf.org>, Donald Eastlake <d3e3e3@gmail.com>
To: Benjamin Kaduk <kaduk@mit.edu>
References: <162148379451.10850.9563671396439074857@ietfa.amsl.com> <99514803-6C88-40F8-B924-315945B052C1@gmail.com> <20210720235506.GX88594@kduck.mit.edu> <6CDF1D68-7F33-4598-BA75-D6D824A04F1F@gmail.com> <20210916213813.GK32645@kduck.mit.edu>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/cSXUrnSZjSzQo6oouFBB5GQFHBY>
Subject: Re: [babel] Benjamin Kaduk's Discuss on draft-ietf-babel-yang-model-10: (with DISCUSS and COMMENT)
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Sep 2021 16:53:29 -0000

--Apple-Mail=_A14E468C-8861-4337-BF3E-D123CF30619A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi Ben,

I believe I have addressed your comments in -13 version of the document. =
Let me know. Thanks.

URL:            =
https://www.ietf.org/archive/id/draft-ietf-babel-yang-model-13.txt =
<https://www.ietf.org/archive/id/draft-ietf-babel-yang-model-13.txt>
Status:         =
https://datatracker.ietf.org/doc/draft-ietf-babel-yang-model/ =
<https://datatracker.ietf.org/doc/draft-ietf-babel-yang-model/>
Htmlized:       =
https://datatracker.ietf.org/doc/html/draft-ietf-babel-yang-model =
<https://datatracker.ietf.org/doc/html/draft-ietf-babel-yang-model>
Diff:           =
https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-babel-yang-model-13 =
<https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-babel-yang-model-13>

> On Sep 16, 2021, at 2:38 PM, Benjamin Kaduk <kaduk@mit.edu> wrote:
>=20
> Hi Mahesh,
>=20
> My apologies again for the delayed response.  Thank you for submitting =
the
> updates in the -11 and -12 (which also serves to generate a reminder =
to me
> that I have an action item).  I'm happy to report that my DISCUSS =
points
> are addressed, and will update my ballot position after I send this =
mail.
>=20
> A few things left to comment on, inline...
>=20
> On Wed, Aug 04, 2021 at 11:34:52AM -0700, Mahesh Jethanandani wrote:
>> Hi Ben,
>>=20
>> No worries. See inline, and for brevity reasons I will also skip =
=E2=80=9Cok=E2=80=9D, and other responses that would have acknowledged =
but do not require a specific response.
>>=20
>>> On Jul 20, 2021, at 4:55 PM, Benjamin Kaduk <kaduk@mit.edu> wrote:
>>>=20
>>> Hi Mahesh, Barbara,
>>>=20
>>> My humble apologies for not responding earlier; this really was an
>>> unreasonable amount of time for you to wait.
>>>=20
>>> Responses inline, though for brevity I will omit remarks of the form
>>> "sounds good", "thank you", etc.
>>>=20
>>> On Tue, Jun 08, 2021 at 08:47:14AM -0700, Mahesh Jethanandani wrote:
>>>> Hi Benjamin,
>>>>=20
>>>> Thank you first of all for a detailed review. Some of the =
comments/changes suggested here may impact the information model that =
this draft depends on. The information model is in AUTH48 state at this =
time.
>>>>=20
>>>> This response includes feedback from my co-author Barbara.
>>>>=20
>>>>> On May 19, 2021, at 9:09 PM, Benjamin Kaduk via Datatracker =
<noreply@ietf.org> wrote:
>>>>>=20
>>>>> Benjamin Kaduk has entered the following ballot position for
>>>>> draft-ietf-babel-yang-model-10: Discuss
>>>>>=20
>>>>> When responding, please keep the subject line intact and reply to =
all
>>>>> email addresses included in the To and CC lines. (Feel free to cut =
this
>>>>> introductory paragraph, however.)
>>>>>=20
>>>>>=20
>>>>> Please refer to =
https://www.ietf.org/iesg/statement/discuss-criteria.html
>>>>> for more information about DISCUSS and COMMENT positions.
>>>>>=20
>>>>>=20
>>>>> The document, along with other ballot positions, can be found =
here:
>>>>> https://datatracker.ietf.org/doc/draft-ietf-babel-yang-model/
>>>>>=20
>>>>>=20
>>>>>=20
>>>>> =
----------------------------------------------------------------------
>>>>> DISCUSS:
>>>>> =
----------------------------------------------------------------------
>>>>>=20
>>>>> This is kind of nitpicky, and I'm sorry to pull out the heavy =
hammer of
>>>>> DISCUSS for it, but for the "dtls-cached-info" leaf with =
description:
>>>>>=20
>>>>>             "Indicates whether the cached_info extension is =
included
>>>>>              in ClientHello and ServerHello packets. The extension
>>>>>              is included if the value is 'true'.";
>>>>>=20
>>>>> It is factually false to just say that "the extension is included =
if the
>>>>> value is true", and it contradicts the DTLS specification to say =
so.  In
>>>>> particular, the extension can only be included in the ServerHello
>>>>> message if it was present in the ClientHello message being =
responded to.
>>>>> So maybe we can say "enabled for inclusion" or append "when =
permitted by
>>>>> the protocol", or something similar?
>>>>=20
>>>> How about this?
>>>>=20
>>>> OLD:
>>>>           "Indicates whether the cached_info extension is included
>>>>            in ClientHello and ServerHello packets. The extension
>>>>            is included if the value is 'true'.";
>>>>=20
>>>> NEW:
>>>>           "Indicates whether use of cached_info extension is =
enabled.
>>>>            The extension is enabled for inclusion if the value is =
'true'.";
>>>=20
>>> Both this form and Barbara's revision will address my concern.  =
Barbara's
>>> version removes any ambiguity about what the "inclusion" would be =
in, so
>>> that seems preferred to me.
>>=20
>> Ok. Will use Barbara=E2=80=99s version.
>>=20
>>>=20
>>>>=20
>>>>>=20
>>>>> There's also a few places where we didn't quite clean up all the =
fallout
>>>>> from switching from enumerations to identities (for MAC and
>>>>> DTLS-adjacent algorithms), that really ought to get fixed before
>>>>> publication.  I try to note them in the COMMENT.
>>>>>=20
>>>>> I also think we need to be a bit more specific about the structure =
of
>>>>> the (binary) private-key leaf/values provided when a certificate =
entry
>>>>> is created.  Ideally this would just be by reference to some other =
spec,
>>>>> but the situation is unfortunately messy.  (It doesn't help that =
we
>>>>> allow DTLS 1.2, which allows certificates that are used for =
key-exchange
>>>>> as opposed to signing, and those are not terribly mainstream.)  We =
may
>>>>> need to pull in some other experts to figure out the right way to =
write
>>>>> about this.
>>>>=20
>>>> Ok. The way I am reading this is that we need to wait to hear more =
from the experts that you cite before making any changes.
>>>>=20
>>>> Note, in WG discussion the ask was for the format of the =
private-key to be binary. I am not an expert, but would it help if the =
description said something about using PEM format for the private-key?
>>>=20
>>> I think binary is probably fine; a PEM encoding is just base64 =
encoding and
>>> sometimes a little bit of a hint as to what the contained structure =
is.
>>> But my recollection is that the PEM type indication for certificate =
private
>>> keys is not always precise enough to indicate what is to be used, so =
an
>>> implementation would need to consult the "type" sibling leaf anyway =
in
>>> order to process the "private-key"...but it's not entirely clear =
that just
>>> "type" is enough information on its own.
>>>=20
>>> It is possible that we can find the necessary references without =
pulling in
>>> an external expert, but if we get stuck I would probably ask Russ =
Housley
>>> or Sean Turner for help.
>>>=20
>>> As a starting point, I note that RFC 4211 lists several Private Key
>>> structures in Section 4.2.2 in ASN.1 syntax.  We would presumably =
require
>>> that the binary value exposed by the YANG module be the DER-encoded =
version
>>> of that ASN.1 structure.  RFC 5915 has a private-key structure for =
ECC
>>> keys.  The complications then come in specifying how the other YANG
>>> elements determine which (DER-encoded) ASN.1 structure is used for =
the
>>> "private-key" contents.  In particular, "dtls-cert-type" indicates =
only a
>>> "certificate type" in the TLS sense -- X.509, raw public key, and =
the like.
>>> Both X.509 certificates and raw public keys can use keys from =
different
>>> cryptosystems or cryptographic algorithms.  So I find it pretty
>>> inescapable that we'll need some in-band signaling about whether the
>>> private-key is a basic RSA key, or perhaps an RSA-PSS key that has =
some
>>> specific associated parameters, vs a DH or DSA key, or ECDH, ECDSA, =
EdDSA,
>>> etc.  With in-band signaling comes the need for a table or =
enumeration of
>>> what the different (currently supported) key structures are.  It =
seems that
>>> draft-ietf-netconf-crypto-types may have a start at private-key =
structures
>>> of this sort, though I have not been following that work closely (it =
seems
>>> to be in WGLC at the moment).
>>>=20
>>=20
>> We will need to go back to the WG to discuss this. Let us get back to =
you on this.
>=20
> I see the follow-up message, and using =E2=80=98private-key-formats=E2=80=
=99 from
> ietf-crypto-types seems like a really good option.  Thank you for =
finding
> that!  Of particular note (to me) is that it's extensible via =
identityref,
> so if someone does have cause to use one of the more exotic TLS =
certificate
> types, there's a straightforward path to doing so.
>=20
>>>>>=20
>>>>>=20
>>>>> =
----------------------------------------------------------------------
>>>>> COMMENT:
>>>>> =
----------------------------------------------------------------------
>>>>>=20
>>>>> Section 2.2
>>>>>=20
>>>>> In addition to information like the version number implemented by
>>>>> this device, the model contains subtrees on 'constants',
>>>>> 'interfaces', 'routes' and 'security'.
>>>>>=20
>>>>> I don't see a 'security' node, but rather separate 'mac-key-set' =
and
>>>>> 'dtls' nodes, both of which contain subtrees.
>>>>=20
>>>> Fixed.
>>>>=20
>>>>>=20
>>>>> Section 2.3
>>>>>=20
>>>>> A router running Babel routing protocol can determine the =
parameters
>>>>> it needs to use for an interface based on the interface name.  =
[...]
>>>>>=20
>>>>> Is this always true, or only sometimes?
>>>>=20
>>>> How about this?
>>>>=20
>>>> OLD:
>>>>  A router running Babel routing protocol can determine the =
parameters
>>>>  it needs to use for an interface based on the interface name.
>>>>=20
>>>> NEW:
>>>>  A router running Babel routing protocol can sometimes determine =
the parameters
>>>>  it needs to use for an interface based on the interface name.
>>>>=20
>>>>>=20
>>>>> Transport Layer Security Version 1.2 [RFC6347], The Blake2
>>>>>=20
>>>>> (DTLS 1.3 is in the RFC Editor's queue, FWIW.)
>>>>=20
>>>> Replaced it with reference to draft-ietf-tls-dtls13.
>>>>=20
>>>>>=20
>>>>>       leaf router-id {
>>>>>         type binary;
>>>>>         description
>>>>>           "router-id of the source router for which this route is
>>>>>            advertised.";
>>>>=20
>>>>>=20
>>>>> IIRC we can do length constraints in YANG, and in Babel router-ids =
are 8
>>>>> octets.  Should we enshrine that in the YANG?
>>>>=20
>>>> What would the constraint statement look like? For 'type uint32' I =
see=20
>>>>=20
>>>> length =E2=80=9C1..4294967295=E2=80=9D;
>>>>=20
>>>> but I am not sure for 'type binary=E2=80=99 what it would look =
like.
>>>=20
>>> My understanding from
>>> https://datatracker.ietf.org/doc/html/rfc7950#section-9.8.1 is that =
"length
>>> 8" indicates an 8-octet value.
>>=20
>> Ok. Added it.
>>=20
>>>=20
>>>>>=20
>>>>>       leaf next-hop {
>>>>>         type inet:ip-address;
>>>>>         description
>>>>>           "The next-hop address of this route. This will be empty =
if
>>>>>            this route has no next-hop address.";
>>>>>=20
>>>>> What does it mean for an inet:ip-address to be "empty"?  That the =
node
>>>>> is absent?
>>>>=20
>>>> Yes, that the node is absent. Would it help if it said the =
following?
>>>>=20
>>>> OLD:
>>>>         "The next-hop address of this route. This will be empty if
>>>>          this route has no next-hop address.=E2=80=9D;
>>>>=20
>>>> NEW:
>>>>         "The next-hop address of this route. This will be NULL if
>>>>          this route has no next-hop address.=E2=80=9D;
>>>=20
>>> I think so, yes.
>>>=20
>>>>>=20
>>>>>             "List of supported certificate types, in order of
>>>>>              preference. The values MUST be among those listed in
>>>>>              dtls-cert-types. This list is used to populate the
>>>>>=20
>>>>> Since the element is of type leafref to the actual list of certs, =
it
>>>>> seems like this MUST is achieved by construction (and thus need =
not be
>>>>> listed specifically).  Though, "dtls-cert-types" appears in this
>>>>> document only as the base identity for Babel DTLS certificate =
types, so
>>>>> this phrasing seems a bit odd...perhaps it is fallout from an
>>>>> enumeration/identity conversion.
>>>>=20
>>>> You are right. There is nothing to say that the leaf-list =
=E2=80=98dtls-cert-prefer=E2=80=99 could not be just=20
>>>>=20
>>>>           type identityref {
>>>>             base dtls-cert-types;
>>>>           }
>>>>=20
>>>> which would a list of certificate types this particular =
implementation supports. The assumption is that the list of certificate =
types that the implementation can support is not different from what it =
does support. @Barbara, would it be ok for the data model to just keep =
one list of certificate types?
>>>=20
>>> I see there was an additional follow-up; that text looks good modulo =
the
>>> duplicate word "in in" across the line break.
>>>=20
>>>>>=20
>>>>>              server_certificate_type extension in a Client Hello.
>>>>>              Values that are present in at least one instance in =
the
>>>>>              certs object under dtls of a referenced dtls instance
>>>>>              and that have a non-empty private-key will be used to
>>>>>              populate the client_certificate_type extension in a
>>>>>              Client Hello.";
>>>>>=20
>>>>> Since the DTLS server picks which certificate types are actually =
used,
>>>>> it is conceivable that the preference order in this list could =
also be
>>>>> used as input to the server's choice of type.  That said, I don't =
think
>>>>> there is universal API support for DTLS servers accepting a =
preference
>>>>> list directly, so we would not want to imply that this list would =
always
>>>>> be used in such a fashion.  But it could be used in such a =
fashion.
>>>>=20
>>>> Based on what I understood of your comment, what do you think of =
this change? Or did I completely misunderstand you??
>>>=20
>>> Sorry for my rambly comment, which is really more of a side note =
than
>>> something intended to change the document.  The OLD text is better =
than the
>>> NEW.  My question (to the extent there was a question) here was =
along the
>>> lines of whether we should be more precise about whether "used to =
populate"
>>> includes retaining the preference order.  I don't think it's =
currently
>>> possible to actually do that, though, so my recommendation is to =
leave this
>>> text unchanged.
>>>=20
>>>> OLD:
>>>>=20
>>>>           This list is used to populate the
>>>>            server_certificate_type extension in a Client Hello.
>>>>            Values that are present in at least one instance in the
>>>>            certs object under dtls of a referenced dtls instance
>>>>            and that have a non-empty private-key will be used to
>>>>            populate the client_certificate_type extension in a
>>>>            Client Hello.
>>>>=20
>>>> NEW:
>>>>=20
>>>>           This list could be used to populate the
>>>>            server_certificate_type extension in a Client Hello.
>>>>            Values that are present in at least one instance in the
>>>>            certs object under dtls of a referenced dtls instance
>>>>            and that have a non-empty private-key will be used to
>>>>            populate the client_certificate_type extension in a
>>>>            Client Hello.
>>>>=20
>>>>>=20
>>>>>         container stats {
>>>>>           config false;
>>>>>           description
>>>>>             "Statistics collection object for this interface.";
>>>>>=20
>>>>> Often, YANG models with such statistics containers will also =
include a
>>>>> leaf to indicate the "discontinuity time" at which the counters =
were
>>>>> last reset.
>>>>=20
>>>> Hmm. I wonder if that is not an implementation level detail.
>>>=20
>>> My understanding is that it is not typically treated as an =
implementation
>>> detail, but my understanding is just an inference based on seeing a =
number
>>> of YANG modules go by during my time as an AD.  Rob Wilton might =
have a
>>> better sense, or we could ask a YANG doctor for help (or both).
>>=20
>> Ok. I have added a =E2=80=98discontinuity-counter=E2=80=99 from other =
YANG models, and is pretty much a cut-and-paste :-(. I imagine it is not =
controversial addition, but do want to inform the WG, here, about the =
addition.
>>=20
>>>=20
>>>>>=20
>>>>>           leaf hello-mcast-history {
>>>>>             type string;
>>>>>             description
>>>>>               "The multicast Hello history of whether or not the
>>>>>                multicast Hello packets prior to exp-mcast-
>>>>>                hello-seqno were received, with a '1' for the most
>>>>>                recent Hello placed in the most significant bit and
>>>>>                prior Hellos shifted right (with '0' bits placed
>>>>>                between prior Hellos and most recent Hello for any
>>>>>                not-received Hellos); represented as a string using
>>>>>                utf-8 encoded hex digits where a '1' bit =3D Hello
>>>>>                received and a '0' bit =3D Hello not received.";
>>>>>=20
>>>>> I'd consider adding a few more words to confirm that this is the =
hex
>>>>> representation of a bitstring (so, all hex digits are possible), =
not a
>>>>> string consisting of only '1' and '0' characters.
>>>>> (Likewise for hello-ucast-history.)
>>>>=20
>>>> But doesn=E2=80=99t the model already say that in the last =
sentence? If not, can you suggest text?
>>>=20
>>> I think you are correct that the model basically says that already.  =
My
>>> concern was that since we use the quoted forms "'1' bit" and "'0' =
bit",
>>> someone might think that we are using only binary digits (which are, =
after
>>> all, a subset of hex digits) and write out a binary representation =
rather
>>> than a hex one.  This is, admittedly, a little farfetched, but since =
I
>>> already opened the topic, my attempt at rewording would be "[...]
>>> represented as a string of utf-encoded hex digits.  A bit that is =
set
>>> indicates that the corresponding Hello was received, and a bit that =
is
>>> cleared indicates that the corresponding Hello was not received".
>>=20
>> Ok. I have edited the text and it now reads as:
>>=20
>>               =E2=80=9C... represented as a string of
>>               utf-8 encoded hex digits. A bit that is set indicates
>>               that the corresponding Hello was received, and a bit
>>               that is cleared indicates that the corresponding Hello
>>               was not received."
>>=20
>>>=20
>>>>>=20
>>>>>           leaf exp-mcast-hello-seqno {
>>>>>             type uint16;
>>>>>             default "0";
>>>>>             description
>>>>>               "Expected multicast Hello sequence number of next =
Hello
>>>>>                to be received from this neighbor; if multicast =
Hello
>>>>>                packets are not expected, or processing of =
multicast
>>>>>                packets is not enabled, this MUST be NULL.";
>>>>>=20
>>>>> It's not really clear to me that assigning semantics to a NULL =
leaf
>>>>> makes sense when there is a default value for it (that has already
>>>>> assigned semantics to an absent leaf).
>>>>> (et seq)
>>>>=20
>>>> Ok. Will remove the default value.
>>>>=20
>>>>>=20
>>>>>           leaf value {
>>>>>             type binary;
>>>>>             mandatory true;
>>>>>             description
>>>>>               "The value of the MAC key. An implementation MUST =
NOT
>>>>>                allow this parameter to be read. This can be done =
by
>>>>>=20
>>>>> I believe that we can incorporate this restriction in the YANG =
itself
>>>>> with something like "nacm:default-deny-all".
>>>>=20
>>>> Ok. Will add 'nacm:default-deny-all' and drop the text =E2=80=9CAn =
implementation .. subsequently writeable=E2=80=9D.
>>>>=20
>>>>>=20
>>>>>             description
>>>>>               "The name of the MAC algorithm used with this key. =
The
>>>>>                value MUST be the same as one of the enumerations
>>>>>                listed in the mac-algorithms parameter.";
>>>>>=20
>>>>> It's now an identityref, not a name.  Accordingly, there are also =
not
>>>>> any enumerations listed in the mac-algorithms parameter.
>>>>=20
>>>> How about this?
>>>>=20
>>>> OLD:
>>>>=20
>>>>             "The name of the MAC algorithm used with this key. The
>>>>              value MUST be the same as one of the enumerations
>>>>              listed in the mac-algorithms parameter.=E2=80=9D;
>>>>=20
>>>> NEW:
>>>>=20
>>>>             "The MAC algorithm used with this key. The
>>>>              value MUST be one of the identities
>>>>              listed with the base of 'mac-algorithms'.=E2=80=9D;
>>>>=20
>>>>>=20
>>>>>             description
>>>>>               "The name of the certificate type of this object
>>>>>                instance. The value MUST be the same as one of the
>>>>>                enumerations listed in the dtls-cert-types
>>>>>                parameter. This value can only be provided when =
this
>>>>>=20
>>>>> Similarly, this is also identityref, and also has no enumerations =
listed
>>>>> in the dtls-cert-types parameter.
>>>>=20
>>>> How about this?
>>>>=20
>>>> OLD:
>>>>=20
>>>>             "The name of the certificate type of this object
>>>>              instance. The value MUST be the same as one of the
>>>>              enumerations listed in the dtls-cert-types
>>>>              parameter.=20
>>>>=20
>>>> NEW:
>>>>=20
>>>>             "The certificate type of this object
>>>>              instance. The value MUST be the same as one of the
>>>>              identities listed with the base of 'dtls-cert-types'.=20=

>>>>=20
>>>>>=20
>>>>>           leaf private-key {
>>>>>             type binary;
>>>>>             mandatory true;
>>>>>             description
>>>>>               "The value of the private key. If this is non-empty,
>>>>>                this certificate can be used by this implementation =
to
>>>>>                provide a certificate during DTLS handshaking. An
>>>>>                implementation MUST NOT allow this parameter to be
>>>>>                read. This can be done by always providing an empty
>>>>>=20
>>>>> (nacm:default-deny-all could be useful here as well)
>>>>=20
>>>> Ok. Will add it and drop the appropriate text around it.
>>>>=20
>>>>>=20
>>>>>                string, or through permissions, or other means. =
This
>>>>>                value can only be provided when this instance is
>>>>>                created, and is not subsequently writable.";
>>>>>=20
>>>>> It is perhaps a bit limiting to require the actual private key =
value to
>>>>> be supplied, since that would preclude the use of (e.g.) HSM-based
>>>>> private keys.  But since we are basically inheriting from the
>>>>> information model here, I won't press it too hard.
>>>>>=20
>>>>> Section 4
>>>>>=20
>>>>> It might be worth referencing the security considerations of
>>>>> 8966/8967/8968 as being applicable.
>>>>=20
>>>> I understand that the Babel protocol itself is a insecure protocol. =
But I am not clear on how that is applicable to the YANG model that is =
used to configure or read the *state* of the protocol (over a secure =
interface). How about we add this? Thanks to Barbara for providing the =
text.
>>>>=20
>>>> "The security considerations outlined here are specific to the YANG =
data model, and do not cover security considerations of the Babel =
protocol or its security mechanisms [RFC8966][RFC8967][RFC8968]. Each of =
these have their own Security Considerations section for considerations =
that are specific to it."
>>>=20
>>> That looks wonderful; thank you!
>>>=20
>>>>>=20
>>>>> The security (privacy, really) considerations of RFC 7924 are also
>>>>> arguably relevant, relating to the use of the TLS "cached_info"
>>>>> extension.
>>>>=20
>>>> Isn=E2=80=99t this something that is relevant to RFC8968? The YANG =
model is merely allowing for the configuration of the capability =
specified in RFC8968. Shouldn=E2=80=99t any security considerations for =
=E2=80=9Ccached_info=E2=80=9D therefore be mentioned there?
>>>=20
>>> okay.  My "arguably" was intended to imply "and also arguably not"
>>>=20
>>>>>=20
>>>>> Are there any security and/or privacy considerations relating to =
the
>>>>> logging of babel packets?
>>>>=20
>>>> We say the following in the security considerations section.
>>>>=20
>>>>  'babel': Access to the information in the various nodes can =
disclose
>>>>  the network topology.  Additionally, the routes used by a network
>>>>  device may be used to mount a subsequent attack on traffic =
traversing
>>>>  the network device.
>>>=20
>>> Hmm, my understanding was that the routes used by a given device are =
a
>>> function of the received packets but that the packets themselves can
>>> contain more information than just the routes currently used.  If =
that's
>>> the case, then enabling a full packet log would disclose that "more
>>> information", but I don't know offhand exactly what that information =
is, I
>>> can't write good text to use here.
>>=20
>> Ok. How about if we add this in the config true section of the =
Security Considerations section?
>>=20
>> =E2=80=98packet-log-enable=E2=80=99 and =E2=80=98packet-log=E2=80=99: =
Enabling the logging of packets and unintended access to the log files =
gives an attacker detailed knowledge of the network, and allow it to =
launch an attack on the traffic traversing the network device.
>=20
> That sounds good to me!  I think that my delay in responding caused =
this to
> not be included in the -12, so hopefully it can still make it in.
>=20
>>=20
>>>=20
>>>>>=20
>>>>> There are a number of data nodes defined in the YANG module which =
are
>>>>> writable/created/deleted (i.e., config true, which is the =
default).
>>>>>=20
>>>>> I don't think "writable/created/deleted" is part of the template.
>>>>=20
>>>> Thanks to Barbara for digging this out:
>>>>=20
>>>> https://datatracker.ietf.org/doc/html/rfc8407.html#section-3.7.1 =
<https://datatracker.ietf.org/doc/html/rfc8407.html#section-3.7.1>:
>>>>=20
>>>> There are a number of data nodes defined in this YANG module that =
are
>>>> writable/creatable/deletable
>>>=20
>>> My mistake, apologies for that.
>>> I think I typically use
>>> https://trac.ietf.org/trac/ops/wiki/yang-security-guidelines as the
>>> reference, but the phrase in question appears there as well.
>>>=20
>>>>>=20
>>>>> 'babel/hmac' and 'babel/dtls': These contain security credentials
>>>>> that influence whether packets are trusted.
>>>>>=20
>>>>> I'd consider making two separate (but related) points about =
controlling
>>>>> whether incoming packets are trusted, and whether outgoing packets =
are
>>>>> produced in a way such that the receiver will treat them as =
trusted.
>>>>> (Changing just the use-send/use-verify values can allow for a =
valid key
>>>>> to be misused, without changing the actual keys being used, which =
could
>>>>> present an interesting attack in some scenarios.)
>>>>=20
>>>> Ok. How about this? Thanks again to Barbara for providing the text.
>>>>=20
>>>> =E2=80=9CThese contain security credentials
>>>> that influence whether incoming packets are trusted, and whether =
outgoing packets are
>>>> produced in a way such that the receiver will treat them as =
trusted.=E2=80=9D
>>>>=20
>>>>>=20
>>>>> Some of the readable data or config false nodes in this YANG =
module
>>>>> may be considered sensitive or vulnerable in some network
>>>>> [...]
>>>>> 'babel/hmac' and 'babel/dtls': These contain security credentials,
>>>>> include private credentials of the router.
>>>>>=20
>>>>> We do require the actual secret keys to not be readable, so we =
might
>>>>> consider phrasing this more as a reiteration of that requirement =
than a
>>>>> statement of risk if they are read out.
>>>>=20
>>>> How about this? Thanks Barbara.
>>>>=20
>>>>  'babel/hmac' and 'babel/dtls': These contain security credentials,
>>>>  including private credentials of the router; however it is
>>>>  required that these values not be readable.
>>>>=20
>>>>>=20
>>>>> Some of the RPC operations in this YANG module may be considered
>>>>> sensitive or vulnerable in some network environments.  It is thus
>>>>> important to control access to these operations.  These are the
>>>>> operations and their sensitivity/vulnerability from a RPC =
operation
>>>>> perspective:
>>>>>=20
>>>>> This model does not define any RPC operations.
>>>>>=20
>>>>> We do define a couple of actions, though, which are like RPCs =
except
>>>>> "[t]he difference between an action and an rpc is that an action =
is tied
>>>>> to a node in the datastore, whereas an rpc is not".  This is =
perhaps an
>>>>> omission in the YANG security considerations template, but I don't =
think
>>>>> we should let that stop us from noting the actions we define are
>>>>> carefully designed to have minimal security impact and minimal
>>>>> side-channel leakage.  (Well, I guess that's not hard for the
>>>>> stats-reset one, but for the MAC key test one it's quite =
important.)
>>>>=20
>>>> How about this?
>>>>=20
>>>> OLD:
>>>>=20
>>>>  This model does not define any RPC operations.
>>>>=20
>>>> NEW:
>>>>=20
>>>>  This model defines two actions, one of which
>>>>  allows for MAC key and MAC algorithm to be tested.=20
>>>>  It does not allows for them to be changed.
>>>=20
>>> That's an improvement, certainly.  I would propose
>>>=20
>>> NEW 2:
>>>=20
>>> This model defines two actions.  Resetting the statistics within an
>>> interface container would be visible to any monitoring processes, =
which
>>> should be designed to account for the possibility of such a reset.
>>> The "test" action allows for validation that a MAC key and MAC =
algorithm
>>> have been properly configured.  The MAC key is a sensitive piece of
>>> information, and it is important to prevent an attacker that does =
not know
>>> the MAC key from being able to determine the MAC value of an
>>> attacker-influenced plaintext.  The "test" action has been designed =
to
>>> not reveal such information directly.  Such information might also =
be
>>> revealed indirectly, due to side channels such as the time it takes =
to
>>> produce a response to the action.  Implementations SHOULD use a
>>> constant-time comparison between the input mac and the locally =
generated
>>> MAC value for comparison, in order to avoid such side channel =
leakage.
>>=20
>> I am fine with this proposed text.
>>=20
>>>=20
>>>>>=20
>>>>> Section 6.1
>>>>>=20
>>>>> I don't have a great sense for why RFC 4868 needs to be normative.
>>>>=20
>>>> RFC 4868 is cited as a reference in the YANG model, which is =
normative.
>>>>=20
>>>>>=20
>>>>> RFC 8968 seems missing as a listed reference at all (which would =
of
>>>>> course need to be normative as 8967 is).
>>>>=20
>>>> Agreed.
>>>>=20
>>>>>=20
>>>>> Section 6.2
>>>>>=20
>>>>> I think RFC 7693 should be normative, since you need it in order =
to do
>>>>> the blake2 stuff.
>>>>=20
>>>> Ok. Will move it to normative section.
>>>>=20
>>>>>=20
>>>>> RFC 8341 might become normative if we add nacm:default-deny-all =
stanzas.
>>>>=20
>>>> Agreed.
>>>>=20
>>>>>=20
>>>>> NITS
>>>>>=20
>>>>> The tree diagram and the prose use different orders for the =
various
>>>>> child elements, which is a little distracting.
>>>>=20
>>>> Ok. Will fix the order.
>>>>=20
>>>>>=20
>>>>> Section 1
>>>>>=20
>>>>> [RFC8966].  The data model is defined using YANG 1.1 [RFC7950] =
data
>>>>> modeling language and is Network Management Datastore Architecture
>>>>>=20
>>>>> "the YANG [data modeling language]"
>>>>=20
>>>>>=20
>>>>> Section 2.1
>>>>>=20
>>>>> Information Model and this data module.  The information model
>>>>> mandates the definition of some of the attributes, e.g.  'babel-
>>>>>=20
>>>>> comma after "e.g." (as well as before).  (I'll try to only note it =
once,
>>>>> though it appears many times.)  Likewise for "i.e."
>>>>=20
>>>>>=20
>>>>> Section 2.2
>>>>>=20
>>>>> In addition to information like the version number implemented by
>>>>> this device, the model contains subtrees on 'constants',
>>>>>=20
>>>>> The actual data model (and the information model, for that matter) =
show
>>>>> that the 'version' leaf contains "the name and version of this
>>>>> implementation of the Babel protocol".  The text here suggests =
that it
>>>>> contains the protocol version number implemented by the device, =
which is
>>>>> different.  So I'd suggest "the implementation and version used by =
this
>>>>> device" instead.
>>>>=20
>>>>>=20
>>>>> The 'interfaces' subtree describes attributes such as 'interface'
>>>>> object that is being referenced, the type of link, e.g. wired,
>>>>>=20
>>>>> "the 'interface'"
>>>>=20
>>>> Ok to the above suggested changes.
>>>>=20
>>>>>=20
>>>>> wireless or tunnel, as enumerated by 'metric-algorithm' and =
'split-
>>>>> horizon' and whether the interface is enabled or not.
>>>>>=20
>>>>> I suggest using semicolons for the outer layer of grouping, to =
avoid
>>>>> overloading commas for different hierarchies of separation.
>>>>=20
>>>> Something like this?
>>>>=20
>>>> OLD:
>>>>=20
>>>>  The 'interfaces' subtree describes attributes such as 'interface'
>>>>  object that is being referenced, the type of link, e.g. wired,
>>>>  wireless or tunnel, as enumerated by 'metric-algorithm' and =
'split-
>>>>  horizon' and whether the interface is enabled or not.
>>>>=20
>>>> NEW:
>>>>=20
>>>>  The 'interfaces' subtree describes attributes such as 'interface'
>>>>  object that is being referenced, the type of link, e.g., wired,
>>>>  wireless or tunnel; as enumerated by 'metric-algorithm' and =
'split-
>>>>  horizon=E2=80=99; and whether the interface is enabled or not.
>>>=20
>>> When I was reading it, my expectation was something like
>>>=20
>>> NEW 2:
>>>=20
>>>  The 'interfaces' subtree describes attributes such as the =
'interface'
>>>  object that is being referenced; the type of link, e.g., wired,
>>>  wireless or tunnel, as enumerated by 'metric-algorithm' and 'split-
>>>  horizon=E2=80=99; and whether the interface is enabled or not.
>>>=20
>>> but I trust your understanding of how the technology works more than =
my
>>> understanding!
>>=20
>> As I understand it, the interface can be described as being either =
=E2=80=98wired', =E2=80=98wireless' or =E2=80=98tunnel'. It can be =
further described by setting values of =E2=80=98metric-algorithm=E2=80=99 =
and =E2=80=99split-horizon=E2=80=99. Finally, the interface can be =
enabled or disabled. So I would suggest one small change to your NEW 2.
>>=20
>> NEW 3:
>>=20
>>  The 'interfaces' subtree describes attributes such as the =
'interface'
>>  object that is being referenced; the type of link, e.g., wired,
>>  wireless or tunnel; it is enumerated by 'metric-algorithm' and =
'split-
>>  horizon=E2=80=99; and whether the interface is enabled or not.
>=20
> Ah, that makes perfect sense.  I expect the RFC Editor will suggest =
some
> additional wording tweaks (to make the structure of the elements of =
the
> list "parallel"), but am happy to leave the polishing to them.
>=20
> Thanks again,
>=20
> Ben
>=20
>>>=20
>>>>=20
>>>>>=20
>>>>> Finally, for security two subtree are defined to contain MAC keys =
and
>>>>> DTLS certificates.  The 'mac-key-set' subtree contains keys used =
with
>>>>>=20
>>>>> "subtrees"
>>>>=20
>>>>>=20
>>>>> interfaces.  The dtls subtree contains certificates used with DTLS
>>>>>=20
>>>>> single quotes for 'dtls'.
>>>>> "the DTLS"
>>>>=20
>>>>>=20
>>>>> Section 2.3
>>>>>=20
>>>>> Similarly, an interface that is a metered 3G link, and used for
>>>>> fallback connectivity needs much higher default time constants, =
e.g.
>>>>>=20
>>>>> Comma after "connectivity".
>>>>=20
>>>>>=20
>>>>> HMAC: Keyed-Hashing for Message Authentication [RFC2104], Using
>>>>> HMAC-SHA-256, HMAC-SHA-384, and HMAC-SHA-512 [RFC4868], Datagram
>>>>>=20
>>>>> The "with IPsec" part of RFC 4868's title seems to have been =
dropped.
>>>>=20
>>>> Ok to the above suggested changes.
>>>>=20
>>>>>=20
>>>>>       "This implementation supports two-out-of-three metric
>>>>>        comp algorithm.";
>>>>>=20
>>>>> "the two-out-of-three".
>>>>> Also, do we really need to (silently) abbreviate "metric =
computation"
>>>>> (multiple occurrences)?
>>>>=20
>>>> Should be:
>>>>=20
>>>> =E2=80=9Cthe =E2=80=99two-out-of-three=E2=80=99=E2=80=9D.=20
>>>>=20
>>>> Will fix metric comp occurrences.
>>>>=20
>>>>>=20
>>>>>       "This implementation supports Expected Transmission Count
>>>>>=20
>>>>> "the Expected"
>>>>=20
>>>> Ok.
>>>>=20
>>>>>=20
>>>>>       "This implementation supports hmac-sha256 MAC algorithm.";
>>>>>=20
>>>>> "the hmac-sha256"
>>>>>=20
>>>>>       "This implementation supports x-509 certificate type.";
>>>>>=20
>>>>> "the X.509"
>>>>=20
>>>> Ok to both.
>>>>=20
>>>>>=20
>>>>>       "This implementation supports raw-public-key certificate
>>>>>        type.";
>>>>>=20
>>>>> Missing article, per the theme, but I think it would also be more
>>>>> conventional to spell the name as "RawPublicKey".
>>>>=20
>>>> Ok. That was done to be consistent with the IM.
>>>>=20
>>>>>=20
>>>>>     base metric-comp-algorithms;
>>>>>     if-feature "etx-supported";
>>>>>     description
>>>>>       "Expected Transmission Count.";
>>>>=20
>>>>>=20
>>>>> I'd put an "algorithm" in here somewhere
>>>>=20
>>>>=20
>>>> How about:
>>>>=20
>>>> =E2=80=9CExpected Transmission Count (ETX) metric compilation =
algorithm.=E2=80=9D
>>>>=20
>>>>>=20
>>>>>       "BLAKE2s algorithms supported. Specifically, BLAKE2-128 is
>>>>>        supported.";
>>>>>=20
>>>>> I'd just say "BLAKE2-128 algorithm supported."
>>>>=20
>>>> Then shouldn=E2=80=99t the feature say
>>>>=20
>>>> feature blake2-128-supported?
>>>=20
>>> My understanding of the nit (if any) here was about "algorithms" =
(plural) vs
>>> "algorithm" (singular), since this is a single YANG identity that =
can only
>>> have a single semantic.  So, we could choose to make it be =
"indicates that
>>> BLAKE2-128 and BLAKE2-256 are both supported" or just "indicates =
that
>>> BLAKE2-128 is supported".  Given the second sentence, my =
understanding is
>>> that this particular YANG identity indicates that BLAKE2-128 is =
supported,
>>> even if the feature "blake2s-supported" might in the future indicate
>>> whether some other blake2s variant is supported in addition to this =
one.
>>> If this YANG identity only indicates that a single algorithm is =
supported,
>>> I don't think the plural "algorithms" adds much value, and once that =
part
>>> is gone then the value of the first sentence comes into question as =
well.
>>=20
>> My intent of naming the feature =E2=80=98blake2-supported=E2=80=99 =
was to include *all* BLAKE2 algorithms, even if there is support only =
for BLAKE2-128. I can drop the second sentence in the description to =
just say:
>>=20
>> "This implementation supports all blake2s MAC algorithms.=E2=80=9D;
>>=20
>>=20
>>>=20
>>>>>=20
>>>>>       "Raw Public Key type.";
>>>>>=20
>>>>> "certificate type"
>>>>=20
>>>>>=20
>>>>>       leaf router-id {
>>>>>         type binary;
>>>>>=20
>>>>> (If length constraint is applied earlier, it should apply here as =
well.)
>>>>>=20
>>>>>           "Indicates whether statistics collection is enabled =
(true)
>>>>>            or disabled (false) on all interfaces. When enabled,
>>>>>            existing statistics values are not cleared and will be
>>>>>            incremented as new packets are counted.";
>>>>>=20
>>>>> I suggest "on transition to enabled".
>>>>> (Also, thank you for clearly spelling out which behaviors =
true/false map
>>>>> to!)
>>>>=20
>>>>>=20
>>>>>              A value of true indicates split horizon optimization
>>>>>              is used.";
>>>>> "the split"
>>>>>=20
>>>>>             "List of references to the mac entries that apply
>>>>>              to this interface. When an interface instance is
>>>>>              created, all mac instances with default-apply 'true'
>>>>>=20
>>>>> s/mac/MAC/ (twice)
>>>>>=20
>>>>>             "Indicates whether the cached_info extension is =
included
>>>>>              in ClientHello and ServerHello packets. The extension
>>>>>=20
>>>>> s/packets/messages/.
>>>>=20
>>>> Ok to the above suggested changes.
>>>>=20
>>>>> Also, it's conventional to refer to TLS extension names enclosed =
by
>>>>> double quotes, but I guess in the context of a YANG leaf =
description
>>>>> that's not really feasible.
>>>>=20
>>>> Correct.
>>>>=20
>>>>>=20
>>>>>              dtls-cert-types. This list is used to populate the
>>>>>              server_certificate_type extension in a Client Hello.
>>>>>=20
>>>>> s/Client Hello/ClientHello/.
>>>>>=20
>>>>>       list mac-key-set {
>>>>>         key "name";
>>>>>=20
>>>>>         description
>>>>>           "A mac key set object. If this object is implemented, it
>>>>>            provides access to parameters related to the MAC =
security
>>>>>            mechanism.";
>>>>>=20
>>>>> s/mac/MAC/
>>>>>=20
>>>>>             "A string that uniquely identifies the mac object.";
>>>>>=20
>>>>> s/mac/MAC key/
>>>>>=20
>>>>>              If 'true', this instance is applied to new babel-
>>>>>              interfaces instances at the time they are created,
>>>>>              by including it in the mac-key-sets list under
>>>>>              interfaces. If 'false', this instance is not applied
>>>>>=20
>>>>> s/under interfaces/under the interface/
>>>>>=20
>>>>>              to new interfaces instances when they are created.";
>>>>>=20
>>>>> s/interfaces/interface/
>>>>>=20
>>>>>              If 'true', this instance is applied to new interfaces
>>>>>              instances at the time they are created, by including =
it
>>>>>              in the dtls-certs list under interfaces. If 'false',
>>>>>=20
>>>>> s/under interfaces/under the interface/
>>>>>=20
>>>>>              this instance is not applied to new interfaces
>>>>>              instances when they are created.";
>>>>>=20
>>>>> s/interfaces/interface/
>>>>=20
>>>> Ok to make the above suggested changes.
>>>>=20
>>>> Thanks again for a detailed review!
>>>=20
>>> And thank you for the detailed responses and updates; as I noted in =
the
>>> preface, the ones I did not reply to all look good!
>>>=20
>>> My apologies once more for the slow response time,
>>>=20
>>> Ben
>>=20
>> Mahesh Jethanandani
>> mjethanandani@gmail.com
>>=20
>>=20
>>=20
>>=20
>>=20

Mahesh Jethanandani
mjethanandani@gmail.com






--Apple-Mail=_A14E468C-8861-4337-BF3E-D123CF30619A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">Hi =
Ben,<div class=3D""><br class=3D""></div><div class=3D"">I believe I =
have addressed your comments in -13 version of the document. Let me =
know. Thanks.</div><div class=3D""><br class=3D""></div><div =
class=3D"">URL: =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a =
href=3D"https://www.ietf.org/archive/id/draft-ietf-babel-yang-model-13.txt=
" =
class=3D"">https://www.ietf.org/archive/id/draft-ietf-babel-yang-model-13.=
txt</a><br class=3D"">Status: =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a =
href=3D"https://datatracker.ietf.org/doc/draft-ietf-babel-yang-model/" =
class=3D"">https://datatracker.ietf.org/doc/draft-ietf-babel-yang-model/</=
a><br class=3D"">Htmlized: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a =
href=3D"https://datatracker.ietf.org/doc/html/draft-ietf-babel-yang-model"=
 =
class=3D"">https://datatracker.ietf.org/doc/html/draft-ietf-babel-yang-mod=
el</a><br class=3D"">Diff: =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a =
href=3D"https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-babel-yang-model-13=
" =
class=3D"">https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-babel-yang-model=
-13</a><br class=3D""><div><br class=3D""><blockquote type=3D"cite" =
class=3D""><div class=3D"">On Sep 16, 2021, at 2:38 PM, Benjamin Kaduk =
&lt;<a href=3D"mailto:kaduk@mit.edu" class=3D"">kaduk@mit.edu</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div =
class=3D"">Hi Mahesh,<br class=3D""><br class=3D"">My apologies again =
for the delayed response. &nbsp;Thank you for submitting the<br =
class=3D"">updates in the -11 and -12 (which also serves to generate a =
reminder to me<br class=3D"">that I have an action item). &nbsp;I'm =
happy to report that my DISCUSS points<br class=3D"">are addressed, and =
will update my ballot position after I send this mail.<br class=3D""><br =
class=3D"">A few things left to comment on, inline...<br class=3D""><br =
class=3D"">On Wed, Aug 04, 2021 at 11:34:52AM -0700, Mahesh Jethanandani =
wrote:<br class=3D""><blockquote type=3D"cite" class=3D"">Hi Ben,<br =
class=3D""><br class=3D"">No worries. See inline, and for brevity =
reasons I will also skip =E2=80=9Cok=E2=80=9D, and other responses that =
would have acknowledged but do not require a specific response.<br =
class=3D""><br class=3D""><blockquote type=3D"cite" class=3D"">On Jul =
20, 2021, at 4:55 PM, Benjamin Kaduk &lt;<a href=3D"mailto:kaduk@mit.edu" =
class=3D"">kaduk@mit.edu</a>&gt; wrote:<br class=3D""><br class=3D"">Hi =
Mahesh, Barbara,<br class=3D""><br class=3D"">My humble apologies for =
not responding earlier; this really was an<br class=3D"">unreasonable =
amount of time for you to wait.<br class=3D""><br class=3D"">Responses =
inline, though for brevity I will omit remarks of the form<br =
class=3D"">"sounds good", "thank you", etc.<br class=3D""><br =
class=3D"">On Tue, Jun 08, 2021 at 08:47:14AM -0700, Mahesh Jethanandani =
wrote:<br class=3D""><blockquote type=3D"cite" class=3D"">Hi =
Benjamin,<br class=3D""><br class=3D"">Thank you first of all for a =
detailed review. Some of the comments/changes suggested here may impact =
the information model that this draft depends on. The information model =
is in AUTH48 state at this time.<br class=3D""><br class=3D"">This =
response includes feedback from my co-author Barbara.<br class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D"">On May 19, 2021, at 9:09 =
PM, Benjamin Kaduk via Datatracker &lt;<a href=3D"mailto:noreply@ietf.org"=
 class=3D"">noreply@ietf.org</a>&gt; wrote:<br class=3D""><br =
class=3D"">Benjamin Kaduk has entered the following ballot position =
for<br class=3D"">draft-ietf-babel-yang-model-10: Discuss<br =
class=3D""><br class=3D"">When responding, please keep the subject line =
intact and reply to all<br class=3D"">email addresses included in the To =
and CC lines. (Feel free to cut this<br class=3D"">introductory =
paragraph, however.)<br class=3D""><br class=3D""><br class=3D"">Please =
refer to <a =
href=3D"https://www.ietf.org/iesg/statement/discuss-criteria.html" =
class=3D"">https://www.ietf.org/iesg/statement/discuss-criteria.html</a><b=
r class=3D"">for more information about DISCUSS and COMMENT =
positions.<br class=3D""><br class=3D""><br class=3D"">The document, =
along with other ballot positions, can be found here:<br class=3D""><a =
href=3D"https://datatracker.ietf.org/doc/draft-ietf-babel-yang-model/" =
class=3D"">https://datatracker.ietf.org/doc/draft-ietf-babel-yang-model/</=
a><br class=3D""><br class=3D""><br class=3D""><br =
class=3D"">---------------------------------------------------------------=
-------<br class=3D"">DISCUSS:<br =
class=3D"">---------------------------------------------------------------=
-------<br class=3D""><br class=3D"">This is kind of nitpicky, and I'm =
sorry to pull out the heavy hammer of<br class=3D"">DISCUSS for it, but =
for the "dtls-cached-info" leaf with description:<br class=3D""><br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"I=
ndicates whether the cached_info extension is included<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;in ClientHello and ServerHello packets. The extension<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;is included if the value is 'true'.";<br class=3D""><br class=3D"">It =
is factually false to just say that "the extension is included if the<br =
class=3D"">value is true", and it contradicts the DTLS specification to =
say so. &nbsp;In<br class=3D"">particular, the extension can only be =
included in the ServerHello<br class=3D"">message if it was present in =
the ClientHello message being responded to.<br class=3D"">So maybe we =
can say "enabled for inclusion" or append "when permitted by<br =
class=3D"">the protocol", or something similar?<br =
class=3D""></blockquote><br class=3D"">How about this?<br class=3D""><br =
class=3D"">OLD:<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Indicates =
whether the cached_info extension is included<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in =
ClientHello and ServerHello packets. The extension<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;is =
included if the value is 'true'.";<br class=3D""><br class=3D"">NEW:<br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Indicates =
whether use of cached_info extension is enabled.<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The =
extension is enabled for inclusion if the value is 'true'.";<br =
class=3D""></blockquote><br class=3D"">Both this form and Barbara's =
revision will address my concern. &nbsp;Barbara's<br class=3D"">version =
removes any ambiguity about what the "inclusion" would be in, so<br =
class=3D"">that seems preferred to me.<br class=3D""></blockquote><br =
class=3D"">Ok. Will use Barbara=E2=80=99s version.<br class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D""><blockquote=
 type=3D"cite" class=3D""><br class=3D""><blockquote type=3D"cite" =
class=3D""><br class=3D"">There's also a few places where we didn't =
quite clean up all the fallout<br class=3D"">from switching from =
enumerations to identities (for MAC and<br class=3D"">DTLS-adjacent =
algorithms), that really ought to get fixed before<br =
class=3D"">publication. &nbsp;I try to note them in the COMMENT.<br =
class=3D""><br class=3D"">I also think we need to be a bit more specific =
about the structure of<br class=3D"">the (binary) private-key =
leaf/values provided when a certificate entry<br class=3D"">is created. =
&nbsp;Ideally this would just be by reference to some other spec,<br =
class=3D"">but the situation is unfortunately messy. &nbsp;(It doesn't =
help that we<br class=3D"">allow DTLS 1.2, which allows certificates =
that are used for key-exchange<br class=3D"">as opposed to signing, and =
those are not terribly mainstream.) &nbsp;We may<br class=3D"">need to =
pull in some other experts to figure out the right way to write<br =
class=3D"">about this.<br class=3D""></blockquote><br class=3D"">Ok. The =
way I am reading this is that we need to wait to hear more from the =
experts that you cite before making any changes.<br class=3D""><br =
class=3D"">Note, in WG discussion the ask was for the format of the =
private-key to be binary. I am not an expert, but would it help if the =
description said something about using PEM format for the =
private-key?<br class=3D""></blockquote><br class=3D"">I think binary is =
probably fine; a PEM encoding is just base64 encoding and<br =
class=3D"">sometimes a little bit of a hint as to what the contained =
structure is.<br class=3D"">But my recollection is that the PEM type =
indication for certificate private<br class=3D"">keys is not always =
precise enough to indicate what is to be used, so an<br =
class=3D"">implementation would need to consult the "type" sibling leaf =
anyway in<br class=3D"">order to process the "private-key"...but it's =
not entirely clear that just<br class=3D"">"type" is enough information =
on its own.<br class=3D""><br class=3D"">It is possible that we can find =
the necessary references without pulling in<br class=3D"">an external =
expert, but if we get stuck I would probably ask Russ Housley<br =
class=3D"">or Sean Turner for help.<br class=3D""><br class=3D"">As a =
starting point, I note that RFC 4211 lists several Private Key<br =
class=3D"">structures in Section 4.2.2 in ASN.1 syntax. &nbsp;We would =
presumably require<br class=3D"">that the binary value exposed by the =
YANG module be the DER-encoded version<br class=3D"">of that ASN.1 =
structure. &nbsp;RFC 5915 has a private-key structure for ECC<br =
class=3D"">keys. &nbsp;The complications then come in specifying how the =
other YANG<br class=3D"">elements determine which (DER-encoded) ASN.1 =
structure is used for the<br class=3D"">"private-key" contents. &nbsp;In =
particular, "dtls-cert-type" indicates only a<br class=3D"">"certificate =
type" in the TLS sense -- X.509, raw public key, and the like.<br =
class=3D"">Both X.509 certificates and raw public keys can use keys from =
different<br class=3D"">cryptosystems or cryptographic algorithms. =
&nbsp;So I find it pretty<br class=3D"">inescapable that we'll need some =
in-band signaling about whether the<br class=3D"">private-key is a basic =
RSA key, or perhaps an RSA-PSS key that has some<br class=3D"">specific =
associated parameters, vs a DH or DSA key, or ECDH, ECDSA, EdDSA,<br =
class=3D"">etc. &nbsp;With in-band signaling comes the need for a table =
or enumeration of<br class=3D"">what the different (currently supported) =
key structures are. &nbsp;It seems that<br =
class=3D"">draft-ietf-netconf-crypto-types may have a start at =
private-key structures<br class=3D"">of this sort, though I have not =
been following that work closely (it seems<br class=3D"">to be in WGLC =
at the moment).<br class=3D""><br class=3D""></blockquote><br =
class=3D"">We will need to go back to the WG to discuss this. Let us get =
back to you on this.<br class=3D""></blockquote><br class=3D"">I see the =
follow-up message, and using =E2=80=98private-key-formats=E2=80=99 =
from<br class=3D"">ietf-crypto-types seems like a really good option. =
&nbsp;Thank you for finding<br class=3D"">that! &nbsp;Of particular note =
(to me) is that it's extensible via identityref,<br class=3D"">so if =
someone does have cause to use one of the more exotic TLS certificate<br =
class=3D"">types, there's a straightforward path to doing so.<br =
class=3D""><br class=3D""><blockquote type=3D"cite" class=3D""><blockquote=
 type=3D"cite" class=3D""><blockquote type=3D"cite" class=3D""><blockquote=
 type=3D"cite" class=3D""><br class=3D""><br =
class=3D"">---------------------------------------------------------------=
-------<br class=3D"">COMMENT:<br =
class=3D"">---------------------------------------------------------------=
-------<br class=3D""><br class=3D"">Section 2.2<br class=3D""><br =
class=3D""> In addition to information like the version number =
implemented by<br class=3D""> this device, the model contains subtrees =
on 'constants',<br class=3D""> 'interfaces', 'routes' and 'security'.<br =
class=3D""><br class=3D"">I don't see a 'security' node, but rather =
separate 'mac-key-set' and<br class=3D"">'dtls' nodes, both of which =
contain subtrees.<br class=3D""></blockquote><br class=3D"">Fixed.<br =
class=3D""><br class=3D""><blockquote type=3D"cite" class=3D""><br =
class=3D"">Section 2.3<br class=3D""><br class=3D""> A router running =
Babel routing protocol can determine the parameters<br class=3D""> it =
needs to use for an interface based on the interface name. =
&nbsp;[...]<br class=3D""><br class=3D"">Is this always true, or only =
sometimes?<br class=3D""></blockquote><br class=3D"">How about this?<br =
class=3D""><br class=3D"">OLD:<br class=3D""> &nbsp;A router running =
Babel routing protocol can determine the parameters<br class=3D""> =
&nbsp;it needs to use for an interface based on the interface name.<br =
class=3D""><br class=3D"">NEW:<br class=3D""> &nbsp;A router running =
Babel routing protocol can sometimes determine the parameters<br =
class=3D""> &nbsp;it needs to use for an interface based on the =
interface name.<br class=3D""><br class=3D""><blockquote type=3D"cite" =
class=3D""><br class=3D""> Transport Layer Security Version 1.2 =
[RFC6347], The Blake2<br class=3D""><br class=3D"">(DTLS 1.3 is in the =
RFC Editor's queue, FWIW.)<br class=3D""></blockquote><br =
class=3D"">Replaced it with reference to draft-ietf-tls-dtls13.<br =
class=3D""><br class=3D""><blockquote type=3D"cite" class=3D""><br =
class=3D""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;leaf router-id {<br =
class=3D""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type =
binary;<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;description<br class=3D"">=
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"router-id =
of the source router for which this route is<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;advertis=
ed.";<br class=3D""></blockquote><br class=3D""><blockquote type=3D"cite" =
class=3D""><br class=3D"">IIRC we can do length constraints in YANG, and =
in Babel router-ids are 8<br class=3D"">octets. &nbsp;Should we enshrine =
that in the YANG?<br class=3D""></blockquote><br class=3D"">What would =
the constraint statement look like? For 'type uint32' I see <br =
class=3D""><br class=3D"">length =E2=80=9C1..4294967295=E2=80=9D;<br =
class=3D""><br class=3D"">but I am not sure for 'type binary=E2=80=99 =
what it would look like.<br class=3D""></blockquote><br class=3D"">My =
understanding from<br class=3D""><a =
href=3D"https://datatracker.ietf.org/doc/html/rfc7950#section-9.8.1" =
class=3D"">https://datatracker.ietf.org/doc/html/rfc7950#section-9.8.1</a>=
 is that "length<br class=3D"">8" indicates an 8-octet value.<br =
class=3D""></blockquote><br class=3D"">Ok. Added it.<br class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D""><blockquote=
 type=3D"cite" class=3D""><blockquote type=3D"cite" class=3D""><br =
class=3D""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;leaf next-hop {<br =
class=3D""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type =
inet:ip-address;<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;description<br class=3D"">=
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"The =
next-hop address of this route. This will be empty if<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this =
route has no next-hop address.";<br class=3D""><br class=3D"">What does =
it mean for an inet:ip-address to be "empty"? &nbsp;That the node<br =
class=3D"">is absent?<br class=3D""></blockquote><br class=3D"">Yes, =
that the node is absent. Would it help if it said the following?<br =
class=3D""><br class=3D"">OLD:<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"The next-hop address of =
this route. This will be empty if<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this route has no =
next-hop address.=E2=80=9D;<br class=3D""><br class=3D"">NEW:<br =
class=3D""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"The =
next-hop address of this route. This will be NULL if<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this route has no =
next-hop address.=E2=80=9D;<br class=3D""></blockquote><br class=3D"">I =
think so, yes.<br class=3D""><br class=3D""><blockquote type=3D"cite" =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"L=
ist of supported certificate types, in order of<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;preference. The values MUST be among those listed in<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;dtls-cert-types. This list is used to populate the<br class=3D""><br =
class=3D"">Since the element is of type leafref to the actual list of =
certs, it<br class=3D"">seems like this MUST is achieved by construction =
(and thus need not be<br class=3D"">listed specifically). &nbsp;Though, =
"dtls-cert-types" appears in this<br class=3D"">document only as the =
base identity for Babel DTLS certificate types, so<br class=3D"">this =
phrasing seems a bit odd...perhaps it is fallout from an<br =
class=3D"">enumeration/identity conversion.<br class=3D""></blockquote><br=
 class=3D"">You are right. There is nothing to say that the leaf-list =
=E2=80=98dtls-cert-prefer=E2=80=99 could not be just <br class=3D""><br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type =
identityref {<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ba=
se dtls-cert-types;<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br =
class=3D""><br class=3D"">which would a list of certificate types this =
particular implementation supports. The assumption is that the list of =
certificate types that the implementation can support is not different =
from what it does support. @Barbara, would it be ok for the data model =
to just keep one list of certificate types?<br class=3D""></blockquote><br=
 class=3D"">I see there was an additional follow-up; that text looks =
good modulo the<br class=3D"">duplicate word "in in" across the line =
break.<br class=3D""><br class=3D""><blockquote type=3D"cite" =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;server_certificate_type extension in a Client Hello.<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;Values that are present in at least one instance in the<br class=3D"">=
 =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;certs object under dtls of a referenced dtls instance<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;and that have a non-empty private-key will be used to<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;populate the client_certificate_type extension in a<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;Client Hello.";<br class=3D""><br class=3D"">Since the DTLS server =
picks which certificate types are actually used,<br class=3D"">it is =
conceivable that the preference order in this list could also be<br =
class=3D"">used as input to the server's choice of type. &nbsp;That =
said, I don't think<br class=3D"">there is universal API support for =
DTLS servers accepting a preference<br class=3D"">list directly, so we =
would not want to imply that this list would always<br class=3D"">be =
used in such a fashion. &nbsp;But it could be used in such a fashion.<br =
class=3D""></blockquote><br class=3D"">Based on what I understood of =
your comment, what do you think of this change? Or did I completely =
misunderstand you??<br class=3D""></blockquote><br class=3D"">Sorry for =
my rambly comment, which is really more of a side note than<br =
class=3D"">something intended to change the document. &nbsp;The OLD text =
is better than the<br class=3D"">NEW. &nbsp;My question (to the extent =
there was a question) here was along the<br class=3D"">lines of whether =
we should be more precise about whether "used to populate"<br =
class=3D"">includes retaining the preference order. &nbsp;I don't think =
it's currently<br class=3D"">possible to actually do that, though, so my =
recommendation is to leave this<br class=3D"">text unchanged.<br =
class=3D""><br class=3D""><blockquote type=3D"cite" class=3D"">OLD:<br =
class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This list is =
used to populate the<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;server_c=
ertificate_type extension in a Client Hello.<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Values =
that are present in at least one instance in the<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;certs =
object under dtls of a referenced dtls instance<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;and =
that have a non-empty private-key will be used to<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;populate=
 the client_certificate_type extension in a<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Client =
Hello.<br class=3D""><br class=3D"">NEW:<br class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This list =
could be used to populate the<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;server_c=
ertificate_type extension in a Client Hello.<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Values =
that are present in at least one instance in the<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;certs =
object under dtls of a referenced dtls instance<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;and =
that have a non-empty private-key will be used to<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;populate=
 the client_certificate_type extension in a<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Client =
Hello.<br class=3D""><br class=3D""><blockquote type=3D"cite" =
class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;container stats {<br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;config =
false;<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;description<br=
 class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"S=
tatistics collection object for this interface.";<br class=3D""><br =
class=3D"">Often, YANG models with such statistics containers will also =
include a<br class=3D"">leaf to indicate the "discontinuity time" at =
which the counters were<br class=3D"">last reset.<br =
class=3D""></blockquote><br class=3D"">Hmm. I wonder if that is not an =
implementation level detail.<br class=3D""></blockquote><br class=3D"">My =
understanding is that it is not typically treated as an =
implementation<br class=3D"">detail, but my understanding is just an =
inference based on seeing a number<br class=3D"">of YANG modules go by =
during my time as an AD. &nbsp;Rob Wilton might have a<br =
class=3D"">better sense, or we could ask a YANG doctor for help (or =
both).<br class=3D""></blockquote><br class=3D"">Ok. I have added a =
=E2=80=98discontinuity-counter=E2=80=99 from other YANG models, and is =
pretty much a cut-and-paste :-(. I imagine it is not controversial =
addition, but do want to inform the WG, here, about the addition.<br =
class=3D""><br class=3D""><blockquote type=3D"cite" class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D""><blockquote type=3D"cite" =
class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;leaf =
hello-mcast-history {<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ty=
pe string;<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;de=
scription<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;"The multicast Hello history of whether or not the<br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;multicast Hello packets prior to exp-mcast-<br class=3D"">=
 =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;hello-seqno were received, with a '1' for the most<br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;recent Hello placed in the most significant bit and<br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;prior Hellos shifted right (with '0' bits placed<br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;between prior Hellos and most recent Hello for any<br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;not-received Hellos); represented as a string using<br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;utf-8 encoded hex digits where a '1' bit =3D Hello<br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;received and a '0' bit =3D Hello not received.";<br =
class=3D""><br class=3D"">I'd consider adding a few more words to =
confirm that this is the hex<br class=3D"">representation of a bitstring =
(so, all hex digits are possible), not a<br class=3D"">string consisting =
of only '1' and '0' characters.<br class=3D"">(Likewise for =
hello-ucast-history.)<br class=3D""></blockquote><br class=3D"">But =
doesn=E2=80=99t the model already say that in the last sentence? If not, =
can you suggest text?<br class=3D""></blockquote><br class=3D"">I think =
you are correct that the model basically says that already. &nbsp;My<br =
class=3D"">concern was that since we use the quoted forms "'1' bit" and =
"'0' bit",<br class=3D"">someone might think that we are using only =
binary digits (which are, after<br class=3D"">all, a subset of hex =
digits) and write out a binary representation rather<br class=3D"">than =
a hex one. &nbsp;This is, admittedly, a little farfetched, but since =
I<br class=3D"">already opened the topic, my attempt at rewording would =
be "[...]<br class=3D"">represented as a string of utf-encoded hex =
digits. &nbsp;A bit that is set<br class=3D"">indicates that the =
corresponding Hello was received, and a bit that is<br class=3D"">cleared =
indicates that the corresponding Hello was not received".<br =
class=3D""></blockquote><br class=3D"">Ok. I have edited the text and it =
now reads as:<br class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;=E2=80=9C... represented as a string of<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;utf-8 encoded hex digits. A bit that is set indicates<br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;that the corresponding Hello was received, and a bit<br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;that is cleared indicates that the corresponding Hello<br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;was not received."<br class=3D""><br class=3D""><blockquote =
type=3D"cite" class=3D""><br class=3D""><blockquote type=3D"cite" =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;leaf =
exp-mcast-hello-seqno {<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ty=
pe uint16;<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;de=
fault "0";<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;de=
scription<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;"Expected multicast Hello sequence number of next Hello<br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;to be received from this neighbor; if multicast Hello<br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;packets are not expected, or processing of multicast<br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;packets is not enabled, this MUST be NULL.";<br =
class=3D""><br class=3D"">It's not really clear to me that assigning =
semantics to a NULL leaf<br class=3D"">makes sense when there is a =
default value for it (that has already<br class=3D"">assigned semantics =
to an absent leaf).<br class=3D"">(et seq)<br class=3D""></blockquote><br =
class=3D"">Ok. Will remove the default value.<br class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;leaf value =
{<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ty=
pe binary;<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ma=
ndatory true;<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;de=
scription<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;"The value of the MAC key. An implementation MUST NOT<br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;allow this parameter to be read. This can be done by<br =
class=3D""><br class=3D"">I believe that we can incorporate this =
restriction in the YANG itself<br class=3D"">with something like =
"nacm:default-deny-all".<br class=3D""></blockquote><br class=3D"">Ok. =
Will add 'nacm:default-deny-all' and drop the text =E2=80=9CAn =
implementation .. subsequently writeable=E2=80=9D.<br class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;de=
scription<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;"The name of the MAC algorithm used with this key. The<br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;value MUST be the same as one of the enumerations<br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;listed in the mac-algorithms parameter.";<br =
class=3D""><br class=3D"">It's now an identityref, not a name. =
&nbsp;Accordingly, there are also not<br class=3D"">any enumerations =
listed in the mac-algorithms parameter.<br class=3D""></blockquote><br =
class=3D"">How about this?<br class=3D""><br class=3D"">OLD:<br =
class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"T=
he name of the MAC algorithm used with this key. The<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;value MUST be the same as one of the enumerations<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;listed in the mac-algorithms parameter.=E2=80=9D;<br class=3D""><br =
class=3D"">NEW:<br class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"T=
he MAC algorithm used with this key. The<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;value MUST be one of the identities<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;listed with the base of 'mac-algorithms'.=E2=80=9D;<br class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;de=
scription<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;"The name of the certificate type of this object<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;instance. The value MUST be the same as one of the<br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;enumerations listed in the dtls-cert-types<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;parameter. This value can only be provided when this<br =
class=3D""><br class=3D"">Similarly, this is also identityref, and also =
has no enumerations listed<br class=3D"">in the dtls-cert-types =
parameter.<br class=3D""></blockquote><br class=3D"">How about this?<br =
class=3D""><br class=3D"">OLD:<br class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"T=
he name of the certificate type of this object<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;instance. The value MUST be the same as one of the<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;enumerations listed in the dtls-cert-types<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;parameter. <br class=3D""><br class=3D"">NEW:<br class=3D""><br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"T=
he certificate type of this object<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;instance. The value MUST be the same as one of the<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;identities listed with the base of 'dtls-cert-types'. <br =
class=3D""><br class=3D""><blockquote type=3D"cite" class=3D""><br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;leaf =
private-key {<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ty=
pe binary;<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ma=
ndatory true;<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;de=
scription<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;"The value of the private key. If this is non-empty,<br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;this certificate can be used by this implementation =
to<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;provide a certificate during DTLS handshaking. An<br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;implementation MUST NOT allow this parameter to be<br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;read. This can be done by always providing an empty<br =
class=3D""><br class=3D"">(nacm:default-deny-all could be useful here as =
well)<br class=3D""></blockquote><br class=3D"">Ok. Will add it and drop =
the appropriate text around it.<br class=3D""><br class=3D""><blockquote =
type=3D"cite" class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;string, or through permissions, or other means. This<br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;value can only be provided when this instance is<br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;created, and is not subsequently writable.";<br =
class=3D""><br class=3D"">It is perhaps a bit limiting to require the =
actual private key value to<br class=3D"">be supplied, since that would =
preclude the use of (e.g.) HSM-based<br class=3D"">private keys. =
&nbsp;But since we are basically inheriting from the<br =
class=3D"">information model here, I won't press it too hard.<br =
class=3D""><br class=3D"">Section 4<br class=3D""><br class=3D"">It =
might be worth referencing the security considerations of<br =
class=3D"">8966/8967/8968 as being applicable.<br =
class=3D""></blockquote><br class=3D"">I understand that the Babel =
protocol itself is a insecure protocol. But I am not clear on how that =
is applicable to the YANG model that is used to configure or read the =
*state* of the protocol (over a secure interface). How about we add =
this? Thanks to Barbara for providing the text.<br class=3D""><br =
class=3D"">"The security considerations outlined here are specific to =
the YANG data model, and do not cover security considerations of the =
Babel protocol or its security mechanisms [RFC8966][RFC8967][RFC8968]. =
Each of these have their own Security Considerations section for =
considerations that are specific to it."<br class=3D""></blockquote><br =
class=3D"">That looks wonderful; thank you!<br class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D""><blockquote type=3D"cite" =
class=3D""><br class=3D"">The security (privacy, really) considerations =
of RFC 7924 are also<br class=3D"">arguably relevant, relating to the =
use of the TLS "cached_info"<br class=3D"">extension.<br =
class=3D""></blockquote><br class=3D"">Isn=E2=80=99t this something that =
is relevant to RFC8968? The YANG model is merely allowing for the =
configuration of the capability specified in RFC8968. Shouldn=E2=80=99t =
any security considerations for =E2=80=9Ccached_info=E2=80=9D therefore =
be mentioned there?<br class=3D""></blockquote><br class=3D"">okay. =
&nbsp;My "arguably" was intended to imply "and also arguably not"<br =
class=3D""><br class=3D""><blockquote type=3D"cite" class=3D""><blockquote=
 type=3D"cite" class=3D""><br class=3D"">Are there any security and/or =
privacy considerations relating to the<br class=3D"">logging of babel =
packets?<br class=3D""></blockquote><br class=3D"">We say the following =
in the security considerations section.<br class=3D""><br class=3D""> =
&nbsp;'babel': Access to the information in the various nodes can =
disclose<br class=3D""> &nbsp;the network topology. &nbsp;Additionally, =
the routes used by a network<br class=3D""> &nbsp;device may be used to =
mount a subsequent attack on traffic traversing<br class=3D""> &nbsp;the =
network device.<br class=3D""></blockquote><br class=3D"">Hmm, my =
understanding was that the routes used by a given device are a<br =
class=3D"">function of the received packets but that the packets =
themselves can<br class=3D"">contain more information than just the =
routes currently used. &nbsp;If that's<br class=3D"">the case, then =
enabling a full packet log would disclose that "more<br =
class=3D"">information", but I don't know offhand exactly what that =
information is, I<br class=3D"">can't write good text to use here.<br =
class=3D""></blockquote><br class=3D"">Ok. How about if we add this in =
the config true section of the Security Considerations section?<br =
class=3D""><br class=3D"">=E2=80=98packet-log-enable=E2=80=99 and =
=E2=80=98packet-log=E2=80=99: Enabling the logging of packets and =
unintended access to the log files gives an attacker detailed knowledge =
of the network, and allow it to launch an attack on the traffic =
traversing the network device.<br class=3D""></blockquote><br =
class=3D"">That sounds good to me! &nbsp;I think that my delay in =
responding caused this to<br class=3D"">not be included in the -12, so =
hopefully it can still make it in.<br class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D""><blockquote=
 type=3D"cite" class=3D""><br class=3D""><blockquote type=3D"cite" =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D""> There =
are a number of data nodes defined in the YANG module which are<br =
class=3D""> writable/created/deleted (i.e., config true, which is the =
default).<br class=3D""><br class=3D"">I don't think =
"writable/created/deleted" is part of the template.<br =
class=3D""></blockquote><br class=3D"">Thanks to Barbara for digging =
this out:<br class=3D""><br class=3D""><a =
href=3D"https://datatracker.ietf.org/doc/html/rfc8407.html#section-3.7.1" =
class=3D"">https://datatracker.ietf.org/doc/html/rfc8407.html#section-3.7.=
1</a> &lt;<a =
href=3D"https://datatracker.ietf.org/doc/html/rfc8407.html#section-3.7.1" =
class=3D"">https://datatracker.ietf.org/doc/html/rfc8407.html#section-3.7.=
1</a>&gt;:<br class=3D""><br class=3D"">There are a number of data nodes =
defined in this YANG module that are<br =
class=3D"">writable/creatable/deletable<br class=3D""></blockquote><br =
class=3D"">My mistake, apologies for that.<br class=3D"">I think I =
typically use<br class=3D""><a =
href=3D"https://trac.ietf.org/trac/ops/wiki/yang-security-guidelines" =
class=3D"">https://trac.ietf.org/trac/ops/wiki/yang-security-guidelines</a=
> as the<br class=3D"">reference, but the phrase in question appears =
there as well.<br class=3D""><br class=3D""><blockquote type=3D"cite" =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D""> =
'babel/hmac' and 'babel/dtls': These contain security credentials<br =
class=3D""> that influence whether packets are trusted.<br class=3D""><br =
class=3D"">I'd consider making two separate (but related) points about =
controlling<br class=3D"">whether incoming packets are trusted, and =
whether outgoing packets are<br class=3D"">produced in a way such that =
the receiver will treat them as trusted.<br class=3D"">(Changing just =
the use-send/use-verify values can allow for a valid key<br class=3D"">to =
be misused, without changing the actual keys being used, which could<br =
class=3D"">present an interesting attack in some scenarios.)<br =
class=3D""></blockquote><br class=3D"">Ok. How about this? Thanks again =
to Barbara for providing the text.<br class=3D""><br class=3D""> =
=E2=80=9CThese contain security credentials<br class=3D""> that =
influence whether incoming packets are trusted, and whether outgoing =
packets are<br class=3D""> produced in a way such that the receiver will =
treat them as trusted.=E2=80=9D<br class=3D""><br class=3D""><blockquote =
type=3D"cite" class=3D""><br class=3D""> Some of the readable data or =
config false nodes in this YANG module<br class=3D""> may be considered =
sensitive or vulnerable in some network<br class=3D""> [...]<br =
class=3D""> 'babel/hmac' and 'babel/dtls': These contain security =
credentials,<br class=3D""> include private credentials of the =
router.<br class=3D""><br class=3D"">We do require the actual secret =
keys to not be readable, so we might<br class=3D"">consider phrasing =
this more as a reiteration of that requirement than a<br =
class=3D"">statement of risk if they are read out.<br =
class=3D""></blockquote><br class=3D"">How about this? Thanks =
Barbara.<br class=3D""><br class=3D""> &nbsp;'babel/hmac' and =
'babel/dtls': These contain security credentials,<br class=3D""> =
&nbsp;including private credentials of the router; however it is<br =
class=3D""> &nbsp;required that these values not be readable.<br =
class=3D""><br class=3D""><blockquote type=3D"cite" class=3D""><br =
class=3D""> Some of the RPC operations in this YANG module may be =
considered<br class=3D""> sensitive or vulnerable in some network =
environments. &nbsp;It is thus<br class=3D""> important to control =
access to these operations. &nbsp;These are the<br class=3D""> =
operations and their sensitivity/vulnerability from a RPC operation<br =
class=3D""> perspective:<br class=3D""><br class=3D""> This model does =
not define any RPC operations.<br class=3D""><br class=3D"">We do define =
a couple of actions, though, which are like RPCs except<br =
class=3D"">"[t]he difference between an action and an rpc is that an =
action is tied<br class=3D"">to a node in the datastore, whereas an rpc =
is not". &nbsp;This is perhaps an<br class=3D"">omission in the YANG =
security considerations template, but I don't think<br class=3D"">we =
should let that stop us from noting the actions we define are<br =
class=3D"">carefully designed to have minimal security impact and =
minimal<br class=3D"">side-channel leakage. &nbsp;(Well, I guess that's =
not hard for the<br class=3D"">stats-reset one, but for the MAC key test =
one it's quite important.)<br class=3D""></blockquote><br class=3D"">How =
about this?<br class=3D""><br class=3D"">OLD:<br class=3D""><br =
class=3D""> &nbsp;This model does not define any RPC operations.<br =
class=3D""><br class=3D"">NEW:<br class=3D""><br class=3D""> &nbsp;This =
model defines two actions, one of which<br class=3D""> &nbsp;allows for =
MAC key and MAC algorithm to be tested. <br class=3D""> &nbsp;It does =
not allows for them to be changed.<br class=3D""></blockquote><br =
class=3D"">That's an improvement, certainly. &nbsp;I would propose<br =
class=3D""><br class=3D"">NEW 2:<br class=3D""><br class=3D""> This =
model defines two actions. &nbsp;Resetting the statistics within an<br =
class=3D""> interface container would be visible to any monitoring =
processes, which<br class=3D""> should be designed to account for the =
possibility of such a reset.<br class=3D""> The "test" action allows for =
validation that a MAC key and MAC algorithm<br class=3D""> have been =
properly configured. &nbsp;The MAC key is a sensitive piece of<br =
class=3D""> information, and it is important to prevent an attacker that =
does not know<br class=3D""> the MAC key from being able to determine =
the MAC value of an<br class=3D""> attacker-influenced plaintext. =
&nbsp;The "test" action has been designed to<br class=3D""> not reveal =
such information directly. &nbsp;Such information might also be<br =
class=3D""> revealed indirectly, due to side channels such as the time =
it takes to<br class=3D""> produce a response to the action. =
&nbsp;Implementations SHOULD use a<br class=3D""> constant-time =
comparison between the input mac and the locally generated<br class=3D""> =
MAC value for comparison, in order to avoid such side channel =
leakage.<br class=3D""></blockquote><br class=3D"">I am fine with this =
proposed text.<br class=3D""><br class=3D""><blockquote type=3D"cite" =
class=3D""><br class=3D""><blockquote type=3D"cite" class=3D""><blockquote=
 type=3D"cite" class=3D""><br class=3D"">Section 6.1<br class=3D""><br =
class=3D"">I don't have a great sense for why RFC 4868 needs to be =
normative.<br class=3D""></blockquote><br class=3D"">RFC 4868 is cited =
as a reference in the YANG model, which is normative.<br class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D"">RFC 8968 =
seems missing as a listed reference at all (which would of<br =
class=3D"">course need to be normative as 8967 is).<br =
class=3D""></blockquote><br class=3D"">Agreed.<br class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D"">Section =
6.2<br class=3D""><br class=3D"">I think RFC 7693 should be normative, =
since you need it in order to do<br class=3D"">the blake2 stuff.<br =
class=3D""></blockquote><br class=3D"">Ok. Will move it to normative =
section.<br class=3D""><br class=3D""><blockquote type=3D"cite" =
class=3D""><br class=3D"">RFC 8341 might become normative if we add =
nacm:default-deny-all stanzas.<br class=3D""></blockquote><br =
class=3D"">Agreed.<br class=3D""><br class=3D""><blockquote type=3D"cite" =
class=3D""><br class=3D"">NITS<br class=3D""><br class=3D"">The tree =
diagram and the prose use different orders for the various<br =
class=3D"">child elements, which is a little distracting.<br =
class=3D""></blockquote><br class=3D"">Ok. Will fix the order.<br =
class=3D""><br class=3D""><blockquote type=3D"cite" class=3D""><br =
class=3D"">Section 1<br class=3D""><br class=3D""> [RFC8966]. &nbsp;The =
data model is defined using YANG 1.1 [RFC7950] data<br class=3D""> =
modeling language and is Network Management Datastore Architecture<br =
class=3D""><br class=3D"">"the YANG [data modeling language]"<br =
class=3D""></blockquote><br class=3D""><blockquote type=3D"cite" =
class=3D""><br class=3D"">Section 2.1<br class=3D""><br class=3D""> =
Information Model and this data module. &nbsp;The information model<br =
class=3D""> mandates the definition of some of the attributes, e.g. =
&nbsp;'babel-<br class=3D""><br class=3D"">comma after "e.g." (as well =
as before). &nbsp;(I'll try to only note it once,<br class=3D"">though =
it appears many times.) &nbsp;Likewise for "i.e."<br =
class=3D""></blockquote><br class=3D""><blockquote type=3D"cite" =
class=3D""><br class=3D"">Section 2.2<br class=3D""><br class=3D""> In =
addition to information like the version number implemented by<br =
class=3D""> this device, the model contains subtrees on 'constants',<br =
class=3D""><br class=3D"">The actual data model (and the information =
model, for that matter) show<br class=3D"">that the 'version' leaf =
contains "the name and version of this<br class=3D"">implementation of =
the Babel protocol". &nbsp;The text here suggests that it<br =
class=3D"">contains the protocol version number implemented by the =
device, which is<br class=3D"">different. &nbsp;So I'd suggest "the =
implementation and version used by this<br class=3D"">device" =
instead.<br class=3D""></blockquote><br class=3D""><blockquote =
type=3D"cite" class=3D""><br class=3D""> The 'interfaces' subtree =
describes attributes such as 'interface'<br class=3D""> object that is =
being referenced, the type of link, e.g. wired,<br class=3D""><br =
class=3D"">"the 'interface'"<br class=3D""></blockquote><br class=3D"">Ok =
to the above suggested changes.<br class=3D""><br class=3D""><blockquote =
type=3D"cite" class=3D""><br class=3D""> wireless or tunnel, as =
enumerated by 'metric-algorithm' and 'split-<br class=3D""> horizon' and =
whether the interface is enabled or not.<br class=3D""><br class=3D"">I =
suggest using semicolons for the outer layer of grouping, to avoid<br =
class=3D"">overloading commas for different hierarchies of =
separation.<br class=3D""></blockquote><br class=3D"">Something like =
this?<br class=3D""><br class=3D"">OLD:<br class=3D""><br class=3D""> =
&nbsp;The 'interfaces' subtree describes attributes such as =
'interface'<br class=3D""> &nbsp;object that is being referenced, the =
type of link, e.g. wired,<br class=3D""> &nbsp;wireless or tunnel, as =
enumerated by 'metric-algorithm' and 'split-<br class=3D""> =
&nbsp;horizon' and whether the interface is enabled or not.<br =
class=3D""><br class=3D"">NEW:<br class=3D""><br class=3D""> &nbsp;The =
'interfaces' subtree describes attributes such as 'interface'<br =
class=3D""> &nbsp;object that is being referenced, the type of link, =
e.g., wired,<br class=3D""> &nbsp;wireless or tunnel; as enumerated by =
'metric-algorithm' and 'split-<br class=3D""> &nbsp;horizon=E2=80=99; =
and whether the interface is enabled or not.<br =
class=3D""></blockquote><br class=3D"">When I was reading it, my =
expectation was something like<br class=3D""><br class=3D"">NEW 2:<br =
class=3D""><br class=3D""> &nbsp;The 'interfaces' subtree describes =
attributes such as the 'interface'<br class=3D""> &nbsp;object that is =
being referenced; the type of link, e.g., wired,<br class=3D""> =
&nbsp;wireless or tunnel, as enumerated by 'metric-algorithm' and =
'split-<br class=3D""> &nbsp;horizon=E2=80=99; and whether the interface =
is enabled or not.<br class=3D""><br class=3D"">but I trust your =
understanding of how the technology works more than my<br =
class=3D"">understanding!<br class=3D""></blockquote><br class=3D"">As I =
understand it, the interface can be described as being either =E2=80=98wir=
ed', =E2=80=98wireless' or =E2=80=98tunnel'. It can be further described =
by setting values of =E2=80=98metric-algorithm=E2=80=99 and =
=E2=80=99split-horizon=E2=80=99. Finally, the interface can be enabled =
or disabled. So I would suggest one small change to your NEW 2.<br =
class=3D""><br class=3D"">NEW 3:<br class=3D""><br class=3D""> &nbsp;The =
'interfaces' subtree describes attributes such as the 'interface'<br =
class=3D""> &nbsp;object that is being referenced; the type of link, =
e.g., wired,<br class=3D""> &nbsp;wireless or tunnel; it is enumerated =
by 'metric-algorithm' and 'split-<br class=3D""> &nbsp;horizon=E2=80=99; =
and whether the interface is enabled or not.<br =
class=3D""></blockquote><br class=3D"">Ah, that makes perfect sense. =
&nbsp;I expect the RFC Editor will suggest some<br class=3D"">additional =
wording tweaks (to make the structure of the elements of the<br =
class=3D"">list "parallel"), but am happy to leave the polishing to =
them.<br class=3D""><br class=3D"">Thanks again,<br class=3D""><br =
class=3D"">Ben<br class=3D""><br class=3D""><blockquote type=3D"cite" =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D""><blockquote=
 type=3D"cite" class=3D""><br class=3D""><blockquote type=3D"cite" =
class=3D""><br class=3D""> Finally, for security two subtree are defined =
to contain MAC keys and<br class=3D""> DTLS certificates. &nbsp;The =
'mac-key-set' subtree contains keys used with<br class=3D""><br =
class=3D"">"subtrees"<br class=3D""></blockquote><br =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D""> =
interfaces. &nbsp;The dtls subtree contains certificates used with =
DTLS<br class=3D""><br class=3D"">single quotes for 'dtls'.<br =
class=3D"">"the DTLS"<br class=3D""></blockquote><br =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D"">Section =
2.3<br class=3D""><br class=3D""> Similarly, an interface that is a =
metered 3G link, and used for<br class=3D""> fallback connectivity needs =
much higher default time constants, e.g.<br class=3D""><br =
class=3D"">Comma after "connectivity".<br class=3D""></blockquote><br =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D""> HMAC: =
Keyed-Hashing for Message Authentication [RFC2104], Using<br class=3D""> =
HMAC-SHA-256, HMAC-SHA-384, and HMAC-SHA-512 [RFC4868], Datagram<br =
class=3D""><br class=3D"">The "with IPsec" part of RFC 4868's title =
seems to have been dropped.<br class=3D""></blockquote><br class=3D"">Ok =
to the above suggested changes.<br class=3D""><br class=3D""><blockquote =
type=3D"cite" class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"This implementation supports =
two-out-of-three metric<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;comp algorithm.";<br =
class=3D""><br class=3D"">"the two-out-of-three".<br class=3D"">Also, do =
we really need to (silently) abbreviate "metric computation"<br =
class=3D"">(multiple occurrences)?<br class=3D""></blockquote><br =
class=3D"">Should be:<br class=3D""><br class=3D"">=E2=80=9Cthe =
=E2=80=99two-out-of-three=E2=80=99=E2=80=9D. <br class=3D""><br =
class=3D"">Will fix metric comp occurrences.<br class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"This implementation supports =
Expected Transmission Count<br class=3D""><br class=3D"">"the =
Expected"<br class=3D""></blockquote><br class=3D"">Ok.<br class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"This implementation supports =
hmac-sha256 MAC algorithm.";<br class=3D""><br class=3D"">"the =
hmac-sha256"<br class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"This implementation supports x-509 =
certificate type.";<br class=3D""><br class=3D"">"the X.509"<br =
class=3D""></blockquote><br class=3D"">Ok to both.<br class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"This implementation supports =
raw-public-key certificate<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type.";<br class=3D""><br =
class=3D"">Missing article, per the theme, but I think it would also be =
more<br class=3D"">conventional to spell the name as "RawPublicKey".<br =
class=3D""></blockquote><br class=3D"">Ok. That was done to be =
consistent with the IM.<br class=3D""><br class=3D""><blockquote =
type=3D"cite" class=3D""><br class=3D""> &nbsp;&nbsp;&nbsp;&nbsp;base =
metric-comp-algorithms;<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;if-feature "etx-supported";<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;description<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Expected Transmission Count.";<br =
class=3D""></blockquote><br class=3D""><blockquote type=3D"cite" =
class=3D""><br class=3D"">I'd put an "algorithm" in here somewhere<br =
class=3D""></blockquote><br class=3D""><br class=3D"">How about:<br =
class=3D""><br class=3D"">=E2=80=9CExpected Transmission Count (ETX) =
metric compilation algorithm.=E2=80=9D<br class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"BLAKE2s algorithms supported. =
Specifically, BLAKE2-128 is<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;supported.";<br class=3D""><br =
class=3D"">I'd just say "BLAKE2-128 algorithm supported."<br =
class=3D""></blockquote><br class=3D"">Then shouldn=E2=80=99t the =
feature say<br class=3D""><br class=3D"">feature =
blake2-128-supported?<br class=3D""></blockquote><br class=3D"">My =
understanding of the nit (if any) here was about "algorithms" (plural) =
vs<br class=3D"">"algorithm" (singular), since this is a single YANG =
identity that can only<br class=3D"">have a single semantic. &nbsp;So, =
we could choose to make it be "indicates that<br class=3D"">BLAKE2-128 =
and BLAKE2-256 are both supported" or just "indicates that<br =
class=3D"">BLAKE2-128 is supported". &nbsp;Given the second sentence, my =
understanding is<br class=3D"">that this particular YANG identity =
indicates that BLAKE2-128 is supported,<br class=3D"">even if the =
feature "blake2s-supported" might in the future indicate<br =
class=3D"">whether some other blake2s variant is supported in addition =
to this one.<br class=3D"">If this YANG identity only indicates that a =
single algorithm is supported,<br class=3D"">I don't think the plural =
"algorithms" adds much value, and once that part<br class=3D"">is gone =
then the value of the first sentence comes into question as well.<br =
class=3D""></blockquote><br class=3D"">My intent of naming the feature =
=E2=80=98blake2-supported=E2=80=99 was to include *all* BLAKE2 =
algorithms, even if there is support only for BLAKE2-128. I can drop the =
second sentence in the description to just say:<br class=3D""><br =
class=3D""> "This implementation supports all blake2s MAC =
algorithms.=E2=80=9D;<br class=3D""><br class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D""><blockquote=
 type=3D"cite" class=3D""><blockquote type=3D"cite" class=3D""><br =
class=3D""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Raw Public Key =
type.";<br class=3D""><br class=3D"">"certificate type"<br =
class=3D""></blockquote><br class=3D""><blockquote type=3D"cite" =
class=3D""><br class=3D""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;leaf =
router-id {<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type binary;<br =
class=3D""><br class=3D"">(If length constraint is applied earlier, it =
should apply here as well.)<br class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"Indicates =
whether statistics collection is enabled (true)<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;or =
disabled (false) on all interfaces. When enabled,<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;existing=
 statistics values are not cleared and will be<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;incremen=
ted as new packets are counted.";<br class=3D""><br class=3D"">I suggest =
"on transition to enabled".<br class=3D"">(Also, thank you for clearly =
spelling out which behaviors true/false map<br class=3D"">to!)<br =
class=3D""></blockquote><br class=3D""><blockquote type=3D"cite" =
class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;A value of true indicates split horizon optimization<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;is used.";<br class=3D"">"the split"<br class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"L=
ist of references to the mac entries that apply<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;to this interface. When an interface instance is<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;created, all mac instances with default-apply 'true'<br class=3D""><br=
 class=3D"">s/mac/MAC/ (twice)<br class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"I=
ndicates whether the cached_info extension is included<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;in ClientHello and ServerHello packets. The extension<br =
class=3D""><br class=3D"">s/packets/messages/.<br =
class=3D""></blockquote><br class=3D"">Ok to the above suggested =
changes.<br class=3D""><br class=3D""><blockquote type=3D"cite" =
class=3D"">Also, it's conventional to refer to TLS extension names =
enclosed by<br class=3D"">double quotes, but I guess in the context of a =
YANG leaf description<br class=3D"">that's not really feasible.<br =
class=3D""></blockquote><br class=3D"">Correct.<br class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;dtls-cert-types. This list is used to populate the<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;server_certificate_type extension in a Client Hello.<br class=3D""><br=
 class=3D"">s/Client Hello/ClientHello/.<br class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;list mac-key-set {<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;key "name";<br =
class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;description<br class=3D"">=
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"A mac key =
set object. If this object is implemented, it<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;provides=
 access to parameters related to the MAC security<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mechanis=
m.";<br class=3D""><br class=3D"">s/mac/MAC/<br class=3D""><br class=3D"">=
 =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"A=
 string that uniquely identifies the mac object.";<br class=3D""><br =
class=3D"">s/mac/MAC key/<br class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;If 'true', this instance is applied to new babel-<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;interfaces instances at the time they are created,<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;by including it in the mac-key-sets list under<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;interfaces. If 'false', this instance is not applied<br class=3D""><br=
 class=3D"">s/under interfaces/under the interface/<br class=3D""><br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;to new interfaces instances when they are created.";<br class=3D""><br=
 class=3D"">s/interfaces/interface/<br class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;If 'true', this instance is applied to new interfaces<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;instances at the time they are created, by including it<br class=3D"">=
 =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;in the dtls-certs list under interfaces. If 'false',<br class=3D""><br=
 class=3D"">s/under interfaces/under the interface/<br class=3D""><br =
class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;this instance is not applied to new interfaces<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;instances when they are created.";<br class=3D""><br =
class=3D"">s/interfaces/interface/<br class=3D""></blockquote><br =
class=3D"">Ok to make the above suggested changes.<br class=3D""><br =
class=3D"">Thanks again for a detailed review!<br =
class=3D""></blockquote><br class=3D"">And thank you for the detailed =
responses and updates; as I noted in the<br class=3D"">preface, the ones =
I did not reply to all look good!<br class=3D""><br class=3D"">My =
apologies once more for the slow response time,<br class=3D""><br =
class=3D"">Ben<br class=3D""></blockquote><br class=3D"">Mahesh =
Jethanandani<br class=3D""><a href=3D"mailto:mjethanandani@gmail.com" =
class=3D"">mjethanandani@gmail.com</a><br class=3D""><br class=3D""><br =
class=3D""><br class=3D""><br class=3D""><br =
class=3D""></blockquote></div></div></blockquote></div><br class=3D""><div=
 class=3D"">
<div dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, =
0); letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D""><div style=3D"color: rgb(0, 0, 0); letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D""><div class=3D"">Mahesh Jethanandani</div><div class=3D""><a =
href=3D"mailto:mjethanandani@gmail.com" =
class=3D"">mjethanandani@gmail.com</a></div><div class=3D""><br =
class=3D""></div></div><br class=3D"Apple-interchange-newline"></div><br =
class=3D"Apple-interchange-newline"><br =
class=3D"Apple-interchange-newline">
</div>
<br class=3D""></div></body></html>=

--Apple-Mail=_A14E468C-8861-4337-BF3E-D123CF30619A--


From nobody Mon Sep 20 13:28:43 2021
Return-Path: <iesg-secretary@ietf.org>
X-Original-To: babel@ietf.org
Delivered-To: babel@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 83AB43A136F; Mon, 20 Sep 2021 13:28:21 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: The IESG <iesg-secretary@ietf.org>
To: "IETF-Announce" <ietf-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 7.38.0
Auto-Submitted: auto-generated
Precedence: bulk
Cc: Donald Eastlake <d3e3e3@gmail.com>, The IESG <iesg@ietf.org>, babel-chairs@ietf.org, babel@ietf.org, d3e3e3@gmail.com, draft-ietf-babel-yang-model@ietf.org, martin.vigoureux@nokia.com, rfc-editor@rfc-editor.org
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Message-ID: <163216970148.32686.1279196414146795726@ietfa.amsl.com>
Date: Mon, 20 Sep 2021 13:28:21 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/tLdLByFCr9sJO5GdVmFPr0Xvj_g>
Subject: [babel] Protocol Action: 'YANG Data Model for Babel' to Proposed Standard (draft-ietf-babel-yang-model-13.txt)
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Sep 2021 20:28:22 -0000

The IESG has approved the following document:
- 'YANG Data Model for Babel'
  (draft-ietf-babel-yang-model-13.txt) as Proposed Standard

This document is the product of the Babel routing protocol Working Group.

The IESG contact persons are Alvaro Retana, John Scudder and Martin Vigoureux.

A URL of this Internet Draft is:
https://datatracker.ietf.org/doc/draft-ietf-babel-yang-model/





Technical Summary

   This document defines a data model for the Babel routing protocol.
   The data model is defined using the YANG data modeling language.

Working Group Summary

   This YANG model is based on the Babel RFCs (the Base Protocol RFC
   8966 and security protcols RFCs 8967 and 8968) and the Babel
   information model (draft-ietf-babel-information-model which is in
   the RFC Editor's queue). This draft was originally last called in
   November of 2019 and approved based on the mailing list support and
   November IETF meeting discussion:
   https://mailarchive.ietf.org/arch/msg/babel/QGxLY-QsKnQClovMqi2eVVCbIjo/
   However, shortly thereafter some questions arose on the information
   and YANG models. These were discussed over the ensuing months with
   the conclusion that no significant YANG changes were required. A
   confirmatory WG LC extension was issued resulting in further support
   and no opposition so consensus was confirmed as follows:
   https://mailarchive.ietf.org/arch/msg/babel/51ghA03etPG9UdbtSeghPDVR2qk/

Document Quality

   The document is of good quality. An early YANG doctor review was
   done and the comments were resolved:
   https://mailarchive.ietf.org/arch/msg/babel/5CVaLWJegUC5nrN50E-2CNM1n60/
   Routing and Security Directorate reviews have found the draft Ready.

Personnel

   Document Shepherd: Donald Eastlake
   Area Director: Martin Vigoureux


From nobody Mon Sep 20 14:41:01 2021
Return-Path: <d3e3e3@gmail.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 873543A080B; Mon, 20 Sep 2021 14:40:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.847
X-Spam-Level: 
X-Spam-Status: No, score=-1.847 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=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 (2048-bit key) header.d=gmail.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 T0epJnVg8F1V; Mon, 20 Sep 2021 14:40:53 -0700 (PDT)
Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4C8EF3A0805; Mon, 20 Sep 2021 14:40:53 -0700 (PDT)
Received: by mail-il1-x136.google.com with SMTP id b15so20374874ils.10; Mon, 20 Sep 2021 14:40:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dsuDvkW/iOSRgeTPG7ei5RS+mEiGiM1WemrA1I3ejiI=; b=DORm/oX6UpqBPodS+D+6RFzuBOf2aFDqer2WZD6VPvOpf4+25h9oBfiYipoWCaAcMU WNXQ6UdflOrgpj8XTyrQcD/PMjsSNDhP7gJsW20/+wK/ipMn6ubQrFWlx74yXeDKKs33 KuiNLdajCagODTcTqSIiEh5WToBqyftsBu2JCK1gG8e1RYwrK8k5iIvGGHaHqVBqUUr8 3ZN6qPX5pupVS32xxrk7byAosoe5m+/ZckmLI5u4WAvRSY+6WEDOCL2MLOV3+Mbopx4T /tTqxXjCw2uaYFxR7QzciefZuI18qtiJzQwrLaOMn+TuXXb5UjyVX4JrSMn/yCCGiZFr Z+fQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dsuDvkW/iOSRgeTPG7ei5RS+mEiGiM1WemrA1I3ejiI=; b=Q/2MixuY8ooH4seiZ9MRIM7Dr9d5O3AACJh5TdhH0GWldAP9Z1v55haaJeHSXHhQYF OuiKijHLmnBGv0qcGdRY/2mPz5zGjSYw3hc5aImyTY0zGkGtL8eBUDVn1Lekvy2qAk/u 1jehioL5NuHnhJn/ZYGZ8KCVemwv+KsQ+roM5PPgvNMbqNE6W32/G+OOZayhTkh59XeD 0CNNUw+w22s0bgRJDOvGVLHACPsx7RFKMFOs4m9QqOpAGd+mt3ePP3H7mqswQ5OcJvZN MJsPXZd8BhJmtpEEmCvWj+GP7wjMvFDto7vnCWMLynjwlpZnh3Zld3BvMbDofUmYHbn8 vgZA==
X-Gm-Message-State: AOAM533Rt3wvFkTMH4HuE50/YxgPlUAOk0Qoxcu0p7mcGIQluvIrT8tj 5JoiQTGYIErIGY2khLFI7niT15Sq4koRO9nhQc5buQJT
X-Google-Smtp-Source: ABdhPJwA3mMtM44qgnoXtQ94/+aM2XI5j0HwZhXSEWHvrBGq9v3yYMgmOiLUPNSXrK0woWis8CHjtYD9EJN//55+6BQ=
X-Received: by 2002:a05:6e02:1341:: with SMTP id k1mr18942113ilr.322.1632174052342;  Mon, 20 Sep 2021 14:40:52 -0700 (PDT)
MIME-Version: 1.0
References: <163216970148.32686.1279196414146795726@ietfa.amsl.com>
In-Reply-To: <163216970148.32686.1279196414146795726@ietfa.amsl.com>
From: Donald Eastlake <d3e3e3@gmail.com>
Date: Mon, 20 Sep 2021 17:40:41 -0400
Message-ID: <CAF4+nEH_D8tVo7179yGsZbeFotVbZLiBzCc_n3phmL5PJ=C3Sg@mail.gmail.com>
To: Babel at IETF <babel@ietf.org>
Cc: babel-chairs <babel-chairs@ietf.org>, draft-ietf-babel-yang-model@ietf.org, Martin Vigoureux <martin.vigoureux@nokia.com>
Content-Type: multipart/alternative; boundary="0000000000009a070005cc7422f6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/Hgs2RIj9_lGKwTQq5spaKNA8AF8>
Subject: Re: [babel] Protocol Action: 'YANG Data Model for Babel' to Proposed Standard (draft-ietf-babel-yang-model-13.txt)
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Sep 2021 21:40:59 -0000

--0000000000009a070005cc7422f6
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Congratulations to Mahesh and Barbara on getting this through the IESG. =E2=
=98=BA

Thanks,
Donald
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D
 Donald E. Eastlake 3rd   +1-508-333-2270 (cell)
 2386 Panoramic Circle, Apopka, FL 32703 USA
 d3e3e3@gmail.com


On Mon, Sep 20, 2021 at 4:28 PM The IESG <iesg-secretary@ietf.org> wrote:

> The IESG has approved the following document:
> - 'YANG Data Model for Babel'
>   (draft-ietf-babel-yang-model-13.txt) as Proposed Standard
>
> This document is the product of the Babel routing protocol Working Group.
>
> The IESG contact persons are Alvaro Retana, John Scudder and Martin
> Vigoureux.
>
> A URL of this Internet Draft is:
> https://datatracker.ietf.org/doc/draft-ietf-babel-yang-model/
>
>
>
>
>
> Technical Summary
>
>    This document defines a data model for the Babel routing protocol.
>    The data model is defined using the YANG data modeling language.
>
> Working Group Summary
>
>    This YANG model is based on the Babel RFCs (the Base Protocol RFC
>    8966 and security protcols RFCs 8967 and 8968) and the Babel
>    information model (draft-ietf-babel-information-model which is in
>    the RFC Editor's queue). This draft was originally last called in
>    November of 2019 and approved based on the mailing list support and
>    November IETF meeting discussion:
>
> https://mailarchive.ietf.org/arch/msg/babel/QGxLY-QsKnQClovMqi2eVVCbIjo/
>    However, shortly thereafter some questions arose on the information
>    and YANG models. These were discussed over the ensuing months with
>    the conclusion that no significant YANG changes were required. A
>    confirmatory WG LC extension was issued resulting in further support
>    and no opposition so consensus was confirmed as follows:
>
> https://mailarchive.ietf.org/arch/msg/babel/51ghA03etPG9UdbtSeghPDVR2qk/
>
> Document Quality
>
>    The document is of good quality. An early YANG doctor review was
>    done and the comments were resolved:
>
> https://mailarchive.ietf.org/arch/msg/babel/5CVaLWJegUC5nrN50E-2CNM1n60/
>    Routing and Security Directorate reviews have found the draft Ready.
>
> Personnel
>
>    Document Shepherd: Donald Eastlake
>    Area Director: Martin Vigoureux
>

--0000000000009a070005cc7422f6
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Congratulations to Mahesh and Barbara on getting this thro=
ugh the IESG.=C2=A0=E2=98=BA<div><br clear=3D"all"><div><div dir=3D"ltr" cl=
ass=3D"gmail_signature" data-smartmail=3D"gmail_signature">Thanks,<br>Donal=
d<br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D<br>=C2=A0Donald E. Eastlake 3rd =C2=A0 +1-508-333-=
2270 (cell)<br>=C2=A02386 Panoramic Circle, Apopka, FL 32703 USA<br>=C2=A0<=
a href=3D"mailto:d3e3e3@gmail.com" target=3D"_blank">d3e3e3@gmail.com</a></=
div></div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" c=
lass=3D"gmail_attr">On Mon, Sep 20, 2021 at 4:28 PM The IESG &lt;<a href=3D=
"mailto:iesg-secretary@ietf.org">iesg-secretary@ietf.org</a>&gt; wrote:<br>=
</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;b=
order-left:1px solid rgb(204,204,204);padding-left:1ex">The IESG has approv=
ed the following document:<br>
- &#39;YANG Data Model for Babel&#39;<br>
=C2=A0 (draft-ietf-babel-yang-model-13.txt) as Proposed Standard<br>
<br>
This document is the product of the Babel routing protocol Working Group.<b=
r>
<br>
The IESG contact persons are Alvaro Retana, John Scudder and Martin Vigoure=
ux.<br>
<br>
A URL of this Internet Draft is:<br>
<a href=3D"https://datatracker.ietf.org/doc/draft-ietf-babel-yang-model/" r=
el=3D"noreferrer" target=3D"_blank">https://datatracker.ietf.org/doc/draft-=
ietf-babel-yang-model/</a><br>
<br>
<br>
<br>
<br>
<br>
Technical Summary<br>
<br>
=C2=A0 =C2=A0This document defines a data model for the Babel routing proto=
col.<br>
=C2=A0 =C2=A0The data model is defined using the YANG data modeling languag=
e.<br>
<br>
Working Group Summary<br>
<br>
=C2=A0 =C2=A0This YANG model is based on the Babel RFCs (the Base Protocol =
RFC<br>
=C2=A0 =C2=A08966 and security protcols RFCs 8967 and 8968) and the Babel<b=
r>
=C2=A0 =C2=A0information model (draft-ietf-babel-information-model which is=
 in<br>
=C2=A0 =C2=A0the RFC Editor&#39;s queue). This draft was originally last ca=
lled in<br>
=C2=A0 =C2=A0November of 2019 and approved based on the mailing list suppor=
t and<br>
=C2=A0 =C2=A0November IETF meeting discussion:<br>
=C2=A0 =C2=A0<a href=3D"https://mailarchive.ietf.org/arch/msg/babel/QGxLY-Q=
sKnQClovMqi2eVVCbIjo/" rel=3D"noreferrer" target=3D"_blank">https://mailarc=
hive.ietf.org/arch/msg/babel/QGxLY-QsKnQClovMqi2eVVCbIjo/</a><br>
=C2=A0 =C2=A0However, shortly thereafter some questions arose on the inform=
ation<br>
=C2=A0 =C2=A0and YANG models. These were discussed over the ensuing months =
with<br>
=C2=A0 =C2=A0the conclusion that no significant YANG changes were required.=
 A<br>
=C2=A0 =C2=A0confirmatory WG LC extension was issued resulting in further s=
upport<br>
=C2=A0 =C2=A0and no opposition so consensus was confirmed as follows:<br>
=C2=A0 =C2=A0<a href=3D"https://mailarchive.ietf.org/arch/msg/babel/51ghA03=
etPG9UdbtSeghPDVR2qk/" rel=3D"noreferrer" target=3D"_blank">https://mailarc=
hive.ietf.org/arch/msg/babel/51ghA03etPG9UdbtSeghPDVR2qk/</a><br>
<br>
Document Quality<br>
<br>
=C2=A0 =C2=A0The document is of good quality. An early YANG doctor review w=
as<br>
=C2=A0 =C2=A0done and the comments were resolved:<br>
=C2=A0 =C2=A0<a href=3D"https://mailarchive.ietf.org/arch/msg/babel/5CVaLWJ=
egUC5nrN50E-2CNM1n60/" rel=3D"noreferrer" target=3D"_blank">https://mailarc=
hive.ietf.org/arch/msg/babel/5CVaLWJegUC5nrN50E-2CNM1n60/</a><br>
=C2=A0 =C2=A0Routing and Security Directorate reviews have found the draft =
Ready.<br>
<br>
Personnel<br>
<br>
=C2=A0 =C2=A0Document Shepherd: Donald Eastlake<br>
=C2=A0 =C2=A0Area Director: Martin Vigoureux<br>
</blockquote></div>

--0000000000009a070005cc7422f6--


From nobody Mon Sep 27 09:21:12 2021
Return-Path: <jason.sterne@nokia.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3EEDC3A0824; Mon, 27 Sep 2021 09:21:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.353
X-Spam-Level: 
X-Spam-Status: No, score=-2.353 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.452, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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=nokia.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 ZfXm8u9xFgiH; Mon, 27 Sep 2021 09:20:59 -0700 (PDT)
Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2102.outbound.protection.outlook.com [40.107.92.102]) (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 46FD63A082C; Mon, 27 Sep 2021 09:20:59 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GJ/vd4JVhg5gkq6rTy201IYiYrKHYI2U+YYCXE4NDiNO+ZUoXK2Kz0rNunKB39cXbYnFLSGO1MH7XeXXO+M+gfervWs81m8jjtKpqYUb7z2bvYVda4SGLK0gmoUBVePXZPftXo1jrVL7ixrBwDNPW99DOEPPvQVeL5SX5pQpSpHv7VE6Ig7Ap0MU5K6FbqzCXDtTT3KPMyBgkMnoNpNXzN1107jiKuWfpp4MKtURYog34jeZqNSu+BDBDitUnsCBipeCVqHCTl7iUM6TeOynKQD2GquKkAsrrkshUBXdKf5O53K/oJ40ObPpeHvU5sYx4DspewEggsZIw2KoAjLIAA==
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;  bh=QeyUJVBwhprgH2QIanMhXF79vo8IRzTp6+FiXE6W14I=; b=Tu99Giw2S0Dx2y0viM7K+eY2/3VoMeFHv2NPa+Unajh0xXh2S0/IMyXxLumflQ+zRRX81FkyJ5HK+YSbWlumagc7HIGnGWQQmo6xj/YY+w2v+tf9hCCn8w7aoXdZahCHwWFuOmJyQFe4xUir1q+Ue4IxagTQLg4grYhh+rS3qHnzCthE2GPzVJu10uohdjszo5YP85Mb7owf3/uiFWBI7S6e/y2+ijc1g2fhVUFKbKPqdYegchuwGHhU1s8jj/q+R/0GnBGmjzT9vT/VV1EVw6y0YvJZUJschqMHyAB9hlZx2dMyPd99HGn8KkVis6uoP2hCb7UleOFlyEMOB0bbDg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nokia.com; dmarc=pass action=none header.from=nokia.com; dkim=pass header.d=nokia.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com;  s=selector1-nokia-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QeyUJVBwhprgH2QIanMhXF79vo8IRzTp6+FiXE6W14I=; b=jb68AG2CkFrG48Of9DqFhpsbaMDcRz7fKYyaXlJGcdegSF2dgSwHJmQZZrWfhz1VxkhbhL3gGh1lid55H9ITs2lnbU44lVqAX6AUmZ2Mt4v9FICZCO7UtfGSWoA6EOTHd4lh0k3BYzcMyF6Ls18xpGIizA9gbCxZIe1OhdYZy+Y=
Received: from DM6PR08MB5084.namprd08.prod.outlook.com (2603:10b6:5:41::29) by DM6PR08MB5707.namprd08.prod.outlook.com (2603:10b6:5:178::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.16; Mon, 27 Sep 2021 16:20:56 +0000
Received: from DM6PR08MB5084.namprd08.prod.outlook.com ([fe80::34fb:92d2:cb94:e3be]) by DM6PR08MB5084.namprd08.prod.outlook.com ([fe80::34fb:92d2:cb94:e3be%7]) with mapi id 15.20.4544.021; Mon, 27 Sep 2021 16:20:56 +0000
From: "Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com>
To: "STARK, BARBARA H" <bs7652@att.com>, 'tom petch' <ietfc@btconnect.com>, 'Juergen Schoenwaelder' <j.schoenwaelder@jacobs-university.de>, 'Mahesh Jethanandani' <mjethanandani@gmail.com>
CC: 'Babel at IETF' <babel@ietf.org>, "'netmod@ietf.org'" <netmod@ietf.org>
Thread-Topic: [netmod] [babel]  NULL value for uint16
Thread-Index: AQHXqUiEDT1SO2+3HkGPUisDdYR4/6ujfOXQgBSmHxA=
Date: Mon, 27 Sep 2021 16:20:56 +0000
Message-ID: <DM6PR08MB50843AF5FA63086F51799F189BA79@DM6PR08MB5084.namprd08.prod.outlook.com>
References: <AM7PR07MB624802516EFB174B6912C5DAA0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <20210910121430.kofyvd2q3ludm2pk@anna.jacobs.jacobs-university.de> <AM7PR07MB62482A4271AF1CA5013EB136A0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <b1b1cd18-537f-561f-dcb1-9aca41b7d3c9@labn.net> <20210910200902.bic4rhyhp75bgsjz@anna.jacobs.jacobs-university.de> <BBC6AA9F-86C1-4A9C-86FD-AD77668CA9D9@gmail.com> <20210913200455.xot7lihpmqiemm5c@anna.jacobs.jacobs-university.de> <DM6PR02MB69248D2780D5C880CC647783C3D99@DM6PR02MB6924.namprd02.prod.outlook.com> <AM7PR07MB6248BBB558136D1E6F8C1549A0DA9@AM7PR07MB6248.eurprd07.prod.outlook.com> <DM6PR02MB692446F49506791E90B0D23EC3DA9@DM6PR02MB6924.namprd02.prod.outlook.com>
In-Reply-To: <DM6PR02MB692446F49506791E90B0D23EC3DA9@DM6PR02MB6924.namprd02.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: att.com; dkim=none (message not signed) header.d=none;att.com; dmarc=none action=none header.from=nokia.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: b853f537-56e8-4988-3cb5-08d981d2c8c5
x-ms-traffictypediagnostic: DM6PR08MB5707:
x-microsoft-antispam-prvs: <DM6PR08MB570740ACE2A2056F5745CC7B9BA79@DM6PR08MB5707.namprd08.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: leT1bbX66MKx9qDTzgCjgfAK2zxhSfWQgrNGTajpusEjC2nIRqp1pw7xbwu9ZnYHYtC+wiR7GzuHdxBRMgA3chGpLbSlWG2jmfJ7ToKmPR1UXRBH+desuZOF1aKpj3b+Fs27aO7Lq/Rmw7Rlfx6HjIN0pBH41wv9wPpi7zbr2DD2x7i9OaqMlC4yhvM39JWjo/ulPHmRrn+1pIPjddNvJlyOQR/vyI6UevdY7MU0tvTSAfI4trifbe7X1P8YCQXH5dXMYF8yp5aSBKnnXe6+fwWT3ymMsyrgKOp5cQBoFbrRehave0SN39Iq4aXaSy+D44F6EDXycxJFIA//vMblWpUIOxvzXNj/ECNkKGHQ6Zim5qSWPWmu6LvfYytcjZx6bMmG+vtLeayWbgZyLnpXaAYSyfxm2MeckBRatt/AjOyAdTCXXCqCuBwjDgdTQbgZoqiy7bXQZNGQFt3RtcZ4XjNIjW5QqGZtTc/pRzAyS38D9p3whDlZ/FyQjuV4vG0ySA1Qj5KAvN5RZ0hNTaj3nNGpzbCrF9R5Qn8HqmBxkAWPRZPjU2+x3s0K22PpeV9umKDzNfXUqlHK/+N+YmyF9DdYCF3Rn27KRaJL5/F3YkMlxgR9Kg5kGaQMhzEwfMoIWHopN0qT7J6IGUyYrn982hEmG9Ys8y8hGw/bpVH8iNJhZyH0Giyup+pXAnRXL9ufJlZQ2lqF3x2AWTOC3xEeVaCQSAIGFiyRBUEoi546wMvaXvmbYwSPDzeSDlKFuknKPKVSRDs9q7853RZ8ORnnsSfKqjNNLa3S73WqxzlPfXvKeLO/4t6p88XWX9/9MbJhN9wtT7LeRALRX3j6zkFT4yyfBfBcuLpw7N2j6N8k1UI=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:DM6PR08MB5084.namprd08.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(366004)(30864003)(38100700002)(9686003)(71200400001)(55016002)(186003)(508600001)(26005)(33656002)(66556008)(54906003)(110136005)(66446008)(64756008)(66574015)(5660300002)(86362001)(122000001)(53546011)(6506007)(7696005)(52536014)(83380400001)(38070700005)(66476007)(4326008)(66946007)(2906002)(316002)(8936002)(966005)(76116006)(8676002)(309714004); DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?z+J2ibNaB5FGW0EOCkP7I3hZKpIaXn7mT95di+cGMAj8wT76+Nn9Oj5MdF?= =?iso-8859-1?Q?unNOvI1+Axw7vnqFntVMtsRf0tzlZcZju1xtRZFstfPHP+ZNf+p6WE/L8P?= =?iso-8859-1?Q?l3EcciHMmrLSzndCVk9XHSencYcVMq5pGFMeJ3VxCCC3vCzCIyEgE+oMdL?= =?iso-8859-1?Q?emMPHxqnzQ80QnIwnWck71+3+bJSVD+yRdJaQHvqsVHyctshIjXj81WHUx?= =?iso-8859-1?Q?mXAnW83wewnjiAKRCbKCwE0ik3Nqo1xKNcpTcEcs0xuLgPCzjone3evtIr?= =?iso-8859-1?Q?x57GiRgaS3p8TnUOBYe/8RZo5ihuvFNcok72KZlCjhabLxWNSfsiqykGXg?= =?iso-8859-1?Q?fmNdGU9YMpv2iL+3CZP+v5P0hlsp2meEVlZK5rH2lGT4TkFpRHKh1isHwr?= =?iso-8859-1?Q?0PO2foaJz+sSXHGXCutBioQvF0ObQnJlXZVuNJUMYNc2s32pGJ3q7kUIFO?= =?iso-8859-1?Q?adgGMZeSEg3JeFPhBLiTmYN3sPN09+0zNNSMXbmbA/duFHoo6ZP105calN?= =?iso-8859-1?Q?n92aki0oo1/Y4IFHOe1WvIdObak/VL64IBNwbw1sra2/fw09mX1MX7dZlF?= =?iso-8859-1?Q?vxJk2wiwIMvCwfUp5tsX4saos3EiHDBwA8ZzNzWj+9JbpeUK/4wTVTdNN6?= =?iso-8859-1?Q?Rl3ciU2ww8RBwPmbeZsCgP3LLA43KDvjj6+uf0YHcqrLI3Y/huEiLvd1yR?= =?iso-8859-1?Q?G38ocV2yWRZmstcvLB4/UdYrEQKUV8lLUi9ET85hjtOQ1IRkPdfCZzkT7U?= =?iso-8859-1?Q?G8UD4zqtFXxKnbPiWcn1OY6ZoKfbJ5KuptV6uhPMMCnVwr1Eb9GPLohBFd?= =?iso-8859-1?Q?zWYdo1z7wEegu77D7bgDE5w2CjGZeFScFtdHu9Se49v769UwfQx6Wj8FWi?= =?iso-8859-1?Q?uI0M/MTrTnMa/5Cv4L3S7hQTHo0/Y/4kLosGAt/0SV8FTivxYt4ma00On1?= =?iso-8859-1?Q?Ju0E3hIElH5sbFQwVtK8LZyxKUpqKDUWvL9bNDnoKwjFVFTESqnz8IpbvF?= =?iso-8859-1?Q?GdS6zX9UuOLsyyK6BRpPaH5XmtmbKL6Wx8srJpcBfj/aUCbBKntVl3C+Zu?= =?iso-8859-1?Q?/ZN2ZzDCrSZXDgr0Q1A6rmvipH51tynUTc3zkWY3YHAAHBIqh08LaaToQh?= =?iso-8859-1?Q?ZHS0k7kIEtXzM/k8/fCSJGx9irk+M+5r7d5YzNTlTvQYg5W9ztHBn4RqNs?= =?iso-8859-1?Q?WB7MOhVqNgadv9CVyhtS5iWWUPM63PpLcU6LiAGhW/OaqBvKZsaFbpAU37?= =?iso-8859-1?Q?gnJF06Lm3/0Mp8swcFOghartAj2mTSsHbt477Qf+NCaoY3Q4RVkFE9jSV9?= =?iso-8859-1?Q?E97Yy+DKYEL9JNpYwk1f74NmNBLepvgFf0hpJAspxwaIe6L/NzQDt7rSJU?= =?iso-8859-1?Q?ra+GIQj7qV?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DM6PR08MB5084.namprd08.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: b853f537-56e8-4988-3cb5-08d981d2c8c5
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Sep 2021 16:20:56.0270 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: vpme5I68dlUZqblGcldV5IlStthjR3y05DG/sQXtJDnczsFDNPNvfNRL4XhFW6R56spqs21F0Vag2lLP1fFdFQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR08MB5707
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/3PY2BEHxVqsKP9CiThAx1_Ii7bk>
Subject: Re: [babel] [netmod]   NULL value for uint16
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Sep 2021 16:21:05 -0000

Hi all,

Reserving a "magic value" like -1 may be workable, but it doesn't feel like=
 a terribly good fit into YANG. The rest of the range of integer values are=
 valid and it seems odd to just tack on a "-1".

Why not just make the absence of the leaf mean "not applicable" or "not ava=
ilable" or whatever you are thinking of encoding as "null" ?

I've seen discussions where an SNMP MIB (which uses magic values like -1 or=
 0) was mapped to YANG and the result was simply to map the -1 (or 0) to th=
e "absence of the leaf" (especially for read only state).

If it really is critical to distinguish these two cases (which I'm pretty d=
oubtful of for an individual leaf like this), then I think at least an enum=
 more distinctly separates the valid range from the special "not applicable=
" token:
1) leaf was filtered out due to AAA rules
2) leaf wasn't returned because it is not-applicable/not-available

Jason

> -----Original Message-----
> From: netmod <netmod-bounces@ietf.org> On Behalf Of STARK, BARBARA
> H
> Sent: Tuesday, September 14, 2021 9:52 AM
> To: 'tom petch' <ietfc@btconnect.com>; 'Juergen Schoenwaelder'
> <j.schoenwaelder@jacobs-university.de>; 'Mahesh Jethanandani'
> <mjethanandani@gmail.com>
> Cc: 'Babel at IETF' <babel@ietf.org>; 'netmod@ietf.org' <netmod@ietf.org>
> Subject: Re: [netmod] [babel] NULL value for uint16
>=20
>=20
>=20
> > I seem to be coming into this discussion in the middle, so I hope I'm
> > understanding where things are. Comments in-line.
> >
> > > Hi Mahesh,
> > >
> > > management interface usually do not change protocol semantics (for th=
e
> > > simple reason that protocol engines do not necessarily know which
> > > management interfaces control them and their peers).
> > >
> > > Does the Babel RFC reserve the special sequence number 0? If not, doe=
s
> > > this document formally update the Babel RFC to reserve the sequence
> > > number 0? And will implementations and deployments follow on or will
> > > we see "old" and "updated" implementations in the wild causing
> > > operational trouble?
> >
> > Yes, the Babel RFC makes it clear that 0 is a valid value that must not=
 be
> > confused with NULL.
> > I have no idea what conventions exist for a YANG model to distinguish
> between
> > 0 and NULL in such cases, but merely expressed that the distinction mus=
t
> exist.
> > Whatever conventions exist within YANG to make this distinction can be
> used. It
> > sounded from Tom's email that several conventions exist for handling th=
is.
> > Under no circumstances should this YANG model allow the valid value of
> zero to
> > be repurposed to mean NULL.
> >
> > <tp>
> > Barbara,
> >
> > Apologies for making a mess of raising this issue; I am struggling with
> webmail
> > and a PC that has a mind of its own such that I cannot send e-mails whe=
re I
> want
> > to or even when I want to:-(
> >
> > Anyhow, I agree that the Information model makes it clear the NULL and
> zero
> > are different.  YANG has no concept of NULL; some languages do, YANG
> does
> > not.  This raises  number of possibilities.
> >
> > One is to deviate from the Information Model and treat zero as NULL but=
 I
> > would not expect that to be acceptable.
> >
> > Another it to modify the range by making uint16 into int16 and making a
> > negative value represent NULL in this model.  Again, I would not expect
> that to
> > be acceptable but you could make it a int32 or uint32 with a range
> restriction
> > such that one value means NULL..
> >
> > Another is to make the objects a YANG union of uint16 and something els=
e.
> > YANG has a built-in type 'empty' which has no value(!) and so a union o=
f
> uint16
> > and empty is probably the closest YANG gets.  A similar approach is a u=
nion
> of
> > uint16 and boolean.  My YANG is not up to the merits of the two
> approaches.  I
> > have never been comfortable with 'empty' but there is plenty of it abou=
t in
> the
> > IETF. By the same token, almost all models have a union in the shape of=
 an
> ip
> > address which is a union of ipv4 address and ipv6 address; a union is
> something I
> > am comfortable with.
> >
> > I do not know of an exact parallel to what you want to do.  I do see 'n=
ull' as
> one
> > value of the text string in an enumeration which is fine for enumeratio=
ns!  I
> also
> > see the choice/case construct used with one case having a YANG type
> 'empty'
> > which is perhaps the closest if you do not want to use a union.
> >
> > HTH
> >
> > Tom Petch
>=20
> Hi Tom,
> Thanks for making this an issue! I think it's important that we get it ri=
ght.
> This is something Mahesh and I have discussed several times (and we still
> apparently didn't get it right).
> As I mentioned, BBF TR-181 uses int with range 	-1:65535 with -1
> meaning NULL. So I certainly have no issue with that approach. The langua=
ge
> in RFC9046 was intended to make sure this approach was allowed, since thi=
s
> is how it's done in TR-181.
> I guess I am a bit surprised to learn that YANG doesn't seem to have a
> preferred way to handle this. Unfortunately, given my considerable lack o=
f
> YANG expertise, I can't recommend the "right" way to model this in YANG. =
I
> can only insist that the model be able to express a value in the range 0 =
to
> 2^16 and NULL value for these parameters.
> Independent of the fact that the words in RFC9046 don't seem to have
> expressed this perfectly clearly, that is absolutely the intent of those =
words. I
> apologize that the RFC9046 words don't seem to be sufficiently clear.
>=20
> Since you do mention the possibility of using -1 for NULL, I'd like to
> understand who might find this approach unacceptable? The language in the
> information model was definitely intended to express the acceptability of
> using this approach from a Babel WG perspective (because I knew that's ho=
w
> it would be done in TR-181). Would this be unacceptable to people with
> YANG expertise? I think my preference would be to use this approach, sinc=
e
> it would provide additional consistency between the TR-181 and YANG
> models.
>=20
> Thanks again for raising this issue.
> Barbara
>=20
> > > /js
> > >
> > > On Mon, Sep 13, 2021 at 12:49:33PM -0700, Mahesh Jethanandani wrote:
> > > > [Bringing in babel WG, instead of maintaining two threads]
> > > >
> > > >
> > > > Hi Juergen,
> > > >
> > > >
> > > > > On Sep 10, 2021, at 1:09 PM, J=FCrgen Sch=F6nw=E4lder
> > > <j.schoenwaelder@jacobs-university.de> wrote:
> > > > >
> > > > > On Fri, Sep 10, 2021 at 01:40:03PM -0400, Lou Berger wrote:
> > > > >
> > > > >> and it references an RFC that says:
> > > > >>
> > > > >>      This is a 16-bit unsigned integer;
> > > > >>      if the data model uses zero (0) to represent NULL values fo=
r
> > > > >>      unsigned integers, the data model MAY use a different data =
type
> > > > >>      that allows differentiation between zero (0) and NULL.
> > > > >
> > > > > We are talking about RFC 9046? RFC 9046 repeats this sentence
> several
> > > > > times but I find it difficult to infer the intended meaning. If 0=
 is a
> > > > > legal value, you can't have it represent "NULL" at the same time.
> > > >
> > > > There are five definitions in the Babel YANG model
> > > <https://urldefense.com/v3/__https://www.ietf.org/archive/id/draft-
> ietf-
> > > babel-yang-model-
> > >
> >
> 11.html__;!!BhdT!w6VP0VXwBo8HQB7xl29xPqAxO7zHbtal44Pwbxrh6lIs8a04
> rPj
> > > 0rzZ_DACdBQ$ > that use NULL to represent a special meaning.
> > > >
> > > > With 'babel-route-received-metric', and 'babel-route-calculated-met=
ric'
> > > values use NULL or 0 to represent that a route was NOT received. A no=
n-
> zero
> > > value indicates that a route was received and subsequently advertised=
.
> > > >
> > > > With 'babel-expo-mcast-hello-seqno', and 'babel-exp-ucast-hello-
> seqno' a
> > > value of NULL or 0 is used to represent that a multicast, or unicast =
hello
> > packets
> > > respectively are NOT expected or processing of multicast/unicast pack=
ets
> is
> > not
> > > enabled. Although not explicit stated, it also means that the sequenc=
e
> number
> > > cannot be a 0.
> > > >
> > > > Finally, with 'babel-ucast-hello-seqno' a value of NULL or 0 is use=
d to
> > > represent a unicast hello is not being sent. A non-zero value reflect=
s the
> > current
> > > sequence number in use for unicast hellos. Again, although not explic=
it, it
> also
> > > means that the sequence number cannot be a 0.
> > > >
> > > > >
> > > > > In YANG, we tend to not instantiate leafs that do not have a valu=
e.
> > > > > Anyway, if a YANG author wants to report a special value to indic=
ate
> > > > > that there is no value, then you have design for it and reserve a=
nd
> > > > > set aside a special value from the number space or use a union.
> > > >
> > > > This YANG model reserves the value of 0 to indicate that these leaf=
s are
> not
> > > set or the particular attribute is not enabled.
> > > >
> > > > Thanks.
> > > >
> > > > >
> > > > > RFC 9046 uses the same text for things like sequence numbers.
> Skimming
> > > > > RFC 8966, it seems sequence numbers are 16-bit integers:
> > > > >
> > > > >   Sequence numbers (seqnos) appear in a number of Babel data
> > > > >   structures, and they are interpreted as integers modulo 2^(16).
> > > > >
> > > > > The text in the context makes me believe they are an unsigned 16-=
bit
> > > > > integers. If so, there simply is no way to use 0 to indicate that=
 a
> > > > > sequence number is absent. The problem really might be the text i=
n
> RFC
> > > > > 9046.
> >
> > RFC9046 text is intended to allow and encourage data models to do
> whatever
> > they need to do to ensure they can distinguish between a value of 0 and=
 a
> NULL
> > value. For example, in BBF TR-181 data model, we use a signed integer f=
or
> these
> > parameters, where "-1" means "null value" and 0 to 2^16 represent actua=
l
> > values. This use of -1 and a signed integer to convey NULL for an unsig=
ned
> > integer is a convention that has long been defined in TR-181 data model=
ing
> > rules. OTOH, Babel implementations written in languages like C *are* ab=
le
> to
> > distinguish between a zero-length variable and a zero-value variable --=
 so
> their
> > GUIs have no difficulty with this distinction and can simply use an uns=
igned
> > integer.
> >
> > Different data modeling languages are likely to each have their own
> mechanisms
> > for handling this -- which means it would have been improper for RFC904=
6
> to be
> > proscriptive about *how* a data model should distinguish between null
> and 0.
> > Therefore, the text in RFC9046 merely states that although the native
> variable is
> > a 16-bit unsigned integer, it must be possible to indicate null as some=
thing
> > distinct from 0. RFC9046 does not dictate how that should be accomplish=
ed.
> The
> > data model needs to ensure this distinction exists using whatever metho=
d
> makes
> > sense or whatever convention exists for that data modeling language.
> > Barbara
> >
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> >
> https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/netmo
> d__;
> > !!BhdT!z9HMtl5ev04-D11rq22Qye-5_sscMd1C-
> > sWwIDBqeMrQ2tPPXauYRZI_wB2KAA$
>=20
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod


From nobody Mon Sep 27 10:14:31 2021
Return-Path: <andy@yumaworks.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E5AF33A0CF8 for <babel@ietfa.amsl.com>; Mon, 27 Sep 2021 10:14:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.887
X-Spam-Level: 
X-Spam-Status: No, score=-1.887 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20210112.gappssmtp.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 O3gOh9TZ0kjM for <babel@ietfa.amsl.com>; Mon, 27 Sep 2021 10:14:13 -0700 (PDT)
Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3FBD03A0CFA for <babel@ietf.org>; Mon, 27 Sep 2021 10:14:13 -0700 (PDT)
Received: by mail-lf1-x136.google.com with SMTP id x27so80631583lfu.5 for <babel@ietf.org>; Mon, 27 Sep 2021 10:14:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5FzNFvSszW5akgoMsyGG5wqycpQtXyNlmPXHuqjamnM=; b=vCSygUsqkb1N3J5XBbhFcj3ownk3zsZ9xs/Jp96LTiPvCtWzZ5N9XBj8G/3ViBPzie vEBjw5TvmKO3xDqW/RSM+ZoXyQ1HdGVxWpA+Y1yUcJ0bDNenqE2PmY8kaUqdgCqQX4Hx wYhrMRmgNn3PSbPc4pv6MReq6iIRD5YgW8vv1/R136guan61J6Ns+Xnq1dstzUIrJSOK lBd8cSVMz2sZ6+5EFtVa4yz9PQz3xJk/d3DSvmLM+46cb6gVKQcuIlw0eSsYW8cGUzP8 a7lO1fqqQ+0iwW5GjaUVmCuF6dT8Y6zTlezuFA4YVmtVvAoaxeivHSfWiQWrF1Zt7uIo 2AuQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5FzNFvSszW5akgoMsyGG5wqycpQtXyNlmPXHuqjamnM=; b=BG2Io0FfIiSCSn9daAcXo1b7jwwtiC5gCbv8GVNBaH96q4Dlq578Ri+OQcJ4SB27I/ uflHGrn7DF8HNksLhLpRXswPuthPibOHD+YKFJvtSnGu8Nhkb8b5diMVppv/QJ042UKF MNKPsdx8mmOzZvk52s2v+EOzLDvRBZw0RDOV8a6GUABcQ6cFqve8BXAPLUtD3amMK9hE oOhPe0AHIkLrMAujvf4YjGNLKURycaJjE0qM+YYXd8Pjw94pPFmKy3akpcKDSA+POhIv Qjg8eVrtHzzOfFz6K1aNv6f4TW6h/wciMiar/kCAmXjTBME0IVpiJlOXD85EZOGKNUa5 Drkw==
X-Gm-Message-State: AOAM533HOTKsQTBpVNEQnurJmV1S4K7OxSu38wpA5EPH0Wed7G475L99 6R1mMVM0xRcU/zI+LJRa/4c9QNrpTDFccC9wqeGhDw==
X-Google-Smtp-Source: ABdhPJw5I0Mg+4Wa75y7p4QwZ9RU8BnSOMgwIKolL9YPQiJCYjamzl+6SIclsOFhlBYfWTGl945QsdeuHOA4REudLbM=
X-Received: by 2002:a2e:a6a4:: with SMTP id q36mr985300lje.120.1632762850832;  Mon, 27 Sep 2021 10:14:10 -0700 (PDT)
MIME-Version: 1.0
References: <AM7PR07MB624802516EFB174B6912C5DAA0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <20210910121430.kofyvd2q3ludm2pk@anna.jacobs.jacobs-university.de> <AM7PR07MB62482A4271AF1CA5013EB136A0D69@AM7PR07MB6248.eurprd07.prod.outlook.com> <b1b1cd18-537f-561f-dcb1-9aca41b7d3c9@labn.net> <20210910200902.bic4rhyhp75bgsjz@anna.jacobs.jacobs-university.de> <BBC6AA9F-86C1-4A9C-86FD-AD77668CA9D9@gmail.com> <20210913200455.xot7lihpmqiemm5c@anna.jacobs.jacobs-university.de> <DM6PR02MB69248D2780D5C880CC647783C3D99@DM6PR02MB6924.namprd02.prod.outlook.com> <AM7PR07MB6248BBB558136D1E6F8C1549A0DA9@AM7PR07MB6248.eurprd07.prod.outlook.com> <DM6PR02MB692446F49506791E90B0D23EC3DA9@DM6PR02MB6924.namprd02.prod.outlook.com> <DM6PR08MB50843AF5FA63086F51799F189BA79@DM6PR08MB5084.namprd08.prod.outlook.com>
In-Reply-To: <DM6PR08MB50843AF5FA63086F51799F189BA79@DM6PR08MB5084.namprd08.prod.outlook.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Mon, 27 Sep 2021 10:13:59 -0700
Message-ID: <CABCOCHR=XMHuwD7obhWFM5i7ZJ233zWJWoES15SAWLj3rZLaFw@mail.gmail.com>
To: "Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com>
Cc: "STARK, BARBARA H" <bs7652@att.com>, tom petch <ietfc@btconnect.com>,  Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>,  Mahesh Jethanandani <mjethanandani@gmail.com>, "netmod@ietf.org" <netmod@ietf.org>, Babel at IETF <babel@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ba06df05ccfd3996"
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/E_9N5iNyIYHMfAS50QXOazyOo-E>
Subject: Re: [babel] [netmod]  NULL value for uint16
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Sep 2021 17:14:21 -0000

--000000000000ba06df05ccfd3996
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Mon, Sep 27, 2021 at 9:21 AM Sterne, Jason (Nokia - CA/Ottawa) <
jason.sterne@nokia.com> wrote:

> Hi all,
>
> Reserving a "magic value" like -1 may be workable, but it doesn't feel
> like a terribly good fit into YANG. The rest of the range of integer valu=
es
> are valid and it seems odd to just tack on a "-1".
>
> Why not just make the absence of the leaf mean "not applicable" or "not
> available" or whatever you are thinking of encoding as "null" ?
>
> I've seen discussions where an SNMP MIB (which uses magic values like -1
> or 0) was mapped to YANG and the result was simply to map the -1 (or 0) t=
o
> the "absence of the leaf" (especially for read only state).
>
> If it really is critical to distinguish these two cases (which I'm pretty
> doubtful of for an individual leaf like this), then I think at least an
> enum more distinctly separates the valid range from the special "not
> applicable" token:
> 1) leaf was filtered out due to AAA rules
> 2) leaf wasn't returned because it is not-applicable/not-available
>
>

IMO this is not a real problem.
There is an assumption that access control is setup correctly.
The NACM default is to allow all reads so explicit rules are needed
to remove access to config=3Dfalse data nodes.

It is clearly better to omit nodes rather than return them with "not set"
indications.
This reduced the amount of data transferred which may matter to the
operator.

SNMP GetNext and GetBulk do not handle missing nodes well at all, so it
became
common practice to return 0 or -1, etc. to simplify client processing of
these operations.
None of the YANG-based protocols have this problem.


> Jason
>

Andy


>
> > -----Original Message-----
> > From: netmod <netmod-bounces@ietf.org> On Behalf Of STARK, BARBARA
> > H
> > Sent: Tuesday, September 14, 2021 9:52 AM
> > To: 'tom petch' <ietfc@btconnect.com>; 'Juergen Schoenwaelder'
> > <j.schoenwaelder@jacobs-university.de>; 'Mahesh Jethanandani'
> > <mjethanandani@gmail.com>
> > Cc: 'Babel at IETF' <babel@ietf.org>; 'netmod@ietf.org' <netmod@ietf.or=
g
> >
> > Subject: Re: [netmod] [babel] NULL value for uint16
> >
> >
> >
> > > I seem to be coming into this discussion in the middle, so I hope I'm
> > > understanding where things are. Comments in-line.
> > >
> > > > Hi Mahesh,
> > > >
> > > > management interface usually do not change protocol semantics (for
> the
> > > > simple reason that protocol engines do not necessarily know which
> > > > management interfaces control them and their peers).
> > > >
> > > > Does the Babel RFC reserve the special sequence number 0? If not,
> does
> > > > this document formally update the Babel RFC to reserve the sequence
> > > > number 0? And will implementations and deployments follow on or wil=
l
> > > > we see "old" and "updated" implementations in the wild causing
> > > > operational trouble?
> > >
> > > Yes, the Babel RFC makes it clear that 0 is a valid value that must
> not be
> > > confused with NULL.
> > > I have no idea what conventions exist for a YANG model to distinguish
> > between
> > > 0 and NULL in such cases, but merely expressed that the distinction
> must
> > exist.
> > > Whatever conventions exist within YANG to make this distinction can b=
e
> > used. It
> > > sounded from Tom's email that several conventions exist for handling
> this.
> > > Under no circumstances should this YANG model allow the valid value o=
f
> > zero to
> > > be repurposed to mean NULL.
> > >
> > > <tp>
> > > Barbara,
> > >
> > > Apologies for making a mess of raising this issue; I am struggling wi=
th
> > webmail
> > > and a PC that has a mind of its own such that I cannot send e-mails
> where I
> > want
> > > to or even when I want to:-(
> > >
> > > Anyhow, I agree that the Information model makes it clear the NULL an=
d
> > zero
> > > are different.  YANG has no concept of NULL; some languages do, YANG
> > does
> > > not.  This raises  number of possibilities.
> > >
> > > One is to deviate from the Information Model and treat zero as NULL
> but I
> > > would not expect that to be acceptable.
> > >
> > > Another it to modify the range by making uint16 into int16 and making=
 a
> > > negative value represent NULL in this model.  Again, I would not expe=
ct
> > that to
> > > be acceptable but you could make it a int32 or uint32 with a range
> > restriction
> > > such that one value means NULL..
> > >
> > > Another is to make the objects a YANG union of uint16 and something
> else.
> > > YANG has a built-in type 'empty' which has no value(!) and so a union
> of
> > uint16
> > > and empty is probably the closest YANG gets.  A similar approach is a
> union
> > of
> > > uint16 and boolean.  My YANG is not up to the merits of the two
> > approaches.  I
> > > have never been comfortable with 'empty' but there is plenty of it
> about in
> > the
> > > IETF. By the same token, almost all models have a union in the shape
> of an
> > ip
> > > address which is a union of ipv4 address and ipv6 address; a union is
> > something I
> > > am comfortable with.
> > >
> > > I do not know of an exact parallel to what you want to do.  I do see
> 'null' as
> > one
> > > value of the text string in an enumeration which is fine for
> enumerations!  I
> > also
> > > see the choice/case construct used with one case having a YANG type
> > 'empty'
> > > which is perhaps the closest if you do not want to use a union.
> > >
> > > HTH
> > >
> > > Tom Petch
> >
> > Hi Tom,
> > Thanks for making this an issue! I think it's important that we get it
> right.
> > This is something Mahesh and I have discussed several times (and we sti=
ll
> > apparently didn't get it right).
> > As I mentioned, BBF TR-181 uses int with range        -1:65535 with -1
> > meaning NULL. So I certainly have no issue with that approach. The
> language
> > in RFC9046 was intended to make sure this approach was allowed, since
> this
> > is how it's done in TR-181.
> > I guess I am a bit surprised to learn that YANG doesn't seem to have a
> > preferred way to handle this. Unfortunately, given my considerable lack
> of
> > YANG expertise, I can't recommend the "right" way to model this in YANG=
.
> I
> > can only insist that the model be able to express a value in the range =
0
> to
> > 2^16 and NULL value for these parameters.
> > Independent of the fact that the words in RFC9046 don't seem to have
> > expressed this perfectly clearly, that is absolutely the intent of thos=
e
> words. I
> > apologize that the RFC9046 words don't seem to be sufficiently clear.
> >
> > Since you do mention the possibility of using -1 for NULL, I'd like to
> > understand who might find this approach unacceptable? The language in t=
he
> > information model was definitely intended to express the acceptability =
of
> > using this approach from a Babel WG perspective (because I knew that's
> how
> > it would be done in TR-181). Would this be unacceptable to people with
> > YANG expertise? I think my preference would be to use this approach,
> since
> > it would provide additional consistency between the TR-181 and YANG
> > models.
> >
> > Thanks again for raising this issue.
> > Barbara
> >
> > > > /js
> > > >
> > > > On Mon, Sep 13, 2021 at 12:49:33PM -0700, Mahesh Jethanandani wrote=
:
> > > > > [Bringing in babel WG, instead of maintaining two threads]
> > > > >
> > > > >
> > > > > Hi Juergen,
> > > > >
> > > > >
> > > > > > On Sep 10, 2021, at 1:09 PM, J=C3=BCrgen Sch=C3=B6nw=C3=A4lder
> > > > <j.schoenwaelder@jacobs-university.de> wrote:
> > > > > >
> > > > > > On Fri, Sep 10, 2021 at 01:40:03PM -0400, Lou Berger wrote:
> > > > > >
> > > > > >> and it references an RFC that says:
> > > > > >>
> > > > > >>      This is a 16-bit unsigned integer;
> > > > > >>      if the data model uses zero (0) to represent NULL values
> for
> > > > > >>      unsigned integers, the data model MAY use a different dat=
a
> type
> > > > > >>      that allows differentiation between zero (0) and NULL.
> > > > > >
> > > > > > We are talking about RFC 9046? RFC 9046 repeats this sentence
> > several
> > > > > > times but I find it difficult to infer the intended meaning. If
> 0 is a
> > > > > > legal value, you can't have it represent "NULL" at the same tim=
e.
> > > > >
> > > > > There are five definitions in the Babel YANG model
> > > > <https://urldefense.com/v3/__https://www.ietf.org/archive/id/draft-
> > ietf-
> > > > babel-yang-model-
> > > >
> > >
> > 11.html__;!!BhdT!w6VP0VXwBo8HQB7xl29xPqAxO7zHbtal44Pwbxrh6lIs8a04
> > rPj
> > > > 0rzZ_DACdBQ$ > that use NULL to represent a special meaning.
> > > > >
> > > > > With 'babel-route-received-metric', and
> 'babel-route-calculated-metric'
> > > > values use NULL or 0 to represent that a route was NOT received. A
> non-
> > zero
> > > > value indicates that a route was received and subsequently
> advertised.
> > > > >
> > > > > With 'babel-expo-mcast-hello-seqno', and 'babel-exp-ucast-hello-
> > seqno' a
> > > > value of NULL or 0 is used to represent that a multicast, or unicas=
t
> hello
> > > packets
> > > > respectively are NOT expected or processing of multicast/unicast
> packets
> > is
> > > not
> > > > enabled. Although not explicit stated, it also means that the
> sequence
> > number
> > > > cannot be a 0.
> > > > >
> > > > > Finally, with 'babel-ucast-hello-seqno' a value of NULL or 0 is
> used to
> > > > represent a unicast hello is not being sent. A non-zero value
> reflects the
> > > current
> > > > sequence number in use for unicast hellos. Again, although not
> explicit, it
> > also
> > > > means that the sequence number cannot be a 0.
> > > > >
> > > > > >
> > > > > > In YANG, we tend to not instantiate leafs that do not have a
> value.
> > > > > > Anyway, if a YANG author wants to report a special value to
> indicate
> > > > > > that there is no value, then you have design for it and reserve
> and
> > > > > > set aside a special value from the number space or use a union.
> > > > >
> > > > > This YANG model reserves the value of 0 to indicate that these
> leafs are
> > not
> > > > set or the particular attribute is not enabled.
> > > > >
> > > > > Thanks.
> > > > >
> > > > > >
> > > > > > RFC 9046 uses the same text for things like sequence numbers.
> > Skimming
> > > > > > RFC 8966, it seems sequence numbers are 16-bit integers:
> > > > > >
> > > > > >   Sequence numbers (seqnos) appear in a number of Babel data
> > > > > >   structures, and they are interpreted as integers modulo 2^(16=
).
> > > > > >
> > > > > > The text in the context makes me believe they are an unsigned
> 16-bit
> > > > > > integers. If so, there simply is no way to use 0 to indicate
> that a
> > > > > > sequence number is absent. The problem really might be the text
> in
> > RFC
> > > > > > 9046.
> > >
> > > RFC9046 text is intended to allow and encourage data models to do
> > whatever
> > > they need to do to ensure they can distinguish between a value of 0
> and a
> > NULL
> > > value. For example, in BBF TR-181 data model, we use a signed integer
> for
> > these
> > > parameters, where "-1" means "null value" and 0 to 2^16 represent
> actual
> > > values. This use of -1 and a signed integer to convey NULL for an
> unsigned
> > > integer is a convention that has long been defined in TR-181 data
> modeling
> > > rules. OTOH, Babel implementations written in languages like C *are*
> able
> > to
> > > distinguish between a zero-length variable and a zero-value variable
> -- so
> > their
> > > GUIs have no difficulty with this distinction and can simply use an
> unsigned
> > > integer.
> > >
> > > Different data modeling languages are likely to each have their own
> > mechanisms
> > > for handling this -- which means it would have been improper for
> RFC9046
> > to be
> > > proscriptive about *how* a data model should distinguish between null
> > and 0.
> > > Therefore, the text in RFC9046 merely states that although the native
> > variable is
> > > a 16-bit unsigned integer, it must be possible to indicate null as
> something
> > > distinct from 0. RFC9046 does not dictate how that should be
> accomplished.
> > The
> > > data model needs to ensure this distinction exists using whatever
> method
> > makes
> > > sense or whatever convention exists for that data modeling language.
> > > Barbara
> > >
> > > _______________________________________________
> > > netmod mailing list
> > > netmod@ietf.org
> > >
> > https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/netmo
> > d__;
> > > !!BhdT!z9HMtl5ev04-D11rq22Qye-5_sscMd1C-
> > > sWwIDBqeMrQ2tPPXauYRZI_wB2KAA$
> >
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>

--000000000000ba06df05ccfd3996
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Mon, Sep 27, 2021 at 9:21 AM Stern=
e, Jason (Nokia - CA/Ottawa) &lt;<a href=3D"mailto:jason.sterne@nokia.com">=
jason.sterne@nokia.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_q=
uote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,2=
04);padding-left:1ex">Hi all,<br>
<br>
Reserving a &quot;magic value&quot; like -1 may be workable, but it doesn&#=
39;t feel like a terribly good fit into YANG. The rest of the range of inte=
ger values are valid and it seems odd to just tack on a &quot;-1&quot;.<br>
<br>
Why not just make the absence of the leaf mean &quot;not applicable&quot; o=
r &quot;not available&quot; or whatever you are thinking of encoding as &qu=
ot;null&quot; ?<br>
<br>
I&#39;ve seen discussions where an SNMP MIB (which uses magic values like -=
1 or 0) was mapped to YANG and the result was simply to map the -1 (or 0) t=
o the &quot;absence of the leaf&quot; (especially for read only state).<br>
<br>
If it really is critical to distinguish these two cases (which I&#39;m pret=
ty doubtful of for an individual leaf like this), then I think at least an =
enum more distinctly separates the valid range from the special &quot;not a=
pplicable&quot; token:<br>
1) leaf was filtered out due to AAA rules<br>
2) leaf wasn&#39;t returned because it is not-applicable/not-available<br>
<br></blockquote><div><br></div><div><br></div><div>IMO this is not a real =
problem.</div><div>There is an assumption that access control is setup corr=
ectly.</div><div>The NACM default is to allow all reads so explicit rules a=
re needed</div><div>to remove access to config=3Dfalse data nodes.</div><di=
v><br></div><div>It is clearly better to omit nodes rather than return them=
 with &quot;not set&quot; indications.</div><div>This reduced the amount of=
 data transferred which may matter to the operator.</div><div><br></div><di=
v>SNMP GetNext and GetBulk do not handle missing nodes well at all, so it b=
ecame</div><div>common practice to return 0 or -1, etc. to simplify client =
processing of these operations.</div><div>None of the YANG-based protocols =
have this problem.</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" =
style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pa=
dding-left:1ex">
Jason<br></blockquote><div><br></div><div>Andy</div><div>=C2=A0</div><block=
quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1=
px solid rgb(204,204,204);padding-left:1ex">
<br>
&gt; -----Original Message-----<br>
&gt; From: netmod &lt;<a href=3D"mailto:netmod-bounces@ietf.org" target=3D"=
_blank">netmod-bounces@ietf.org</a>&gt; On Behalf Of STARK, BARBARA<br>
&gt; H<br>
&gt; Sent: Tuesday, September 14, 2021 9:52 AM<br>
&gt; To: &#39;tom petch&#39; &lt;<a href=3D"mailto:ietfc@btconnect.com" tar=
get=3D"_blank">ietfc@btconnect.com</a>&gt;; &#39;Juergen Schoenwaelder&#39;=
<br>
&gt; &lt;<a href=3D"mailto:j.schoenwaelder@jacobs-university.de" target=3D"=
_blank">j.schoenwaelder@jacobs-university.de</a>&gt;; &#39;Mahesh Jethanand=
ani&#39;<br>
&gt; &lt;<a href=3D"mailto:mjethanandani@gmail.com" target=3D"_blank">mjeth=
anandani@gmail.com</a>&gt;<br>
&gt; Cc: &#39;Babel at IETF&#39; &lt;<a href=3D"mailto:babel@ietf.org" targ=
et=3D"_blank">babel@ietf.org</a>&gt;; &#39;<a href=3D"mailto:netmod@ietf.or=
g" target=3D"_blank">netmod@ietf.org</a>&#39; &lt;<a href=3D"mailto:netmod@=
ietf.org" target=3D"_blank">netmod@ietf.org</a>&gt;<br>
&gt; Subject: Re: [netmod] [babel] NULL value for uint16<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; &gt; I seem to be coming into this discussion in the middle, so I hope=
 I&#39;m<br>
&gt; &gt; understanding where things are. Comments in-line.<br>
&gt; &gt;<br>
&gt; &gt; &gt; Hi Mahesh,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; management interface usually do not change protocol semantic=
s (for the<br>
&gt; &gt; &gt; simple reason that protocol engines do not necessarily know =
which<br>
&gt; &gt; &gt; management interfaces control them and their peers).<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Does the Babel RFC reserve the special sequence number 0? If=
 not, does<br>
&gt; &gt; &gt; this document formally update the Babel RFC to reserve the s=
equence<br>
&gt; &gt; &gt; number 0? And will implementations and deployments follow on=
 or will<br>
&gt; &gt; &gt; we see &quot;old&quot; and &quot;updated&quot; implementatio=
ns in the wild causing<br>
&gt; &gt; &gt; operational trouble?<br>
&gt; &gt;<br>
&gt; &gt; Yes, the Babel RFC makes it clear that 0 is a valid value that mu=
st not be<br>
&gt; &gt; confused with NULL.<br>
&gt; &gt; I have no idea what conventions exist for a YANG model to disting=
uish<br>
&gt; between<br>
&gt; &gt; 0 and NULL in such cases, but merely expressed that the distincti=
on must<br>
&gt; exist.<br>
&gt; &gt; Whatever conventions exist within YANG to make this distinction c=
an be<br>
&gt; used. It<br>
&gt; &gt; sounded from Tom&#39;s email that several conventions exist for h=
andling this.<br>
&gt; &gt; Under no circumstances should this YANG model allow the valid val=
ue of<br>
&gt; zero to<br>
&gt; &gt; be repurposed to mean NULL.<br>
&gt; &gt;<br>
&gt; &gt; &lt;tp&gt;<br>
&gt; &gt; Barbara,<br>
&gt; &gt;<br>
&gt; &gt; Apologies for making a mess of raising this issue; I am strugglin=
g with<br>
&gt; webmail<br>
&gt; &gt; and a PC that has a mind of its own such that I cannot send e-mai=
ls where I<br>
&gt; want<br>
&gt; &gt; to or even when I want to:-(<br>
&gt; &gt;<br>
&gt; &gt; Anyhow, I agree that the Information model makes it clear the NUL=
L and<br>
&gt; zero<br>
&gt; &gt; are different.=C2=A0 YANG has no concept of NULL; some languages =
do, YANG<br>
&gt; does<br>
&gt; &gt; not.=C2=A0 This raises=C2=A0 number of possibilities.<br>
&gt; &gt;<br>
&gt; &gt; One is to deviate from the Information Model and treat zero as NU=
LL but I<br>
&gt; &gt; would not expect that to be acceptable.<br>
&gt; &gt;<br>
&gt; &gt; Another it to modify the range by making uint16 into int16 and ma=
king a<br>
&gt; &gt; negative value represent NULL in this model.=C2=A0 Again, I would=
 not expect<br>
&gt; that to<br>
&gt; &gt; be acceptable but you could make it a int32 or uint32 with a rang=
e<br>
&gt; restriction<br>
&gt; &gt; such that one value means NULL..<br>
&gt; &gt;<br>
&gt; &gt; Another is to make the objects a YANG union of uint16 and somethi=
ng else.<br>
&gt; &gt; YANG has a built-in type &#39;empty&#39; which has no value(!) an=
d so a union of<br>
&gt; uint16<br>
&gt; &gt; and empty is probably the closest YANG gets.=C2=A0 A similar appr=
oach is a union<br>
&gt; of<br>
&gt; &gt; uint16 and boolean.=C2=A0 My YANG is not up to the merits of the =
two<br>
&gt; approaches.=C2=A0 I<br>
&gt; &gt; have never been comfortable with &#39;empty&#39; but there is ple=
nty of it about in<br>
&gt; the<br>
&gt; &gt; IETF. By the same token, almost all models have a union in the sh=
ape of an<br>
&gt; ip<br>
&gt; &gt; address which is a union of ipv4 address and ipv6 address; a unio=
n is<br>
&gt; something I<br>
&gt; &gt; am comfortable with.<br>
&gt; &gt;<br>
&gt; &gt; I do not know of an exact parallel to what you want to do.=C2=A0 =
I do see &#39;null&#39; as<br>
&gt; one<br>
&gt; &gt; value of the text string in an enumeration which is fine for enum=
erations!=C2=A0 I<br>
&gt; also<br>
&gt; &gt; see the choice/case construct used with one case having a YANG ty=
pe<br>
&gt; &#39;empty&#39;<br>
&gt; &gt; which is perhaps the closest if you do not want to use a union.<b=
r>
&gt; &gt;<br>
&gt; &gt; HTH<br>
&gt; &gt;<br>
&gt; &gt; Tom Petch<br>
&gt; <br>
&gt; Hi Tom,<br>
&gt; Thanks for making this an issue! I think it&#39;s important that we ge=
t it right.<br>
&gt; This is something Mahesh and I have discussed several times (and we st=
ill<br>
&gt; apparently didn&#39;t get it right).<br>
&gt; As I mentioned, BBF TR-181 uses int with range=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 -1:65535 with -1<br>
&gt; meaning NULL. So I certainly have no issue with that approach. The lan=
guage<br>
&gt; in RFC9046 was intended to make sure this approach was allowed, since =
this<br>
&gt; is how it&#39;s done in TR-181.<br>
&gt; I guess I am a bit surprised to learn that YANG doesn&#39;t seem to ha=
ve a<br>
&gt; preferred way to handle this. Unfortunately, given my considerable lac=
k of<br>
&gt; YANG expertise, I can&#39;t recommend the &quot;right&quot; way to mod=
el this in YANG. I<br>
&gt; can only insist that the model be able to express a value in the range=
 0 to<br>
&gt; 2^16 and NULL value for these parameters.<br>
&gt; Independent of the fact that the words in RFC9046 don&#39;t seem to ha=
ve<br>
&gt; expressed this perfectly clearly, that is absolutely the intent of tho=
se words. I<br>
&gt; apologize that the RFC9046 words don&#39;t seem to be sufficiently cle=
ar.<br>
&gt; <br>
&gt; Since you do mention the possibility of using -1 for NULL, I&#39;d lik=
e to<br>
&gt; understand who might find this approach unacceptable? The language in =
the<br>
&gt; information model was definitely intended to express the acceptability=
 of<br>
&gt; using this approach from a Babel WG perspective (because I knew that&#=
39;s how<br>
&gt; it would be done in TR-181). Would this be unacceptable to people with=
<br>
&gt; YANG expertise? I think my preference would be to use this approach, s=
ince<br>
&gt; it would provide additional consistency between the TR-181 and YANG<br=
>
&gt; models.<br>
&gt; <br>
&gt; Thanks again for raising this issue.<br>
&gt; Barbara<br>
&gt; <br>
&gt; &gt; &gt; /js<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On Mon, Sep 13, 2021 at 12:49:33PM -0700, Mahesh Jethanandan=
i wrote:<br>
&gt; &gt; &gt; &gt; [Bringing in babel WG, instead of maintaining two threa=
ds]<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Hi Juergen,<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; On Sep 10, 2021, at 1:09 PM, J=C3=BCrgen Sch=C3=B6=
nw=C3=A4lder<br>
&gt; &gt; &gt; &lt;<a href=3D"mailto:j.schoenwaelder@jacobs-university.de" =
target=3D"_blank">j.schoenwaelder@jacobs-university.de</a>&gt; wrote:<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; On Fri, Sep 10, 2021 at 01:40:03PM -0400, Lou Berg=
er wrote:<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;&gt; and it references an RFC that says:<br>
&gt; &gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt; &gt;&gt;=C2=A0 =C2=A0 =C2=A0 This is a 16-bit unsigned =
integer;<br>
&gt; &gt; &gt; &gt; &gt;&gt;=C2=A0 =C2=A0 =C2=A0 if the data model uses zer=
o (0) to represent NULL values for<br>
&gt; &gt; &gt; &gt; &gt;&gt;=C2=A0 =C2=A0 =C2=A0 unsigned integers, the dat=
a model MAY use a different data type<br>
&gt; &gt; &gt; &gt; &gt;&gt;=C2=A0 =C2=A0 =C2=A0 that allows differentiatio=
n between zero (0) and NULL.<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; We are talking about RFC 9046? RFC 9046 repeats th=
is sentence<br>
&gt; several<br>
&gt; &gt; &gt; &gt; &gt; times but I find it difficult to infer the intende=
d meaning. If 0 is a<br>
&gt; &gt; &gt; &gt; &gt; legal value, you can&#39;t have it represent &quot=
;NULL&quot; at the same time.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; There are five definitions in the Babel YANG model<br>
&gt; &gt; &gt; &lt;<a href=3D"https://urldefense.com/v3/__https://www.ietf.=
org/archive/id/draft-" rel=3D"noreferrer" target=3D"_blank">https://urldefe=
nse.com/v3/__https://www.ietf.org/archive/id/draft-</a><br>
&gt; ietf-<br>
&gt; &gt; &gt; babel-yang-model-<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; 11.html__;!!BhdT!w6VP0VXwBo8HQB7xl29xPqAxO7zHbtal44Pwbxrh6lIs8a04<br>
&gt; rPj<br>
&gt; &gt; &gt; 0rzZ_DACdBQ$ &gt; that use NULL to represent a special meani=
ng.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; With &#39;babel-route-received-metric&#39;, and &#39;ba=
bel-route-calculated-metric&#39;<br>
&gt; &gt; &gt; values use NULL or 0 to represent that a route was NOT recei=
ved. A non-<br>
&gt; zero<br>
&gt; &gt; &gt; value indicates that a route was received and subsequently a=
dvertised.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; With &#39;babel-expo-mcast-hello-seqno&#39;, and &#39;b=
abel-exp-ucast-hello-<br>
&gt; seqno&#39; a<br>
&gt; &gt; &gt; value of NULL or 0 is used to represent that a multicast, or=
 unicast hello<br>
&gt; &gt; packets<br>
&gt; &gt; &gt; respectively are NOT expected or processing of multicast/uni=
cast packets<br>
&gt; is<br>
&gt; &gt; not<br>
&gt; &gt; &gt; enabled. Although not explicit stated, it also means that th=
e sequence<br>
&gt; number<br>
&gt; &gt; &gt; cannot be a 0.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Finally, with &#39;babel-ucast-hello-seqno&#39; a value=
 of NULL or 0 is used to<br>
&gt; &gt; &gt; represent a unicast hello is not being sent. A non-zero valu=
e reflects the<br>
&gt; &gt; current<br>
&gt; &gt; &gt; sequence number in use for unicast hellos. Again, although n=
ot explicit, it<br>
&gt; also<br>
&gt; &gt; &gt; means that the sequence number cannot be a 0.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; In YANG, we tend to not instantiate leafs that do =
not have a value.<br>
&gt; &gt; &gt; &gt; &gt; Anyway, if a YANG author wants to report a special=
 value to indicate<br>
&gt; &gt; &gt; &gt; &gt; that there is no value, then you have design for i=
t and reserve and<br>
&gt; &gt; &gt; &gt; &gt; set aside a special value from the number space or=
 use a union.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; This YANG model reserves the value of 0 to indicate tha=
t these leafs are<br>
&gt; not<br>
&gt; &gt; &gt; set or the particular attribute is not enabled.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Thanks.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; RFC 9046 uses the same text for things like sequen=
ce numbers.<br>
&gt; Skimming<br>
&gt; &gt; &gt; &gt; &gt; RFC 8966, it seems sequence numbers are 16-bit int=
egers:<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;=C2=A0 =C2=A0Sequence numbers (seqnos) appear in a =
number of Babel data<br>
&gt; &gt; &gt; &gt; &gt;=C2=A0 =C2=A0structures, and they are interpreted a=
s integers modulo 2^(16).<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; The text in the context makes me believe they are =
an unsigned 16-bit<br>
&gt; &gt; &gt; &gt; &gt; integers. If so, there simply is no way to use 0 t=
o indicate that a<br>
&gt; &gt; &gt; &gt; &gt; sequence number is absent. The problem really migh=
t be the text in<br>
&gt; RFC<br>
&gt; &gt; &gt; &gt; &gt; 9046.<br>
&gt; &gt;<br>
&gt; &gt; RFC9046 text is intended to allow and encourage data models to do=
<br>
&gt; whatever<br>
&gt; &gt; they need to do to ensure they can distinguish between a value of=
 0 and a<br>
&gt; NULL<br>
&gt; &gt; value. For example, in BBF TR-181 data model, we use a signed int=
eger for<br>
&gt; these<br>
&gt; &gt; parameters, where &quot;-1&quot; means &quot;null value&quot; and=
 0 to 2^16 represent actual<br>
&gt; &gt; values. This use of -1 and a signed integer to convey NULL for an=
 unsigned<br>
&gt; &gt; integer is a convention that has long been defined in TR-181 data=
 modeling<br>
&gt; &gt; rules. OTOH, Babel implementations written in languages like C *a=
re* able<br>
&gt; to<br>
&gt; &gt; distinguish between a zero-length variable and a zero-value varia=
ble -- so<br>
&gt; their<br>
&gt; &gt; GUIs have no difficulty with this distinction and can simply use =
an unsigned<br>
&gt; &gt; integer.<br>
&gt; &gt;<br>
&gt; &gt; Different data modeling languages are likely to each have their o=
wn<br>
&gt; mechanisms<br>
&gt; &gt; for handling this -- which means it would have been improper for =
RFC9046<br>
&gt; to be<br>
&gt; &gt; proscriptive about *how* a data model should distinguish between =
null<br>
&gt; and 0.<br>
&gt; &gt; Therefore, the text in RFC9046 merely states that although the na=
tive<br>
&gt; variable is<br>
&gt; &gt; a 16-bit unsigned integer, it must be possible to indicate null a=
s something<br>
&gt; &gt; distinct from 0. RFC9046 does not dictate how that should be acco=
mplished.<br>
&gt; The<br>
&gt; &gt; data model needs to ensure this distinction exists using whatever=
 method<br>
&gt; makes<br>
&gt; &gt; sense or whatever convention exists for that data modeling langua=
ge.<br>
&gt; &gt; Barbara<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; netmod mailing list<br>
&gt; &gt; <a href=3D"mailto:netmod@ietf.org" target=3D"_blank">netmod@ietf.=
org</a><br>
&gt; &gt;<br>
&gt; <a href=3D"https://urldefense.com/v3/__https://www.ietf.org/mailman/li=
stinfo/netmo" rel=3D"noreferrer" target=3D"_blank">https://urldefense.com/v=
3/__https://www.ietf.org/mailman/listinfo/netmo</a><br>
&gt; d__;<br>
&gt; &gt; !!BhdT!z9HMtl5ev04-D11rq22Qye-5_sscMd1C-<br>
&gt; &gt; sWwIDBqeMrQ2tPPXauYRZI_wB2KAA$<br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; netmod mailing list<br>
&gt; <a href=3D"mailto:netmod@ietf.org" target=3D"_blank">netmod@ietf.org</=
a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/netmod" rel=3D"norefe=
rrer" target=3D"_blank">https://www.ietf.org/mailman/listinfo/netmod</a><br=
>
<br>
_______________________________________________<br>
netmod mailing list<br>
<a href=3D"mailto:netmod@ietf.org" target=3D"_blank">netmod@ietf.org</a><br=
>
<a href=3D"https://www.ietf.org/mailman/listinfo/netmod" rel=3D"noreferrer"=
 target=3D"_blank">https://www.ietf.org/mailman/listinfo/netmod</a><br>
</blockquote></div></div>

--000000000000ba06df05ccfd3996--

