Re: [netmod] yang-data-ext issues

2018-06-25 Thread Kent Watsen
>> The authors of yang-data-ext met today to discuss how to move this >> draft forward. After about an hour, we decided that the best course >> of action is to: >> >> * clarify RFC 8040 rc:yang-data for the zerotouch use case >> - and update the zerotouch draft to use rc:yang-data >>

Re: [netmod] yang-data-ext issues

2018-06-25 Thread Joe Clarke
On 6/25/18 14:56, Kent Watsen wrote: > > The authors of yang-data-ext met today to discuss how to move this draft > forward. After about an hour, we decided that the best course of action is > to: > > * clarify RFC 8040 rc:yang-data for the zerotouch use case > - and update the

Re: [netmod] yang-data-ext issues

2018-06-25 Thread Kent Watsen
The authors of yang-data-ext met today to discuss how to move this draft forward. After about an hour, we decided that the best course of action is to: * clarify RFC 8040 rc:yang-data for the zerotouch use case - and update the zerotouch draft to use rc:yang-data * request this WG

Re: [netmod] yang-data-ext issues

2018-06-01 Thread Ladislav Lhotka
Juergen Schoenwaelder writes: > On Tue, May 29, 2018 at 03:58:33PM +, Kent Watsen wrote: >> [resurrecting this thread] >> >> Currently the zerotouch draft has a normative reference to this draft. >> I will this week post an update to the zerotouch draft to resolve the >> netconf list thread

Re: [netmod] yang-data-ext issues

2018-05-29 Thread Juergen Schoenwaelder
On Tue, May 29, 2018 at 03:58:33PM +, Kent Watsen wrote: > [resurrecting this thread] > > Currently the zerotouch draft has a normative reference to this draft. > I will this week post an update to the zerotouch draft to resolve the > netconf list thread "a couple zerotouch-21 issues". It

Re: [netmod] yang-data-ext issues

2018-05-29 Thread Kent Watsen
[resurrecting this thread] Currently the zerotouch draft has a normative reference to this draft. I will this week post an update to the zerotouch draft to resolve the netconf list thread "a couple zerotouch-21 issues". It would be easy for me to also switch back to using rc:yang-data, but I

Re: [netmod] yang-data-ext issues

2018-05-04 Thread Robert Varga
On 27/04/18 12:03, Martin Bjorklund wrote: >>> This is true. We used to do this before yang-data was available. >> If I remember correctly, the stuff was inside groupings that were not used >> anywhere. > Which doesn't quite work, since no namespace is attached to the nodes. > True, but that is

Re: [netmod] yang-data-ext issues

2018-05-04 Thread Robert Varga
On 27/04/18 12:03, Martin Bjorklund wrote: >> It would be great to remove NETCONF specifics from YANG and I'd be willing to >> contribute to this work. > This is a different topic though. +1 and count me in, please. Thanks, Robert signature.asc Description: OpenPGP digital signature

Re: [netmod] yang-data-ext issues

2018-05-02 Thread Ladislav Lhotka
On Wed, 2018-05-02 at 11:36 +0200, Juergen Schoenwaelder wrote: > On Wed, May 02, 2018 at 11:25:06AM +0200, Martin Bjorklund wrote: > > > > The primary use case is not "generic RPC messages", but standalone > > instance documents, error-info structures, etc. > > > > > This doesn't seem to be a

Re: [netmod] yang-data-ext issues

2018-05-02 Thread Juergen Schoenwaelder
On Wed, May 02, 2018 at 11:25:06AM +0200, Martin Bjorklund wrote: > > The primary use case is not "generic RPC messages", but standalone > instance documents, error-info structures, etc. > > > This doesn't seem to be a fundamental change in YANG's scope, or > > architecture. The proper solution

Re: [netmod] yang-data-ext issues

2018-05-02 Thread Martin Bjorklund
Robert Wilton wrote: > > > On 02/05/2018 08:25, Martin Bjorklund wrote: > > Andy Bierman wrote: > >> On Mon, Apr 30, 2018 at 7:09 AM, Ladislav Lhotka > >> wrote: > >> > >>> Andy Bierman writes: > >>> > On Fri, Apr

Re: [netmod] yang-data-ext issues

