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

2020-03-05 Thread Andy Bierman
On Thu, Mar 5, 2020 at 7:52 AM Balázs Lengyel wrote: > > > > > *From:* Andy Bierman > *Sent:* 2020. március 5., csütörtök 16:43 > *To:* Balázs Lengyel > *Cc:* Benoit Claise ; NETMOD WG > *Subject:* Re: [netmod] Text in import to indicate whether a module is > needed as import-only or as

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

2020-03-05 Thread Balázs Lengyel
From: Andy Bierman Sent: 2020. március 5., csütörtök 16:43 To: Balázs Lengyel Cc: Benoit Claise ; NETMOD WG Subject: Re: [netmod] Text in import to indicate whether a module is needed as import-only or as implemented On Thu, Mar 5, 2020 at 5:31 AM Balázs Lengyel

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

2020-03-05 Thread Andy Bierman
On Thu, Mar 5, 2020 at 5:31 AM Balázs Lengyel wrote: > Hello, > > Putting this information on individual schema nodes can be a problem if a > module uses imported items a lot. We have modules with 100+ schema nodes > that use an import, while there are only 7 modules imported. Adding the >

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

2020-03-05 Thread Balázs Lengyel
Hello, Putting this information on individual schema nodes can be a problem if a module uses imported items a lot. We have modules with 100+ schema nodes that use an import, while there are only 7 modules imported. Adding the statement (mandatory/optional to implement) 100 times would be a

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

2020-03-03 Thread Andy Bierman
On Tue, Mar 3, 2020 at 12:45 AM Benoit Claise wrote: > Hi, > > > > On Mon, Mar 2, 2020 at 10:23 AM Ladislav Lhotka wrote: > >> On Mon, 2020-03-02 at 09:52 -0800, Andy Bierman wrote: >> > >> > >> > On Mon, Mar 2, 2020 at 8:57 AM Benoit Claise wrote: >> > > Sorry to resurrect this old email

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

2020-03-03 Thread Benoit Claise
Hi, On Mon, Mar 2, 2020 at 10:23 AM Ladislav Lhotka > wrote: On Mon, 2020-03-02 at 09:52 -0800, Andy Bierman wrote: > > > On Mon, Mar 2, 2020 at 8:57 AM Benoit Claise mailto:bcla...@cisco.com>> wrote: > > Sorry to resurrect this old email thread.

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

2020-03-02 Thread Schönwälder , Jürgen
On Mon, Mar 02, 2020 at 07:23:16PM +0100, Ladislav Lhotka wrote: > > Modules that have to be implemented can be imported only once. Adding this > information to the import statement for such modules is IMO more effective > than > having it in the module description. I don't get how it could

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

2020-03-02 Thread Andy Bierman
On Mon, Mar 2, 2020 at 10:23 AM Ladislav Lhotka wrote: > On Mon, 2020-03-02 at 09:52 -0800, Andy Bierman wrote: > > > > > > On Mon, Mar 2, 2020 at 8:57 AM Benoit Claise wrote: > > > Sorry to resurrect this old email thread. > > > To me, it's an important piece of information to know that >

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

2020-03-02 Thread Ladislav Lhotka
On Mon, 2020-03-02 at 09:52 -0800, Andy Bierman wrote: > > > On Mon, Mar 2, 2020 at 8:57 AM Benoit Claise wrote: > > Sorry to resurrect this old email thread. > > To me, it's an important piece of information to know that ietf-netconf-acm > > is optional to implement. > > > > It seems that we

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

2020-03-02 Thread Andy Bierman
On Mon, Mar 2, 2020 at 8:57 AM Benoit Claise wrote: > Sorry to resurrect this old email thread. > To me, it's an important piece of information to know that ietf-netconf-acm > is optional to implement. > > It seems that we have 3 potential places where to insert this information > 1. The

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

2020-03-02 Thread Benoit Claise
Sorry to resurrect this old email thread. To me, it's an important piece of information to know that ietf-netconf-acm is optional to implement. It seems that we have 3 potential places where to insert this information 1. The associated document. We could and should insert it into the RFC text.

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

2020-01-08 Thread Andy Bierman
On Wed, Jan 8, 2020 at 5:44 AM Ladislav Lhotka wrote: > On Wed, 2020-01-08 at 04:49 -0800, Andy Bierman wrote: > > > > On Wed, Jan 8, 2020 at 1:11 AM Ladislav Lhotka wrote: > > > On Tue, 2020-01-07 at 14:29 +, Balázs Lengyel wrote: > > > > If that is the consensus, I can remove the

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

2020-01-08 Thread Ladislav Lhotka
On Wed, 2020-01-08 at 04:49 -0800, Andy Bierman wrote: > > On Wed, Jan 8, 2020 at 1:11 AM Ladislav Lhotka wrote: > > On Tue, 2020-01-07 at 14:29 +, Balázs Lengyel wrote: > > > If that is the consensus, I can remove the description statements, no big > > > deal. (I actually like the

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

2020-01-08 Thread Andy Bierman
On Wed, Jan 8, 2020 at 1:11 AM Ladislav Lhotka wrote: > On Tue, 2020-01-07 at 14:29 +, Balázs Lengyel wrote: > > If that is the consensus, I can remove the description statements, no big > > deal. (I actually like the statements, but they are not important for > this > > draft) > > Of

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

2020-01-07 Thread Balázs Lengyel
If that is the consensus, I can remove the description statements, no big deal. (I actually like the statements, but they are not important for this draft) Balazs -Original Message- From: Martin Bjorklund Sent: Tuesday, January 7, 2020 2:38 PM To: Balázs Lengyel Cc:

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

2020-01-07 Thread Martin Bjorklund
Hi I agree w/ Andy and others that we should not add this to the import's description. I don't think this kind of conformance text belongs to the import's description. If you think it is important to state this, the best place is probably as plain text in the document itself. /martin

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

2020-01-03 Thread Balázs Lengyel
As a draft author who was asked to add text about the imports IMHO * it would be easy for me to remove the description from the import. Actually I really just want to know what is acceptable to the group, so I can proceed * I also think that adding this text is in most cases easy

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

2019-12-19 Thread Andy Bierman
On Thu, Dec 19, 2019 at 8:00 AM Ladislav Lhotka wrote: > On Thu, 2019-12-19 at 07:52 +, Schönwälder, Jürgen wrote: > > 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

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

2019-12-19 Thread Ladislav Lhotka
On Thu, 2019-12-19 at 07:52 +, Schönwälder, Jürgen wrote: > 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

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