Re: [netmod] regarding draft-bierman-netmod-yang-data-ext-00

2017-09-02 Thread Andy Bierman
Hi, The use-cases for groupings/uses and augment are not identical. Alternative NMDA Approach: I don't see a big difference between defining YANG for an artifact vs. defining some YANG for a special-purpose datastore. There is nothing about the YANG data that is different. There are only

Re: [netmod] regarding draft-bierman-netmod-yang-data-ext-00

2017-09-02 Thread Kent Watsen
>> Gotcha. What do other people think, would a "uses-yang-data" >> statement be generally more useful? > > But does this mean we also do uses-yang-container, uses-yang-list, > uses-yang-xyz to other definitions as well? I do not think this is > desirable and why would yang-data be any

Re: [netmod] Potential additions to rfc6087bis: RegEx guidelines

2017-09-02 Thread Andy Bierman
On Sat, Sep 2, 2017 at 4:28 AM, Juergen Schoenwaelder < j.schoenwael...@jacobs-university.de> wrote: > On Sat, Sep 02, 2017 at 10:39:57AM +, Acee Lindem (acee) wrote: > > > > This is not an effort to change or bifurcate the YANG 1.1. It is simply > to > > RECOMMEND a proper subset of XSD

Re: [netmod] Potential additions to rfc6087bis: RegEx guidelines

2017-09-02 Thread Juergen Schoenwaelder
On Sat, Sep 02, 2017 at 10:39:57AM +, Acee Lindem (acee) wrote: > > This is not an effort to change or bifurcate the YANG 1.1. It is simply to > RECOMMEND a proper subset of XSD pattern that is more portable. > If you implement YANG as it is defined, pattern are portable. Given this, I do

Re: [netmod] Potential additions to rfc6087bis: RegEx guidelines

2017-09-02 Thread Acee Lindem (acee)
Juergen, On 9/2/17, 3:33 AM, "netmod on behalf of Juergen Schoenwaelder" wrote: >On Fri, Sep 01, 2017 at 10:45:51AM +0100, Robert Wilton wrote: >> Hi Alex, >> >> >> On 01/09/2017 00:57, Alex Campbell wrote: >> > >> >

Re: [netmod] Potential additions to rfc6087bis: RegEx guidelines

2017-09-02 Thread Juergen Schoenwaelder
On Wed, Aug 30, 2017 at 05:44:01PM +0100, Robert Wilton wrote: > > First question: How many pattern statements in draft and standard IETF YANG > modules actually use Unicode properties (e.g \p{}). > Answer: Just 2.  To add a zone at the end of the IPv4/IPv6 address. > > E.g.   pattern >  

Re: [netmod] Potential additions to rfc6087bis: RegEx guidelines

2017-09-02 Thread Juergen Schoenwaelder
On Fri, Sep 01, 2017 at 10:45:51AM +0100, Robert Wilton wrote: > Hi Alex, > > > On 01/09/2017 00:57, Alex Campbell wrote: > > > > Hi, > > > > > > I'd be very wary of adding guidelines that restrict the regex syntax. > > > > > > A tool that supports YANG must implement the full regex