2018-05-02 Thread Robert Wilton
On 02/05/2018 08:25, Martin Bjorklund wrote: Andy Bierman wrote: On Mon, Apr 30, 2018 at 7:09 AM, Ladislav Lhotka wrote: Andy Bierman writes: On Fri, Apr 27, 2018 at 8:13 AM, Ladislav Lhotka wrote: On Fri,

Re: [netmod] yang-data-ext issues

2018-05-02 Thread Martin Bjorklund
Ladislav Lhotka wrote: > On Wed, 2018-05-02 at 09:16 +0200, Martin Bjorklund wrote: > > Ladislav Lhotka wrote: > > > On Fri, 2018-04-27 at 12:19 +0100, Robert Wilton wrote: > > > > > > > > On 27/04/2018 12:03, Ladislav Lhotka wrote: > > > > > On Fri, 2018-04-27 at

Re: [netmod] yang-data-ext issues

2018-05-02 Thread Ladislav Lhotka
On Wed, 2018-05-02 at 09:16 +0200, Martin Bjorklund wrote: > Ladislav Lhotka wrote: > > On Fri, 2018-04-27 at 12:19 +0100, Robert Wilton wrote: > > > > > > On 27/04/2018 12:03, Ladislav Lhotka wrote: > > > > On Fri, 2018-04-27 at 11:23 +0100, Robert Wilton wrote: > > > > > On

Re: [netmod] yang-data-ext issues

2018-05-02 Thread Martin Bjorklund
Kent Watsen wrote: > > Lada writes: > > Andy writes: > >>IMO, the yang-data defined in RFC 8040 has a clear purpose, and it > >>is sufficient for that purpose, which is a YANG representation of > >>an instance document (such as a protocol message or file). > > > > The same

Re: [netmod] yang-data-ext issues

2018-05-02 Thread Martin Bjorklund
Andy Bierman wrote: > On Mon, Apr 30, 2018 at 7:09 AM, Ladislav Lhotka wrote: > > > Andy Bierman writes: > > > > > On Fri, Apr 27, 2018 at 8:13 AM, Ladislav Lhotka wrote: > > > > > >> On Fri, 2018-04-27 at 16:47 +0200,

Re: [netmod] yang-data-ext issues

2018-05-01 Thread Juergen Schoenwaelder
On Tue, May 01, 2018 at 08:33:58PM +, Kent Watsen wrote: > > Juergen writes: > > Kent writes: > >> I don't understand talk about abandoning this draft. There is no question > >> that it is needed (e.g., anima vouch, zerotouch, tail-f's "structure"), > >> and RFC 8040 is unsatisfactory

Re: [netmod] yang-data-ext issues

2018-05-01 Thread Kent Watsen
Juergen writes: > Kent writes: >> I don't understand talk about abandoning this draft. There is no question >> that it is needed (e.g., anima vouch, zerotouch, tail-f's "structure"), >> and RFC 8040 is unsatisfactory because 1) it doesn't allow a top-level >> 'choice' between two containers and

Re: [netmod] yang-data-ext issues

2018-05-01 Thread Juergen Schoenwaelder
On Mon, Apr 30, 2018 at 05:57:34PM +, Kent Watsen wrote: > > I don't understand talk about abandoning this draft. There is no question > that it is needed (e.g., anima vouch, zerotouch, tail-f's "structure"), > and RFC 8040 is unsatisfactory because 1) it doesn't allow a top-level > 'choice'

Re: [netmod] yang-data-ext issues

2018-04-30 Thread Kent Watsen
Lada writes: > Andy writes: >>IMO, the yang-data defined in RFC 8040 has a clear purpose, and it >>is sufficient for that purpose, which is a YANG representation of >>an instance document (such as a protocol message or file). > > The same is basically true even without the extension. For example,

Re: [netmod] yang-data-ext issues

2018-04-30 Thread Andy Bierman
On Mon, Apr 30, 2018 at 7:09 AM, Ladislav Lhotka wrote: > Andy Bierman writes: > > > On Fri, Apr 27, 2018 at 8:13 AM, Ladislav Lhotka wrote: > > > >> On Fri, 2018-04-27 at 16:47 +0200, Juergen Schoenwaelder wrote: > >> > On Fri, Apr 27, 2018 at

Re: [netmod] yang-data-ext issues

