Re: [netmod] Use of prefixes in YANG models

2021-03-19 Thread Mahesh Jethanandani
> On Mar 19, 2021, at 12:46 AM, Juergen Schoenwaelder > wrote: > > On Fri, Mar 19, 2021 at 09:23:06AM +, tom petch wrote: >> >> If the spec was more precise it would settle the arguments. >> > > RFC 7950 says that tools must support a prefix statement inside an > import statement, whic

Re: [netmod] Use of prefixes in YANG models

2021-03-19 Thread Juergen Schoenwaelder
On Fri, Mar 19, 2021 at 04:38:11PM +, tom petch wrote: > > > Apologies for the useless quoting that my webmail imposes on me:-( > Your webmail does not allow to edit the quoted text? /js -- Juergen Schoenwaelder Jacobs University Bremen gGmbH Phone: +49 421 200 3587 Camp

Re: [netmod] Use of prefixes in YANG models

2021-03-19 Thread tom petch
;mailto:mjethanand...@gmail.com<mailto:mjethanand...@gmail.com>>>; Juergen Schoenwaelder mailto:j.schoenwael...@jacobs-university.de><mailto:j.schoenwael...@jacobs-university.de<mailto:j.schoenwael...@jacobs-university.de>>>; netmod@ietf.org<mailto:netmod@ietf.org>&

Re: [netmod] Use of prefixes in YANG models

2021-03-19 Thread Andy Bierman
gt; > Tom Petch > > Andy > Regards, > Don > > > Andy > > > From: Andy Bierman mailto:a...@yumaworks.com>> > Sent: Thursday, March 18, 2021 1:23 PM > To: Don Fedyk mailto:dfe...@labn.net>> > Cc: tom petch mailto:ie...@btconnect.com>>;

Re: [netmod] Use of prefixes in YANG models

2021-03-19 Thread Juergen Schoenwaelder
On Fri, Mar 19, 2021 at 09:23:06AM +, tom petch wrote: > > If the spec was more precise it would settle the arguments. > RFC 7950 says that tools must support a prefix statement inside an import statement, which overrides the prefix defined in the imported module. A tool that does not suppor

Re: [netmod] Use of prefixes in YANG models

2021-03-19 Thread tom petch
@btconnect.com>>; Mahesh Jethanandani mailto:mjethanand...@gmail.com>>; Juergen Schoenwaelder mailto:j.schoenwael...@jacobs-university.de>>; netmod@ietf.org<mailto:netmod@ietf.org> Subject: Re: [netmod] Use of prefixes in YANG models On Thu, Mar 18, 2021 at 10:07 AM Don Fedyk

Re: [netmod] Use of prefixes in YANG models

2021-03-19 Thread Ladislav Lhotka
gt; > Thanks > Don > > > > -Original Message- > From: netmod On Behalf Of tom petch > Sent: Thursday, March 18, 2021 7:50 AM > To: Mahesh Jethanandani ; Juergen Schoenwaelder > > Cc: netmod@ietf.org > Subject: Re: [netmod] Use of prefixes in YANG mod

Re: [netmod] Use of prefixes in YANG models

2021-03-18 Thread Andy Bierman
> *From:* Andy Bierman > *Sent:* Thursday, March 18, 2021 1:23 PM > *To:* Don Fedyk > *Cc:* tom petch ; Mahesh Jethanandani < > mjethanand...@gmail.com>; Juergen Schoenwaelder < > j.schoenwael...@jacobs-university.de>; netmod@ietf.org > *Subject:* Re: [netmod] Use

Re: [netmod] Use of prefixes in YANG models

2021-03-18 Thread Don Fedyk
precise it would settle the arguments. Regards, Don From: Andy Bierman Sent: Thursday, March 18, 2021 1:23 PM To: Don Fedyk Cc: tom petch ; Mahesh Jethanandani ; Juergen Schoenwaelder ; netmod@ietf.org Subject: Re: [netmod] Use of prefixes in YANG models On Thu, Mar 18, 2021 at 10:07 AM Don

Re: [netmod] Use of prefixes in YANG models

2021-03-18 Thread Andy Bierman
> > > > -Original Message- > From: netmod On Behalf Of tom petch > Sent: Thursday, March 18, 2021 7:50 AM > To: Mahesh Jethanandani ; Juergen Schoenwaelder < > j.schoenwael...@jacobs-university.de> > Cc: netmod@ietf.org > Subject: Re: [netmod] Use of pref

Re: [netmod] Use of prefixes in YANG models

2021-03-18 Thread Don Fedyk
wo-port-mac-relay-bridge' works too. Thanks Don -Original Message- From: netmod On Behalf Of tom petch Sent: Thursday, March 18, 2021 7:50 AM To: Mahesh Jethanandani ; Juergen Schoenwaelder Cc: netmod@ietf.org Subject: Re: [netmod] Use of prefixes in YANG models From: netmod

Re: [netmod] Use of prefixes in YANG models

2021-03-18 Thread tom petch
From: netmod on behalf of Juergen Schoenwaelder Sent: 18 March 2021 08:05 We often do not do a good job in distinguishing technical requirements from usage guidelines. (And RFC 2119 keywords make things worse.) As far as I recall, the intent of the RFC 8407 text was to say that it is helpful f

Re: [netmod] Use of prefixes in YANG models

2021-03-18 Thread Juergen Schoenwaelder
We often do not do a good job in distinguishing technical requirements from usage guidelines. (And RFC 2119 keywords make things worse.) As far as I recall, the intent of the RFC 8407 text was to say that it is helpful for _humans_ to always use 'if:name' when you refer to the leaf 'name' defined

[netmod] Use of prefixes in YANG models

2021-03-17 Thread Mahesh Jethanandani
I have seen the debate on the use of prefixes in YANG models, specially as it relates to their use when importing a model. I think it would nice to be clear on what is required, what is nice, and what is not ok to do. I do not want to confuse this discussion with the length of the prefix, which