Re: [netmod] NULL value for uint16

2021-09-10 Thread Jürgen Schönwälder
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

Re: [netmod] NULL value for uint16

2021-09-10 Thread Lou Berger
Tom, okay, you made me look... The full text is leaf received-metric {    type uint16;    description "The metric with which this route was advertised by the   neighbor, or maximum value (infinity) to indicate the   route was

Re: [netmod] NULL value for uint16

2021-09-10 Thread Randy Presuhn
Hi - On 2021-09-10 9:57 AM, Andy Bierman wrote: On Fri, Sep 10, 2021 at 9:47 AM Randy Presuhn > wrote: Hi - On 2021-09-10 9:42 AM, Andy Bierman wrote: > Hi, > > Maybe the use of [null] in RFC 7951 is confusing people >

Re: [netmod] yang-instance-file include-defaults leaf

2021-09-10 Thread Andy Bierman
On Fri, Sep 10, 2021 at 5:15 AM Balázs Lengyel wrote: > See below as BALAZS4 > > > > *From:* Andy Bierman > *Sent:* 2021. szeptember 10., péntek 4:57 > *To:* Balázs Lengyel > *Cc:* Rob Wilton (rwilton) ; NetMod WG > > *Subject:* Re: [netmod] yang-instance-file include-defaults leaf > > > > >

Re: [netmod] NULL value for uint16

2021-09-10 Thread Andy Bierman
On Fri, Sep 10, 2021 at 9:47 AM Randy Presuhn < randy_pres...@alumni.stanford.edu> wrote: > Hi - > > On 2021-09-10 9:42 AM, Andy Bierman wrote: > > Hi, > > > > Maybe the use of [null] in RFC 7951 is confusing people > > https://datatracker.ietf.org/doc/html/rfc7951#section-6.9 > >

Re: [netmod] NULL value for uint16

2021-09-10 Thread Randy Presuhn
Hi - On 2021-09-10 9:42 AM, Andy Bierman wrote: Hi, Maybe the use of [null] in RFC 7951 is confusing people https://datatracker.ietf.org/doc/html/rfc7951#section-6.9 Are you suggesting that the type of this leaf should be a choice

Re: [netmod] NULL value for uint16

2021-09-10 Thread Andy Bierman
Hi, Maybe the use of [null] in RFC 7951 is confusing people https://datatracker.ietf.org/doc/html/rfc7951#section-6.9 Andy On Fri, Sep 10, 2021 at 9:26 AM tom petch wrote: > From: Jürgen Schönwälder > Sent: 10 September 2021 17:18 > To: tom petch > Cc: netmod@ietf.org > Subject: Re:

Re: [netmod] NULL value for uint16

2021-09-10 Thread tom petch
From: Jürgen Schönwälder Sent: 10 September 2021 17:18 To: tom petch Cc: netmod@ietf.org Subject: 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

Re: [netmod] NULL value for uint16

2021-09-10 Thread Jürgen Schönwälder
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

Re: [netmod] NULL value for uint16

2021-09-10 Thread tom petch
From: Jürgen Schönwälder 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

Re: [netmod] yang-instance-file include-defaults leaf

2021-09-10 Thread Andy Bierman
On Fri, Sep 10, 2021 at 5:15 AM Balázs Lengyel wrote: > See below as BALAZS4 > > > > *From:* Andy Bierman > *Sent:* 2021. szeptember 10., péntek 4:57 > *To:* Balázs Lengyel > *Cc:* Rob Wilton (rwilton) ; NetMod WG > > *Subject:* Re: [netmod] yang-instance-file include-defaults leaf > > > > >

[netmod] netmod - New Meeting Session Request for IETF 112

2021-09-10 Thread IETF Meeting Session Request Tool
A new meeting session request has just been submitted by Lou Berger, a Chair of the netmod working group. - Working Group Name: Network Modeling Area Name: Operations and Management Area Session Requester: Lou Berger Number of

Re: [netmod] NULL value for uint16

2021-09-10 Thread Ladislav Lhotka
On 10. 09. 21 13:56, 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) ..' Without the context, I'd guess it means that the value isn't set and has no default. As you

Re: [netmod] yang-instance-file include-defaults leaf

2021-09-10 Thread Balázs Lengyel
See below as BALAZS4 From: Andy Bierman Sent: 2021. szeptember 10., péntek 4:57 To: Balázs Lengyel Cc: Rob Wilton (rwilton) ; NetMod WG Subject: Re: [netmod] yang-instance-file include-defaults leaf On Thu, Sep 9, 2021 at 6:19 AM Balázs Lengyel mailto:balazs.leng...@ericsson.com>

Re: [netmod] NULL value for uint16

2021-09-10 Thread Jürgen Schönwälder
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

[netmod] NULL value for uint16

2021-09-10 Thread tom petch
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.

Re: [netmod] [bmwg] WG Adoption Call for draft-vassilev-bmwg-network-interconnect-tester-06

2021-09-10 Thread Vladimir Vassilev
On 09/09/2021 12.05, tom petch wrote: From: bmwg on behalf of MORTON JR., AL Sent: 08 September 2021 14:35 BMWG: A WG Adoption Call for the Internet-Draft on A YANG Data Model for Network Interconnect Tester Management draft-vassilev-bmwg-network-interconnect-tester-06