2018-04-30 Thread Kent Watsen
>Martin wrote before: > No I was thinking along the lines of: > > ydx:yang-data my-first-rpc-error-info { >... > } > > rpc my-first-rpc { >... >opx:error-info-structure my-first-rpc-error-info; > } > > I.e., use yang-data to define a structure, and use another statement > to tie

Re: [netmod] yang-data-ext issues

2018-04-30 Thread Ladislav Lhotka
Andy Bierman writes: > On Fri, Apr 27, 2018 at 8:13 AM, Ladislav Lhotka wrote: > >> On Fri, 2018-04-27 at 16:47 +0200, Juergen Schoenwaelder wrote: >> > On Fri, Apr 27, 2018 at 04:34:38PM +0200, Ladislav Lhotka wrote: >> > >> > > [...] define a special

Re: [netmod] yang-data-ext issues

2018-04-27 Thread Juergen Schoenwaelder
On Fri, Apr 27, 2018 at 04:34:38PM +0200, Ladislav Lhotka wrote: > [...] define a special datastore for it, such as "error-messages". This seems worse than using, well, RFC 8040 yang-data. The proper clear solution for RPCs and actions would be to enable the definition of error details right in

Re: [netmod] yang-data-ext issues

2018-04-27 Thread Robert Wilton
On 27/04/2018 12:03, Ladislav Lhotka wrote: On Fri, 2018-04-27 at 11:23 +0100, Robert Wilton wrote: On 27/04/2018 11:03, Martin Bjorklund wrote: Hi, Ladislav Lhotka wrote: On Thu, 2018-04-26 at 17:52 -0700, Andy Bierman wrote: On Wed, Apr 25, 2018 at 10:53 PM, Ladislav

Re: [netmod] yang-data-ext issues

2018-04-27 Thread Robert Wilton
On 27/04/2018 11:03, Martin Bjorklund wrote: Hi, Ladislav Lhotka wrote: On Thu, 2018-04-26 at 17:52 -0700, Andy Bierman wrote: On Wed, Apr 25, 2018 at 10:53 PM, Ladislav Lhotka wrote: Ladislav Lhotka writes: On Wed, 2018-04-25 at 08:04

Re: [netmod] yang-data-ext issues

2018-04-27 Thread Martin Bjorklund
Hi, Ladislav Lhotka wrote: > On Thu, 2018-04-26 at 17:52 -0700, Andy Bierman wrote: > > > > > > On Wed, Apr 25, 2018 at 10:53 PM, Ladislav Lhotka wrote: > > > Ladislav Lhotka writes: > > > > > > > On Wed, 2018-04-25 at 08:04 -0700, Andy Bierman

Re: [netmod] yang-data-ext issues

2018-04-27 Thread Ladislav Lhotka
On Thu, 2018-04-26 at 17:52 -0700, Andy Bierman wrote: > > > On Wed, Apr 25, 2018 at 10:53 PM, Ladislav Lhotka wrote: > > Ladislav Lhotka writes: > > > > > On Wed, 2018-04-25 at 08:04 -0700, Andy Bierman wrote: > > >> > > >> > > >> On Wed, Apr 25, 2018 at 7:05

Re: [netmod] yang-data-ext issues

2018-04-25 Thread Ladislav Lhotka
Ladislav Lhotka writes: > On Wed, 2018-04-25 at 08:04 -0700, Andy Bierman wrote: >> >> >> On Wed, Apr 25, 2018 at 7:05 AM, Ladislav Lhotka wrote: >> > On Wed, 2018-04-25 at 15:55 +0200, Juergen Schoenwaelder wrote: >> > > On Tue, Apr 24, 2018 at 04:36:01PM +0200,

Re: [netmod] yang-data-ext issues

2018-04-25 Thread Andy Bierman
On Wed, Apr 25, 2018 at 7:05 AM, Ladislav Lhotka wrote: > On Wed, 2018-04-25 at 15:55 +0200, Juergen Schoenwaelder wrote: > > On Tue, Apr 24, 2018 at 04:36:01PM +0200, Martin Bjorklund wrote: > > > Ladislav Lhotka wrote: > > > > Martin Bjorklund

Re: [netmod] yang-data-ext issues

