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
From: Andy Bierman Sent: 19 March 2021 11:55 On Fri, Mar 19, 2021 at 2:23 AM tom petch mailto:ie...@btconnect.com>> wrote: From: Andy Bierman mailto:a...@yumaworks.com>> Sent: 18 March 2021 18:02 On Thu, Mar 18, 2021 at 10:41 AM Don Fedyk mailto:dfe...@labn.net>

Re: [netmod] Use of prefixes in YANG models

2021-03-19 Thread Andy Bierman
On Fri, Mar 19, 2021 at 2:23 AM tom petch wrote: > From: Andy Bierman > Sent: 18 March 2021 18:02 > > On Thu, Mar 18, 2021 at 10:41 AM Don Fedyk dfe...@labn.net>> wrote: > So you are saying I should beat up on the tool chain people that have not > followed the spec. I tried that already 😊 , but

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
From: Andy Bierman Sent: 18 March 2021 18:02 On Thu, Mar 18, 2021 at 10:41 AM Don Fedyk mailto:dfe...@labn.net>> wrote: So you are saying I should beat up on the tool chain people that have not followed the spec. I tried that already 😊 , but since I can redefine the prefixes locally as a worka

Re: [netmod] Use of prefixes in YANG models

2021-03-19 Thread Ladislav Lhotka
Don Fedyk writes: > Clarity and consistency would help. Right, but mainly human readers. Properly written tools should have no problems with > > Many of the supporting tool chains are picky about prefixes. IE they > must be the same as in the definition file. I have a case where This is sim