Re: [netmod] comments on draft-ietf-netmod-yang-instance-file-format-04

2019-10-10 Thread Andy Bierman
On Thu, Oct 10, 2019 at 8:34 AM Andy Bierman wrote: > > > On Thu, Oct 10, 2019 at 5:06 AM Martin Bjorklund wrote: > >> Hi, >> >> I have some mostly cosmetic comments on this draft. >> >> o "YANG" should be spelled "YANG". Not Yang etc. >> >> >> o "NETCONF" should be spelled "NETCONF". >>

Re: [netmod] comments on draft-ietf-netmod-yang-instance-file-format-04

2019-10-10 Thread Andy Bierman
On Thu, Oct 10, 2019 at 5:06 AM Martin Bjorklund wrote: > Hi, > > I have some mostly cosmetic comments on this draft. > > o "YANG" should be spelled "YANG". Not Yang etc. > > > o "NETCONF" should be spelled "NETCONF". > > > o leaf-list module > > The type of this leaf-list is a stri

Re: [netmod] IANA registries

2019-10-10 Thread Ladislav Lhotka
On Thu, 2019-10-10 at 14:07 +0200, Martin Bjorklund wrote: > Ladislav Lhotka wrote: > > Hi, > > > > some of you have probably seen the discussions around > > > > https://tools.ietf.org/html/draft-lhotka-dnsop-iana-class-type-yang-02 > > > > We proposed to adopt it as a work item in the DNSOP WG

Re: [netmod] IANA registries

2019-10-10 Thread Martin Bjorklund
Ladislav Lhotka wrote: > Hi, > > some of you have probably seen the discussions around > > https://tools.ietf.org/html/draft-lhotka-dnsop-iana-class-type-yang-02 > > We proposed to adopt it as a work item in the DNSOP WG, but despite > some support this is probably not going to happen. The subs

[netmod] comments on draft-ietf-netmod-yang-instance-file-format-04

2019-10-10 Thread Martin Bjorklund
Hi, I have some mostly cosmetic comments on this draft. o "YANG" should be spelled "YANG". Not Yang etc. o "NETCONF" should be spelled "NETCONF". o leaf-list module The type of this leaf-list is a string with: pattern '.+@\d{4}-\d{2}-\d{2}\.yang'; I think the revisi

[netmod] IANA registries

2019-10-10 Thread Ladislav Lhotka
Hi, some of you have probably seen the discussions around https://tools.ietf.org/html/draft-lhotka-dnsop-iana-class-type-yang-02 We proposed to adopt it as a work item in the DNSOP WG, but despite some support this is probably not going to happen. The substantial objections are: 1. It is not go

[netmod] YANG 1.0 module uses a grouping from a 1.1 module and the grouping contains 1.1 XPath functions?

2019-10-10 Thread Jernej Tuljak
Hi, there is at least one YANG 1.0 standard module that imports and uses groupings from a YANG 1.1 standard module and at least one such grouping contains must/when statements referencing XPath functions that are not available in 1.0 XPath context. The modules I'm referring to are part of RF

Re: [netmod] ?==?utf-8?q? PYANG refine fault ?

2019-10-10 Thread Martin Bjorklund
Michal Vaško wrote: > Hi, > > yanglint actually validates the module just fine (at least the latest > version) once the grammar errors are fixed. Namely, the spaces before > ";" on lines 191 and 199 are removed. These are not errors. You are allowed to have any number of whitespace (and comment

Re: [netmod] PYANG refine fault ?

2019-10-10 Thread Martin Bjorklund
Hi, Balázs Lengyel wrote: > Hello, > > I was trying to validate the attached model. However pyang keeps complaining > about refining a default for a leaf-list: > > > > ietf-notification-capabilit...@2019-10-10.yang:184: error: "leaf-list" node > "ietf-notification-capabilities::supported-exc

Re: [netmod] ?==?utf-8?q? PYANG refine fault ?

2019-10-10 Thread Michal Vaško
Hi, yanglint actually validates the module just fine (at least the latest version) once the grammar errors are fixed. Namely, the spaces before ";" on lines 191 and 199 are removed. Regards, Michal On Wednesday, October 9, 2019 23:13 CEST, Mahesh Jethanandani wrote: > Hi Balasz, > > In g