2018-04-25 Thread Andy Bierman
On Wed, Apr 25, 2018 at 12:03 AM, Martin Bjorklund wrote: > Andy Bierman wrote: > > On Mon, Apr 23, 2018 at 1:08 PM, Martin Bjorklund > wrote: > > > > > Andy Bierman wrote: > > > > > > > > > > > > > > > > > I do

Re: [netmod] yang-data-ext issues

2018-04-25 Thread Andy Bierman
On Tue, Apr 24, 2018 at 11:57 PM, Martin Bjorklund wrote: > Kent Watsen wrote: > > > > > People want to use YANG to define the schema for an XML or JSON > > > representation of a stand-alone document. > > > > Agreed > > > > > > > The only data needed must

Re: [netmod] yang-data-ext issues

2018-04-25 Thread Martin Bjorklund
Andy Bierman wrote: > On Mon, Apr 23, 2018 at 1:08 PM, Martin Bjorklund wrote: > > > Andy Bierman wrote: > > > > > > > > > > > > > > I do not understand the need for a yang-data structure that > > represents > > > > data > > > > >

Re: [netmod] yang-data-ext issues

2018-04-25 Thread Martin Bjorklund
Kent Watsen wrote: > > > People want to use YANG to define the schema for an XML or JSON > > representation of a stand-alone document. > > Agreed > > > > The only data needed must be module + local-name. > > Or maybe: module + local-name + context, where context is one

Re: [netmod] yang-data-ext issues

2018-04-24 Thread Kent Watsen
> People want to use YANG to define the schema for an XML or JSON > representation of a stand-alone document. Agreed > The only data needed must be module + local-name. Or maybe: module + local-name + context, where context is one of: - data nodes - RPC/actions - notifications -

Re: [netmod] yang-data-ext issues

2018-04-24 Thread Andy Bierman
On Mon, Apr 23, 2018 at 1:08 PM, Martin Bjorklund wrote: > Andy Bierman wrote: > > > > > > > > > > > I do not understand the need for a yang-data structure that > represents > > > data > > > > that can be instantiated anywhere and everywhere. > > > > >

Re: [netmod] yang-data-ext issues

2018-04-24 Thread Ladislav Lhotka
On Tue, 2018-04-24 at 16:36 +0200, Martin Bjorklund wrote: > Ladislav Lhotka wrote: > > Martin Bjorklund writes: > > > > > Hi, > > > > > > I am not sure what this statement tells us re. the issue in this email > > > thread. > > > > It tells us that, in my view,

Re: [netmod] yang-data-ext issues

2018-04-24 Thread Martin Bjorklund
Robert Wilton wrote: > > > On 23/04/2018 21:08, Martin Bjorklund wrote: > > Andy Bierman wrote: > >>> > I do not understand the need for a yang-data structure that represents > >>> data > that can be instantiated anywhere and everywhere. >

Re: [netmod] yang-data-ext issues

2018-04-24 Thread Martin Bjorklund
Ladislav Lhotka wrote: > Robert Varga writes: > > > On 23/04/18 18:51, Juergen Schoenwaelder wrote: > >> Some people will say that the cost of a new language version is high. > >> (Well, when we did 1.1, some people said it will never be deployed.) > >> Anyway, not

Re: [netmod] yang-data-ext issues

2018-04-24 Thread Martin Bjorklund
Ladislav Lhotka wrote: > Martin Bjorklund writes: > > > Hi, > > > > I am not sure what this statement tells us re. the issue in this email > > thread. > > It tells us that, in my view, the approach taken in this document is a > bad idea. Do you mean that the WG

Re: [netmod] yang-data-ext issues

2018-04-24 Thread Ladislav Lhotka
Martin Bjorklund writes: > Hi, > > I am not sure what this statement tells us re. the issue in this email > thread. It tells us that, in my view, the approach taken in this document is a bad idea. Lada > > > /martin > > > Juergen Schoenwaelder

Re: [netmod] yang-data-ext issues

2018-04-24 Thread Ladislav Lhotka
Robert Varga writes: > On 23/04/18 18:51, Juergen Schoenwaelder wrote: >> Some people will say that the cost of a new language version is high. >> (Well, when we did 1.1, some people said it will never be deployed.) >> Anyway, not bumping the YANG version number but having instead

