[netmod] How to model a leafref in union conforming to RFC6020?

2015-12-11 Thread GUBALLA, JENS (JENS)
Hi, According to RFC6020 a leafref within a union is not allowed. This issue is captured by Y30 of the yang1.1 issue list. My question: how can such a construct as show below be modeled conforming to RFC6020? leaf the_reference {type uint8;} leaf something { type union {

Re: [netmod] effect of include in a submodule

2015-12-11 Thread Ladislav Lhotka
Hi Michal, submodule stuff was considerably simplified in draft-ietf-netmod-rfc6020bis, I think it would be better to use the new logic everywhere. Essentially, in YANG 1.1 includes are only effective in the main module, and the result is the same as if the submodule definition were placed in

Re: [netmod] [yang-doctors] Working group Last Call: draft-ietf-netmod-acl-model-06

2015-12-11 Thread Juergen Schoenwaelder
On Wed, Dec 09, 2015 at 08:27:04AM -0800, Nadeau Thomas wrote: > > This email initiates a NETMOD WG Last call for > draft-ietf-netmod-acl-model-06. > Please review the draft and make any comments to the list by Wednesday, 16 > December, 2015 > by 8AM EST. > Technical - I am not sure I

Re: [netmod] derived-from() and derived-from-or-self() arguments

2015-12-11 Thread Jernej Tuljak
Ladislav Lhotka je 11.12.2015 ob 9:55 napisal: On 11 Dec 2015, at 09:23, Martin Bjorklund wrote: William Lupton wrote: Martin, Thanks for the reply and sorry for my delay in following up. Maybe I'm misunderstanding your point, but surely any

Re: [netmod] How to model a leafref in union conforming to RFC6020?

2015-12-11 Thread Ladislav Lhotka
> On 11 Dec 2015, at 10:29, GUBALLA, JENS (JENS) > wrote: > > Hi, > > According to RFC6020 a leafref within a union is not allowed. This issue is > captured by Y30 of the yang1.1 issue list. > > My question: how can such a construct as show below be modeled

Re: [netmod] derived-from() and derived-from-or-self() arguments

2015-12-11 Thread William Lupton
Thanks all. > On 11 Dec 2015, at 09:50, Jernej Tuljak wrote: > > Ladislav Lhotka je 11.12.2015 ob 9:55 napisal: >> >> A code that evaluating these functions needs to know a lot about the >> underlying YANG data model anyway, so I think it is no problem to resolve >>

Re: [netmod] derived-from() and derived-from-or-self() arguments

2015-12-11 Thread Ladislav Lhotka
> On 11 Dec 2015, at 12:22, Martin Bjorklund wrote: > > Jernej Tuljak wrote: >> Ladislav Lhotka je 11.12.2015 ob 9:55 napisal: On 11 Dec 2015, at 09:23, Martin Bjorklund wrote: William Lupton

Re: [netmod] How to model a leafref in union conforming to RFC6020?

2015-12-11 Thread Jernej Tuljak
GUBALLA, JENS (JENS) je 11.12.2015 ob 14:40 napisal: Hi Lada, -Original Message- From: Ladislav Lhotka [mailto:lho...@nic.cz] Sent: Freitag, 11. Dezember 2015 11:51 To: GUBALLA, JENS (JENS) Cc: netmod@ietf.org Subject: Re: [netmod] How to model a leafref in union conforming to RFC6020?

[netmod] Broadband Forum questions on RFC 6087bis

2015-12-11 Thread William Lupton
All, Here are some questions / comments from the Broadband Forum on RFC 6087bis-05. Thanks, William 1. Potentially confusing use of the term "prefix" Section 5.1 (Module Naming Conventions) talks about prefixes but in this context means "strings at the beginning of module names"

Re: [netmod] Broadband Forum questions on RFC 6020bis

2015-12-11 Thread William Lupton
Thanks for the clarifications. A few follow-ups below. Cheers, W. >> a. Extending a "when" statement so it is true for a wider set of >> conditions (example: realising that an RFC 7223 interface object >> applies to additional interface types). > > This is allowed by: > > o A "when" statement

[netmod] Broadband Forum intention of using ietf-entity YANG module

2015-12-11 Thread William Lupton
All, The Broadband Forum would like to use the ietf-entity YANG module (currently draft-entitydt-netmod-entity) for equipment management but we are a bit concerned about its draft status and its dependence on YANG 1.1. Any advice or reassurance? Thanks, William

Re: [netmod] Broadband Forum questions on RFC 6020bis

2015-12-11 Thread Martin Bjorklund
William Lupton wrote: > Thanks for the clarifications. A few follow-ups below. Cheers, W. > > >> a. Extending a "when" statement so it is true for a wider set of > >> conditions (example: realising that an RFC 7223 interface object > >> applies to additional

Re: [netmod] How to model a leafref in union conforming to RFC6020?

2015-12-11 Thread Martin Bjorklund
"GUBALLA, JENS (JENS)" wrote: > Hi Lada, > > > -Original Message- > > From: Ladislav Lhotka [mailto:lho...@nic.cz] > > Sent: Freitag, 11. Dezember 2015 11:51 > > To: GUBALLA, JENS (JENS) > > Cc: netmod@ietf.org > > Subject: Re: [netmod] How to model a

Re: [netmod] How to model a leafref in union conforming to RFC6020?

2015-12-11 Thread GUBALLA, JENS (JENS)
Hi Lada, > -Original Message- > From: Ladislav Lhotka [mailto:lho...@nic.cz] > Sent: Freitag, 11. Dezember 2015 11:51 > To: GUBALLA, JENS (JENS) > Cc: netmod@ietf.org > Subject: Re: [netmod] How to model a leafref in union conforming to > RFC6020? > > > > On 11 Dec 2015, at 10:29,

Re: [netmod] I-D Action: draft-ietf-netmod-rfc6020bis-09.txt

2015-12-11 Thread Martin Bjorklund
Hi, This version addresses all issues reported on -08 during (and after) the WGLC period. We didn't reach full agreement on all these issues, but I believe the document reflects WG consensus. /martin internet-dra...@ietf.org wrote: > > A New Internet-Draft is available from the on-line

[netmod] I-D Action: draft-ietf-netmod-rfc6020bis-09.txt

2015-12-11 Thread internet-drafts
A New Internet-Draft is available from the on-line Internet-Drafts directories. This draft is a work item of the NETCONF Data Modeling Language Working Group of the IETF. Title : The YANG 1.1 Data Modeling Language Author : Martin Bjorklund Filename

Re: [netmod] I-D Action: draft-ietf-netmod-rfc6020bis-09.txt

2015-12-11 Thread Ladislav Lhotka
Sorry, I sent my message by mistake also to internet-drafts and i-d-announce mailing lists. Please remove them from your reply. Lada > On 12 Dec 2015, at 08:31, Ladislav Lhotka wrote: > > Hi, > > I propose an additional change to the new text in sec. 7.17, paragraph 7: > >

Re: [netmod] I-D Action: draft-ietf-netmod-rfc6020bis-09.txt

2015-12-11 Thread Ladislav Lhotka
Hi, I propose an additional change to the new text in sec. 7.17, paragraph 7: OLD If the augmentation adds mandatory nodes… NEW If the augmentation adds mandatory configuration nodes… Unknown nodes appearing in state data, RPC output or notification may possibly break an old

[netmod] effect of include in a submodule

2015-12-11 Thread Michal Vaško
Hi, I want to make sure I understand the effect of including a submodule in another submodule (of the same belongs-to parent, naturally). RFC 6020 sec. 7.1.6 says: "When a module includes a submodule, it incorporates the contents of the submodule into the node hierarchy of the module. When a

Re: [netmod] derived-from() and derived-from-or-self() arguments

2015-12-11 Thread Martin Bjorklund
William Lupton wrote: > Martin, > > Thanks for the reply and sorry for my delay in following up. Maybe I'm > misunderstanding your point, but surely any node-set argument can be a > prefixed string, e.g I found this example in a NETMOD "Y26 again, > sorry" thread. >

Re: [netmod] derived-from() and derived-from-or-self() arguments

2015-12-11 Thread Ladislav Lhotka
> On 11 Dec 2015, at 09:23, Martin Bjorklund wrote: > > William Lupton wrote: >> Martin, >> >> Thanks for the reply and sorry for my delay in following up. Maybe I'm >> misunderstanding your point, but surely any node-set argument can be a >>