Re: [netmod] Text in import to indicate whether a module is needed as import-only or as implemented

2019-12-18 Thread Schönwälder , Jürgen
On Thu, Dec 19, 2019 at 08:23:27AM +0100, Ladislav Lhotka wrote: > > I don't see how YANG syntax defines this. If a module imports > ietf-netconf-acm, it could be because > > - it just uses a typedef, such as "node-instance-identifier", and then > ietf-netconf-acm needn't be implemented (but

Re: [netmod] Text in import to indicate whether a module is needed as import-only or as implemented

2019-12-18 Thread Ladislav Lhotka
Andy Bierman writes: > On Wed, Dec 18, 2019 at 6:08 AM Balázs Lengyel 40ericsson@dmarc.ietf.org> wrote: > >> Hello Mahesh, >> >> I was asked by the group to include in each import statement whether the >> imported module is needed as import-only or as implemented. IMHO >> netmod/netconf

Re: [netmod] Text in import to indicate whether a module is needed as import-only or as implemented

2019-12-18 Thread Andy Bierman
On Wed, Dec 18, 2019 at 6:08 AM Balázs Lengyel wrote: > Hello Mahesh, > > I was asked by the group to include in each import statement whether the > imported module is needed as import-only or as implemented. IMHO > netmod/netconf group should agree on some standard text for model designers > to

[netmod] Text in import to indicate whether a module is needed as import-only or as implemented

2019-12-18 Thread Balázs Lengyel
Hello Mahesh, I was asked by the group to include in each import statement whether the imported module is needed as import-only or as implemented. IMHO netmod/netconf group should agree on some standard text for model designers to use. Maybe the text proposed below can be used everywhere. The

Re: [netmod] IANA registries and YANG

2019-12-18 Thread Kent Watsen
Maybe this approach can be for the algorithms in the "iana-*algs.yang" modules defined in the crypto-types draft. The '*' expands to symmetric, asymmetric, and hash. The problem is that I'm unsure if there is exists 1-1 registries. But, to the extent there are registries, this approach