Re: [netmod] yang-data-ext issues

2018-04-24 Thread Robert Wilton
On 23/04/2018 21:08, Martin Bjorklund wrote: Andy Bierman wrote: I do not understand the need for a yang-data structure that represents data that can be instantiated anywhere and everywhere. AFAIK noone is proposing that. I do not want to break existing tools

Re: [netmod] yang-data-ext issues

2018-04-23 Thread Andy Bierman
On Mon, Apr 23, 2018 at 10:36 AM, Juergen Schoenwaelder < j.schoenwael...@jacobs-university.de> wrote: > On Mon, Apr 23, 2018 at 07:18:38PM +0200, Robert Varga wrote: > > On 23/04/18 18:51, Juergen Schoenwaelder wrote: > > > Some people will say that the cost of a new language version is high. >

Re: [netmod] yang-data-ext issues

2018-04-23 Thread Martin Bjorklund
Andy Bierman wrote: > > > > > > > > I do not understand the need for a yang-data structure that represents > > data > > > that can be instantiated anywhere and everywhere. > > > > AFAIK noone is proposing that. > > > > > I do not want to break > > > existing tools that

Re: [netmod] yang-data-ext issues

2018-04-23 Thread Andy Bierman
> > > > > I do not understand the need for a yang-data structure that represents > data > > that can be instantiated anywhere and everywhere. > > AFAIK noone is proposing that. > > > I do not want to break > > existing tools that expect sibling data nodes in the same module > namespace > > to

Re: [netmod] yang-data-ext issues

2018-04-23 Thread Martin Bjorklund
Hi, I am not sure what this statement tells us re. the issue in this email thread. /martin Juergen Schoenwaelder wrote: > On Sun, Apr 22, 2018 at 02:56:51PM +0200, Ladislav Lhotka wrote: > > > I am much more concerned with some of the post-1.1 features,

Re: [netmod] yang-data-ext issues

2018-04-23 Thread Martin Bjorklund
Andy Bierman wrote: > On Mon, Apr 23, 2018 at 4:28 AM, Martin Bjorklund wrote: > > > Andy Bierman wrote: > > > On Sun, Apr 22, 2018 at 11:52 PM, Martin Bjorklund > > wrote: > > > > > > > Andy Bierman

Re: [netmod] yang-data-ext issues

2018-04-23 Thread Juergen Schoenwaelder
On Mon, Apr 23, 2018 at 07:18:38PM +0200, Robert Varga wrote: > On 23/04/18 18:51, Juergen Schoenwaelder wrote: > > Some people will say that the cost of a new language version is high. > > (Well, when we did 1.1, some people said it will never be deployed.) > > Anyway, not bumping the YANG

Re: [netmod] yang-data-ext issues

2018-04-23 Thread Robert Varga
On 23/04/18 18:51, Juergen Schoenwaelder wrote: > Some people will say that the cost of a new language version is high. > (Well, when we did 1.1, some people said it will never be deployed.) > Anyway, not bumping the YANG version number but having instead several > (optional) language extensions

Re: [netmod] yang-data-ext issues

2018-04-23 Thread Juergen Schoenwaelder
On Sun, Apr 22, 2018 at 02:56:51PM +0200, Ladislav Lhotka wrote: > I am much more concerned with some of the post-1.1 features, also > because YANG is now being updated in several directions without a > clear vision. And another big problem is that YANG extensions are > used for these changes, so

Re: [netmod] yang-data-ext issues

2018-04-23 Thread Robert Varga
On 22/04/18 14:56, Ladislav Lhotka wrote: >> One example: YANG 1.1 was supposed to be a backwards-compatible, yet it >> introduced multiple-inheritence to a language which was previously >> strictly single-inheritence. That sort of change is a major revision of >> the metamodel and certainly does

Re: [netmod] yang-data-ext issues

2018-04-23 Thread Andy Bierman
On Mon, Apr 23, 2018 at 4:28 AM, Martin Bjorklund wrote: > Andy Bierman wrote: > > On Sun, Apr 22, 2018 at 11:52 PM, Martin Bjorklund > wrote: > > > > > Andy Bierman wrote: > > > > On Wed, Apr 18, 2018 at 10:47 AM,

Re: [netmod] yang-data-ext issues

