[babel] Fw: Babel YANG

tom petch <ietfa@btconnect.com> Fri, 10 September 2021 16:46 UTC

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)

________________________________________
From: tom petch <ietfa@btconnect.com>
Sent: 10 September 2021 17:37
To: d3e3e3@gmail.com

I see a version of the Babel YANG I-D has appeared and that the AD is looking at it.  Looking through it I was struck by the references to a uint16 leaf having a NULL value.  This is not something I am familiar with so I asked on the NETMOD list and they are not familiar with it either.  They suggested that it should be fixed

Some languages have the concept, YANG does not.

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.

Re: [netmod] NULL value for uint16

The RFC editor is not going to fix this, for them it is beyond
editorial. For me it makes sense to report this, let alone to spread
the word that there is no NULL in YANG land. Sure, things like this
should be catched earlier but things are as they are and a late fix
is still better than publishing questionable examples.

/js

On Fri, Sep 10, 2021 at 04:06:14PM +0000, tom petch wrote:
> From: Jürgen Schönwälder <j.schoenwaelder@jacobs-university.de>
> Sent: 10 September 2021 13:14
> 
> I guess the description should be worded as
> 
>   "This leaf does not exist if ..."
> 
> instead of talking about NULL, a concept that does not exist in the
> YANG language and the protocols.
> 
> One subtle point with the "does not exist" approach is that a client
> cannot reliably distinguish between 'a leaf does not exist' and
> 'access to a leaf was denied by an authorization policy'. In practice,
> though, most authorization policies tend to be rather coarse grained.
> 
> <tp>
> 
> Juergen, Lada
> 
> 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 what comes out of the RFC Editor (probably the same as went in: but if you think it significant enough, I would flag it to the WG Chair:-(
> 
> Tom Petch
> 
> /js
> 
> On Fri, Sep 10, 2021 at 11:56:22AM +0000, tom petch wrote:
> > Does NULL have any meaning for a leaf of type uint16?
> >
> > Looking at a leaf of type uint16 the description says that
> > 'This metric will be NULL (no value) ..'
> >
> > 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.  Rather the leaf does not exist which  will be reflected by the protocol accessing the leaf.
> >
> > I see no NULL at least in this context in RFC7950.
> >
> > Tom petch
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod
> 
> --
> 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/>

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




 
Tom Petch