Re: [netmod] A question on the parameter overriding in draft-ietf-isis-yang-isis-cfg

2019-06-11 Thread Per Hedeland
On 2019-06-11 15:43, Xufeng Liu wrote: Thank Per for the clear analysis. Since the current YANG RFC7950 does not have a formal way to specify the overriding rule, I agree that the best way is to remove the default statements from "level-1" and "level-2", as Per, Martin, and Rob suggested.

Re: [netmod] A question on the parameter overriding in draft-ietf-isis-yang-isis-cfg

2019-06-11 Thread Xufeng Liu
Thank Per for the clear analysis. Since the current YANG RFC7950 does not have a formal way to specify the overriding rule, I agree that the best way is to remove the default statements from "level-1" and "level-2", as Per, Martin, and Rob suggested. Regards, - Xufeng [Forwarding Per's reply to

Re: [netmod] A question on the parameter overriding in draft-ietf-isis-yang-isis-cfg

2019-06-10 Thread Martin Bjorklund
Hi, Qin Wu wrote: > I think what they are looking for in RFC7950 is generic overridden > rule, i.e., a parent node statement can be overridden by its child > node substatement. See Per's reply to the netmod list. In summary, in this case you should do: container priority { leaf value {

Re: [netmod] A question on the parameter overriding in draft-ietf-isis-yang-isis-cfg

2019-06-10 Thread Rob Wilton (rwilton)
Fore hierarchical configuration, generally the YANG default statement only makes sense for the top level, i.e. the least specific, configuration node. Hence, I think that it would be better if the level-1 and level-2 containers did not use a YANG default statement at all. Instead, the

Re: [netmod] A question on the parameter overriding in draft-ietf-isis-yang-isis-cfg

2019-06-09 Thread Per Hedeland
On 2019-06-09 17:28, Juergen Schoenwaelder wrote: YANG does not have 'levels'. This seems to be an ISIS specific question you should ask on the ISIS list. AFAIK, this list is not restricted to discussions of what YANG "is" or "has", but also covers (at least) how YANG can be used, and what

Re: [netmod] A question on the parameter overriding in draft-ietf-isis-yang-isis-cfg

2019-06-09 Thread Juergen Schoenwaelder
Hi, YANG does not have 'levels'. This seems to be an ISIS specific question you should ask on the ISIS list. /js On Sun, Jun 09, 2019 at 10:35:11AM -0400, Xufeng Liu wrote: > In Section 2.3. and many other locations, the current IS-IS model applies > the parameter overriding rule as below: > >

[netmod] A question on the parameter overriding in draft-ietf-isis-yang-isis-cfg

2019-06-09 Thread Xufeng Liu
In Section 2.3. and many other locations, the current IS-IS model applies the parameter overriding rule as below: [Quote]: 2.3 . Per-Level Parameters Some parameters allow a per level configuration. In this case,