2018-04-23 Thread Martin Bjorklund
Andy Bierman wrote: > On Sun, Apr 22, 2018 at 11:52 PM, Martin Bjorklund wrote: > > > Andy Bierman wrote: > > > On Wed, Apr 18, 2018 at 10:47 AM, Martin Bjorklund > > wrote: > > > > > > > Hi, > > > > > > > > Andy

Re: [netmod] yang-data-ext issues

2018-04-23 Thread Andy Bierman
On Sun, Apr 22, 2018 at 11:52 PM, Martin Bjorklund wrote: > Andy Bierman wrote: > > On Wed, Apr 18, 2018 at 10:47 AM, Martin Bjorklund > wrote: > > > > > Hi, > > > > > > Andy Bierman wrote: > > > > On Wed, Apr 18, 2018

Re: [netmod] yang-data-ext issues

2018-04-23 Thread Martin Bjorklund
Andy Bierman wrote: > On Wed, Apr 18, 2018 at 10:47 AM, Martin Bjorklund wrote: > > > Hi, > > > > Andy Bierman wrote: > > > On Wed, Apr 18, 2018 at 10:26 AM, Kent Watsen > > wrote: > > > > > > > I like Andy's

Re: [netmod] yang-data-ext issues

2018-04-22 Thread Ladislav Lhotka
On Sat, 2018-04-21 at 03:16 +0200, Robert Varga wrote: > On 17/04/18 07:35, Ladislav Lhotka wrote: > > Hi, > > > > this is a slippery slope. If we want to turn YANG into a general-purpose > > schema language, it should IMO be done the other way around: design a > > general-purpose schema language

Re: [netmod] yang-data-ext issues

2018-04-20 Thread Robert Varga
On 17/04/18 07:35, Ladislav Lhotka wrote: > Hi, > > this is a slippery slope. If we want to turn YANG into a general-purpose > schema language, it should IMO be done the other way around: design a > general-purpose schema language with a sound architecture, and then use > it for defining schemas

Re: [netmod] yang-data-ext issues

2018-04-18 Thread Kent Watsen
Another and somewhat radical idea is to think of 'yang-data' as defining a data node, like a 'container', but not a config or opstate node. Yes, this is different from rc:yang-data, which defines a transparent node, like 'choice', but maybe it's okay if we can get the substitution groups part

Re: [netmod] yang-data-ext issues

2018-04-18 Thread Andy Bierman
On Wed, Apr 18, 2018 at 10:47 AM, Martin Bjorklund wrote: > Hi, > > Andy Bierman wrote: > > On Wed, Apr 18, 2018 at 10:26 AM, Kent Watsen > wrote: > > > > > I like Andy's proposal below, for the argument of the 'yang-data' > > >

Re: [netmod] yang-data-ext issues

2018-04-18 Thread Martin Bjorklund
Hi, Andy Bierman wrote: > On Wed, Apr 18, 2018 at 10:26 AM, Kent Watsen wrote: > > > I like Andy's proposal below, for the argument of the 'yang-data' > > statement to encode some meta-information regarding the context/namespace > > in which it's used,

Re: [netmod] yang-data-ext issues

2018-04-18 Thread Andy Bierman
On Wed, Apr 18, 2018 at 10:26 AM, Kent Watsen wrote: > I like Andy's proposal below, for the argument of the 'yang-data' > statement to encode some meta-information regarding the context/namespace > in which it's used, but I wonder how it really works. For instance, would >

Re: [netmod] yang-data-ext issues

