Re: [netmod] deviation-stmt (7.20.3)

2016-10-04 Thread Andy Bierman
On Fri, Sep 30, 2016 at 9:01 AM, Balazs Lengyel wrote: > My biggest problem with deviations is that a number of things can not be > deviated: > >- description >- reference > > This does seem quite useful. I wonder why it got left out. The way deviations work is rather counter-intuitive

Re: [netmod] How to constrain a leaf to a read-only list of supported values?

2016-10-04 Thread Andy Bierman
On Mon, Oct 3, 2016 at 7:16 AM, Balazs Lengyel wrote: > Hello, > > Similarly to Andy's idea we are thinking about declaring data nodes > static-data. This means that > >- they can not be changed via the management interface e.g. >CLI/Netconf/Restconf >- that they are changed very infr

Re: [netmod] Augment non-existing input?

2016-10-04 Thread Jernej Tuljak
> -Original Message- > From: netmod [mailto:netmod-boun...@ietf.org] On Behalf Of Robert > Varga > Sent: Tuesday, October 4, 2016 1:55 PM > To: netmod@ietf.org > Subject: [netmod] Augment non-existing input? > > Hello, > > I would like to ask about interoperability of RPC's input statemen

Re: [netmod] Augment non-existing input?

2016-10-04 Thread Ladislav Lhotka
Hi Robert, > On 04 Oct 2016, at 13:55, Robert Varga wrote: > > Hello, > > I would like to ask about interoperability of RPC's input statement and > augments. Given two modules: > > module foo { >rpc foo { >output { >leaf foo { type string; } >} >} > } > > m

[netmod] Augment non-existing input?

2016-10-04 Thread Robert Varga
Hello, I would like to ask about interoperability of RPC's input statement and augments. Given two modules: module foo { rpc foo { output { leaf foo { type string; } } } } module bar { import foo { prefix foo; } augment /foo:foo/input { leaf b