2018-04-18 Thread Martin Bjorklund
Hi, [Kent, your email program has messed up the quoting in this thread. It becomes quite difficult to follow. And no, please don't invent a new quoting style in every email thread...] Kent Watsen wrote: > I like Andy's proposal below, for the argument of the 'yang-data' >

Re: [netmod] yang-data-ext issues

2018-04-18 Thread Kent Watsen
I like Andy's proposal below, for the argument of the 'yang-data' statement to encode some meta-information regarding the context/namespace in which it's used, but I wonder how it really works. For instance, would "top" and "error-info" be the only allowed base-path values for the argument?

Re: [netmod] yang-data-ext issues

2018-04-16 Thread Ladislav Lhotka
Hi, this is a slippery slope. If we want to turn YANG into a general-purpose schema language, it should IMO be done the other way around: design a general-purpose schema language with a sound architecture, and then use it for defining schemas of datastores, protocol messages or whatever. YANG

Re: [netmod] yang-data-ext issues

2018-04-16 Thread Andy Bierman
On Mon, Apr 16, 2018 at 9:46 AM, Robert Wilton wrote: > > > On 16/04/2018 17:07, Andy Bierman wrote: > > > > On Mon, Apr 16, 2018 at 8:44 AM, Robert Wilton wrote: > >> Don't groupings have a somewhat similar concern? >> >> E.g. if two groupings define the

Re: [netmod] yang-data-ext issues

2018-04-16 Thread Robert Wilton
On 16/04/2018 17:07, Andy Bierman wrote: On Mon, Apr 16, 2018 at 8:44 AM, Robert Wilton > wrote: Don't groupings have a somewhat similar concern?  E.g. if two groupings define the same data node name and are used at the same point

Re: [netmod] yang-data-ext issues

2018-04-16 Thread Martin Bjorklund
Andy Bierman wrote: > On Mon, Apr 16, 2018 at 8:44 AM, Robert Wilton wrote: > > > Don't groupings have a somewhat similar concern? > > > > E.g. if two groupings define the same data node name and are used at the > > same point then you would get a

Re: [netmod] yang-data-ext issues

2018-04-16 Thread Andy Bierman
On Mon, Apr 16, 2018 at 8:44 AM, Robert Wilton wrote: > Don't groupings have a somewhat similar concern? > > E.g. if two groupings define the same data node name and are used at the > same point then you would get a namespace clash, but YANG does not disallow > the groupings:

Re: [netmod] yang-data-ext issues

2018-04-16 Thread Robert Wilton
Don't groupings have a somewhat similar concern?  E.g. if two groupings define the same data node name and are used at the same point then you would get a namespace clash, but YANG does not disallow the groupings: grouping foo_widget { leaf name { type string;

Re: [netmod] yang-data-ext issues

2018-04-16 Thread Martin Bjorklund
Hi, Andy Bierman wrote: > On Mon, Apr 16, 2018 at 6:33 AM, Joe Clarke wrote: > > > On 4/16/18 08:56, Martin Bjorklund wrote: > > > Hi, > > > > > > While preparing draft-ietf-netmod-yang-data-ext-02, it turned out that > > > it is not clear what, if any,

Re: [netmod] yang-data-ext issues

2018-04-16 Thread Andy Bierman
On Mon, Apr 16, 2018 at 6:33 AM, Joe Clarke wrote: > On 4/16/18 08:56, Martin Bjorklund wrote: > > Hi, > > > > While preparing draft-ietf-netmod-yang-data-ext-02, it turned out that > > it is not clear what, if any, restrictions should be enforced for > > yang-data structures.

Re: [netmod] yang-data-ext issues

2018-04-16 Thread Martin Bjorklund
Hi, Andy Bierman wrote: > Hi, > > I am strongly opposed to this change because it breaks the rule in YANG 1.1 > that there cannot be 2 sibling nodes defined in the same module namespace. > > IMO since any yang-data nodes are ALLOWED to be used at the top-level, > then these

Re: [netmod] yang-data-ext issues

2018-04-16 Thread Andy Bierman
Hi, I am strongly opposed to this change because it breaks the rule in YANG 1.1 that there cannot be 2 sibling nodes defined in the same module namespace. IMO since any yang-data nodes are ALLOWED to be used at the top-level, then these top-level nodes cannot have conflicting names. It is very

Re: [netmod] yang-data-ext issues

2018-04-16 Thread Joe Clarke
On 4/16/18 08:56, Martin Bjorklund wrote: > Hi, > > While preparing draft-ietf-netmod-yang-data-ext-02, it turned out that > it is not clear what, if any, restrictions should be enforced for > yang-data structures. Even among the authors we have different ideas > for how this should work. > >

[netmod] yang-data-ext issues

2018-04-16 Thread Martin Bjorklund
Hi, While preparing draft-ietf-netmod-yang-data-ext-02, it turned out that it is not clear what, if any, restrictions should be enforced for yang-data structures. Even among the authors we have different ideas for how this should work. Background: In 8040, the original yang-data extension had