Re: [netmod] Deviating away /interfaces-state

2018-09-10 Thread Ladislav Lhotka
/interface-state ? > regards Balazs > _______ > netmod mailing list > netmod@ietf.org > https://www.ietf.org/mailman/listinfo/netmod -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67 ___ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod

Re: [netmod] removing a node from a grouping

2018-07-16 Thread Ladislav Lhotka
On Mon, 2018-07-16 at 09:33 -0400, Robert Wilton wrote: > Hi Lada, > > On 16/07/2018 08:35, Ladislav Lhotka wrote: > > Robert Wilton writes: > > > > > Hi Kent, > > > > > > I'm not sure that sec 7.13.2 of 7950 allows refine to add a when > &

Re: [netmod] removing a node from a grouping

2018-07-16 Thread Ladislav Lhotka
quot;listen" { >> when "false()"; >>} >> } >>} >> >> Any better ideas? >> >> Thanks, >> Kent >> >> >> >> ___ >> netmod mailing list >> netmod@ietf.org >> https://www.ietf.org/mailman/listinfo/netmod >> . >> > > ___ > netmod mailing list > netmod@ietf.org > https://www.ietf.org/mailman/listinfo/netmod -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67 ___ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod

Re: [netmod] Fwd: New Version Notification for draft-lengyel-netmod-yang-instance-data-01.txt

2018-06-26 Thread Ladislav Lhotka
marginal issue. Thanks, Lada > > regards Balazs > > > On 6/26/2018 5:30 PM, Ladislav Lhotka wrote: > > On Tue, 2018-06-26 at 15:58 +0200, Balazs Lengyel wrote: > > > Hello Lada, > > > I don't insist on using yang-data-ext, but I like it. Isn't thi

Re: [netmod] Fwd: New Version Notification for draft-lengyel-netmod-yang-instance-data-01.txt

2018-06-26 Thread Ladislav Lhotka
A comment in the module should perfecty suffice. Andy argued with machine readability, but I don't see how it can be useful here. And, after all, if a server implementor for whatever weird reason decides to implement this module, what's wrong on doing so? Lada > regards Balazs > > On

[netmod] 6087bis - Security Considerations template

2018-06-25 Thread Ladislav Lhotka
: However, the OLD fomulation comes from RFC 6087, so perhaps this change should be applied in draft-ietf-netmod-rfc6087bis in the first place. The NEW formulation indeed looks better to me. Lada -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67

Re: [netmod] Fwd: New Version Notification for draft-lengyel-netmod-yang-instance-data-01.txt

2018-06-15 Thread Ladislav Lhotka
it may take a couple of minutes from the time of submission > until the htmlized version and diff are available at tools.ietf.org. > > The IETF Secretariat > > -- > Balazs Lengyel Ericsson Hungary Ltd. > Senior Specialist > Mobile: +36-70-330-7909 em

Re: [netmod] yang-data-ext issues

2018-06-01 Thread Ladislav Lhotka
ent versioning > system, and who knows what comes next. In the long run, I am afraid > this will become a mess. And yes, it is always difficult to predict > the future - we need crystal balls. Perhaps as an extension. ;-) And, luckily, vendors probably hav

Re: [netmod] Question on when-construction involving identities not detected as an error during module compilation

2018-05-18 Thread Ladislav Lhotka
lows the > > compiler to behave as it does now it would be good to know. > > Strictly speaking, the "when" expressions are not erroneous; they are > proper XPath expressions that happen to always return "false". > > A good compiler could detect this and produce a warning, but it would > be incorrect to flag this as an error. I would also add that the XPath expression in the above module uses string comparison which is known to be problematic. Instead, you should use the new functions derived-from() and derived-from-or-self() introduced in YANG 1.1. Lada > > > /martin > > ___ > netmod mailing list > netmod@ietf.org > https://www.ietf.org/mailman/listinfo/netmod -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67 ___ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod

Re: [netmod] NMDA - different valid keys for config vs state

2018-05-11 Thread Ladislav Lhotka
; /js > > -- > Juergen Schoenwaelder Jacobs University Bremen gGmbH > Phone: +49 421 200 3587 Campus Ring 1 | 28759 Bremen | Germany > Fax: +49 421 200 3103 <https://www.jacobs-university.de/> > > ___ > netmod mailing list > netmod@ietf.org > https://www.ietf.org/mailman/listinfo/netmod -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67 ___ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod

Re: [netmod] YANG identities and identityref's

2018-05-03 Thread Ladislav Lhotka
quot;foo-type-[1-9]". If the server supports a particular type, then I would expect it to implement a module where the identity corresponding to that type is defined. Lada > > > Thanks, > Acee > > On 5/3/18, 1:49 PM, "netmod on behalf of Ladislav Lhotka" <netmod

Re: [netmod] YANG identities and identityref's

2018-05-03 Thread Ladislav Lhotka
hould one simply > return the lowest parent in the hierarchy matching the value? Many times, this > would be the base identity. > > Thanks, > Acee > ___ > netmod mailing list > netmod@ietf.org > https://www.ietf.org/mailman/list

Re: [netmod] Abusing YANG extensions

2018-05-03 Thread Ladislav Lhotka
dy > _______ > netmod mailing list > netmod@ietf.org > https://www.ietf.org/mailman/listinfo/netmod -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67 ___ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod

Re: [netmod] yang-data-ext issues

2018-05-02 Thread Ladislav Lhotka
additional container. If there is > serious pressure to use yang-data, then the additional container > should not stop people that need to use yang-data today. I agree with all of the above. Lada > > /js > -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67 __

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 <lho...@nic.cz> 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:2

Re: [netmod] yang-data-ext issues

2018-04-30 Thread Ladislav Lhotka
Andy Bierman <a...@yumaworks.com> writes: > On Fri, Apr 27, 2018 at 8:13 AM, Ladislav Lhotka <lho...@nic.cz> 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: &

Re: [netmod] yang-data-ext issues

2018-04-27 Thread Ladislav Lhotka
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 datastore for it, such as "error-messages". > > This seems worse than using, well, RFC 8040 yang-data. Th

Re: [netmod] yang-data-ext issues

2018-04-27 Thread Ladislav Lhotka
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 27/04/2018 11:03, Martin Bjorklund wrote: > > > > Hi, > > > >

Re: [netmod] yang-data-ext issues

2018-04-27 Thread Ladislav Lhotka
On Fri, 2018-04-27 at 11:23 +0100, Robert Wilton wrote: > > On 27/04/2018 11:03, Martin Bjorklund wrote: > > Hi, > > > > Ladislav Lhotka <lho...@nic.cz> wrote: > > > On Thu, 2018-04-26 at 17:52 -0700, Andy Bierman wrote: > > > > > > &

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 <lho...@nic.cz> wrote: > > Ladislav Lhotka <lho...@nic.cz> writes: > > > > > On Wed, 2018-04-25 at 08:04 -0700, Andy Bierman wrote: > >

Re: [netmod] yang-data-ext issues

2018-04-25 Thread Ladislav Lhotka
Ladislav Lhotka <lho...@nic.cz> writes: > On Wed, 2018-04-25 at 08:04 -0700, Andy Bierman wrote: >> >> >> On Wed, Apr 25, 2018 at 7:05 AM, Ladislav Lhotka <lho...@nic.cz> wrote: >> > On Wed, 2018-04-25 at 15:55 +0200, Juergen Schoenwaelder wrote: >&

Re: [netmod] yang-data-ext issues

2018-04-25 Thread Ladislav Lhotka
Martin Bjorklund <m...@tail-f.com> writes: > Ladislav Lhotka <lho...@nic.cz> wrote: >> Robert Varga <n...@hq.sk> writes: >> >> > On 23/04/18 18:51, Juergen Schoenwaelder wrote: >> >> Some people will say that the cost of a new language vers

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 <lho...@nic.cz> wrote: > > Martin Bjorklund <m...@tail-f.com> writes: > > > > > Hi, > > > > > > I am not sure what this statement tells us re. the issue in this ema

Re: [netmod] yang-data-ext issues

2018-04-24 Thread Ladislav Lhotka
choenwaelder <j.schoenwael...@jacobs-university.de> 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, also >> > because YANG is now being updated in several directions with

Re: [netmod] yang-data-ext issues

2018-04-24 Thread Ladislav Lhotka
a magic for adding modular extensions but it breaks down as soon as such extensions interfere with the YANG core (with and each other, or both). Lada > > Regards, > Robert > -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67 _

Re: [netmod] Extensions vs new YANG versions [was Re: yang-data-ext issues]

2018-04-24 Thread Ladislav Lhotka
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH >> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany >> Fax:   +49 421 200 3103         <https://www.jacobs-university.de/ >> <https://www.jacobs-university.de/>> >> >> ___ >> netmod mailing list >> netmod@ietf.org <mailto:netmod@ietf.org> >> https://www.ietf.org/mailman/listinfo/netmod >> <https://www.ietf.org/mailman/listinfo/netmod> >> >> >> >> >> ___ >> netmod mailing list >> netmod@ietf.org >> https://www.ietf.org/mailman/listinfo/netmod > -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67 ___ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod

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 > >

Re: [netmod] yang-data-ext issues

2018-04-16 Thread Ladislav Lhotka
> If the WG agrees with what I wrote above, we need to change the > augment-yang-data extension so that you would write for example: > > yx:augment-yang-data /ex:my-first-rpc-error-info/ex:user-info { > ... > } > > Comments? > > > > /martin > >

Re: [netmod] [yang-doctors] Clarification needed for YANG 1.1 XPATH context

2018-04-13 Thread Ladislav Lhotka
(conceptually) exists if its parent exists - regardless of number of > > children. > > > > So if the parent exists, any must expressions in the NP-container are > > evaluated. > > > > what about top-level NP-container with must constraint? Is a root node > some

Re: [netmod] An abundant amount of IANA if types...

2018-04-09 Thread Ladislav Lhotka
e defining the technology. So, if a device >> implements support for PPP configuration/operational state then it would >> also naturally define any PPP related interface identities at the same time. >> >> If a vendor wants to define their own flavour of Ethernet

Re: [netmod] An abundant amount of IANA if types...

2018-04-06 Thread Ladislav Lhotka
On Fri, 2018-04-06 at 14:29 +0200, Juergen Schoenwaelder wrote: > On Fri, Apr 06, 2018 at 02:01:30PM +0200, Ladislav Lhotka wrote: > > On Fri, 2018-04-06 at 13:36 +0200, Juergen Schoenwaelder wrote: > > > On Fri, Apr 06, 2018 at 10:51:48AM +0200, Ladislav Lhotka wrot

Re: [netmod] An abundant amount of IANA if types...

2018-04-06 Thread Ladislav Lhotka
On Fri, 2018-04-06 at 13:36 +0200, Juergen Schoenwaelder wrote: > On Fri, Apr 06, 2018 at 10:51:48AM +0200, Ladislav Lhotka wrote: > > Juergen Schoenwaelder <j.schoenwael...@jacobs-university.de> writes: > > > > > If we would have a mechanism to devi

Re: [netmod] An abundant amount of IANA if types...

2018-04-06 Thread Ladislav Lhotka
omes (a whole lot) >> shorter "by itself". Now iana-if-type is just a collection of all interface >> types that have been defined once without any kind of "structure". >> >> Regards, Bart >> >> -Original Message- >> Fr

Re: [netmod] An abundant amount of IANA if types...

2018-04-06 Thread Ladislav Lhotka
e of a CLI > interface) would reduce the possible completions if an operator would ask for > the possible values of the type of an interface. > Has this ever been considered/discussed? > > Best regards, > Bart > ___ > netmod ma

Re: [netmod] YANG 'must' Xpaths, predicates and wildcards

2018-03-28 Thread Ladislav Lhotka
t;; > > > leaf entry { > > > type uint16; > > > } > > > leaf another-entry { > > > type uint32; > > > } > > > } > > > } > > > > > > I think I could also replace that mus

Re: [netmod] Comments on schema mount draft

2018-03-26 Thread Ladislav Lhotka
he topology where 1 main device is present with N logical > devices behind it. >When the mounting is done, it is quite possible that some of N devices are > having different >versions of modules. >This can lead to each instance of mount point, having different schema. >How can the client understand the schema of each mount-point instance ? > Preferably get-schema of these devices and then know the model ? > > With Regards, > > Rohit R > ___ > netmod mailing list > netmod@ietf.org > https://www.ietf.org/mailman/listinfo/netmod -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67 ___ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod

Re: [netmod] default namespace in XPath

2018-03-07 Thread Ladislav Lhotka
On Wed, 2018-03-07 at 14:06 +0100, Martin Bjorklund wrote: > Ladislav Lhotka <lho...@nic.cz> wrote: > > Hi, > > > > sec. 6.4.1 in RFC 7950 says in the second bullet item: > > > > Names without a namespace prefix belong to the same namespace as >

Re: [netmod] Proposal for minimalist full NMDA support in schema mount

2018-03-07 Thread Ladislav Lhotka
Robert Varga <n...@hq.sk> writes: > On 27/02/18 08:02, Ladislav Lhotka wrote: >> The initial virtual interim decided to use Martin's combined proposal >> and most of my subsequent objections were rejected on the basis of that >> decision. That's why I hate discussing co

Re: [netmod] default namespace in XPath

2018-03-07 Thread Ladislav Lhotka
x belong to the same namespace as the identifier of the current node. NEW Names without a namespace prefix belong to the same namespace as the identifier of the context node. If there are no objections, I will file an erratum. Lada > > Regards, > Michal > > On Wednesda

[netmod] default namespace in XPath

2018-03-07 Thread Ladislav Lhotka
0"; ... } } ... } What is the namespace of "quux" in the when expression? Is it "example-4-a" (option 1 above) or "example-4-b" (option 2)? Thanks, Lada -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67 __

Re: [netmod] choice/case in tree diagrams

2018-03-06 Thread Ladislav Lhotka
- > Juergen Schoenwaelder Jacobs University Bremen gGmbH > Phone: +49 421 200 3587 Campus Ring 1 | 28759 Bremen | Germany > Fax: +49 421 200 3103 <https://www.jacobs-university.de/> > > ___ > netmod mailing list > netmod@ietf.org > https://www.ietf.org/mailman/listinfo/netmod -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67 ___ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod

Re: [netmod] choice/case in tree diagrams

2018-03-05 Thread Ladislav Lhotka
On Mon, 2018-03-05 at 15:49 +0100, Per Hedeland wrote: > On 2018-03-05 15:41, Ladislav Lhotka wrote: > > On Mon, 2018-03-05 at 15:26 +0100, Martin Bjorklund wrote: > > > Juergen Schoenwaelder <j.schoenwael...@jacobs-university.de> wrote: > > > > On Mon, Mar

Re: [netmod] choice/case in tree diagrams

2018-03-05 Thread Ladislav Lhotka
+--rw netmask? yang:dotted-quad > > > /martin > > > > The document (as far as I searched for it) does not clearly say that > > 'node' means 'schema node'. In hindsight, it might have been useful to > > explicitely import terminology from RFC 7950 and

Re: [netmod] Proposal for minimalist full NMDA support in schema mount

2018-03-01 Thread Ladislav Lhotka
Christian Hopps <cho...@chopps.org> writes: > Ladislav Lhotka <lho...@nic.cz> writes: > >> On Tue, 2018-02-27 at 09:31 +0100, Juergen Schoenwaelder wrote: >>> On Mon, Feb 26, 2018 at 04:09:21PM +0100, Martin Bjorklund wrote: >>> > Hi, >>

Re: [netmod] Proposal for minimalist full NMDA support in schema mount

2018-02-27 Thread Ladislav Lhotka
ish a > trimmed down document that just defines the mount point extension and > we do an update of this document that adds all the details needed to > obtain the schema information? I would say so. It would be immediately usable for the inline case. Lada > > /js > -- Ladis

Re: [netmod] Proposal for minimalist full NMDA support in schema mount

2018-02-26 Thread Ladislav Lhotka
>> >>>> > == >>> >>>> > Details -- for those who want >>> >>>> > == >>> >>>> > As background, my understanding/view is that the -08 version of the >>>

Re: [netmod] derived-from() vs derived-from-or-self() in acl model

2018-02-26 Thread Ladislav Lhotka
Per Hedeland <p...@tail-f.com> writes: > [Adding Cc to draft-ietf-netmod-acl-mo...@ietf.org] > > On 2018-02-26 14:24, Ladislav Lhotka wrote: >> Per Hedeland <p...@tail-f.com> writes: >> >>> Hi, >>> >>> A customer of ours using one of t

Re: [netmod] Proposal for minimalist full NMDA support in schema mount

2018-02-26 Thread Ladislav Lhotka
On Mon, 2018-02-26 at 14:16 +, Robert Wilton wrote: > Hi Lada, > > > On 26/02/2018 14:05, Ladislav Lhotka wrote: > > Hi Rob, > > > > Robert Wilton <rwil...@cisco.com> writes: > > > > > Hi Chris, > > > > > > I'

Re: [netmod] Proposal for minimalist full NMDA support in schema mount

2018-02-26 Thread Ladislav Lhotka
; >  | +--ro use-schema* [name] >>>> >  | +--ro name >>>> >  | | -> /schema-mounts/schema/name >>>> >  | +--ro parent-reference* yang:xpath1.0 >>>> >  +--ro schema* [name] >>>> >  +--ro name string >>>> >

Re: [netmod] derived-from() vs derived-from-or-self() in acl model

2018-02-26 Thread Ladislav Lhotka
ty of identity derivation, which is, in my view, an unnecessary complication. It would be simpler but sufficient to define derivation as a reflexive relation, and have only one "derived-from()" XPath function. Identities that are considered "abstract" should not be instantiated, an

Re: [netmod] Proposal for minimalist full NMDA support in schema mount

2018-02-23 Thread Ladislav Lhotka
+--ro config?   boolean >> +--ro (schema-ref)? >>     +--:(inline) >>     |  +--ro inline?   empty >>         +--:(use-schema) >>    

Re: [netmod] [Netconf] LC on YANG Library (bis)

2018-02-16 Thread Ladislav Lhotka
Robert Wilton <rwil...@cisco.com> writes: > Hi Lada, > > > On 16/02/2018 09:06, Ladislav Lhotka wrote: >> Robert Wilton <rwil...@cisco.com> writes: >> >>> I should add, as a contributor, I have read this document and think that >>> is read

Re: [netmod] [Netconf] LC on YANG Library (bis)

2018-02-16 Thread Ladislav Lhotka
yang-instance-data. For this purpose, #2 is a clear winer. Lada > > > >> /js >> > > > Andy > > >> >> -- >> Juergen Schoenwaelder Jacobs University Bremen gGmbH >> Phone: +49 421 200 3587 Campus Ring 1 | 28759 Bremen | Germany >> Fax: +49 421 200 3103

Re: [netmod] [Netconf] LC on YANG Library (bis)

2018-02-16 Thread Ladislav Lhotka
& Kent >> >> >> >> >> ___ >> >> Netconf mailing list >> >> netc...@ietf.org <mailto:netc...@ietf.org> >> >> https://www.ietf.org/mailman/listinfo/netconf >> >> <

Re: [netmod] [Netconf] LC on YANG Library (bis)

2018-02-14 Thread Ladislav Lhotka
gt; The authors of rfc7895bis have indicated that they believe the >>>>>> document is >>>>> ready for LC[1]. >>>>>> This starts a two week LC on the >>>>>> draft<https://tools.ietf.org/html/draft-ietf- >>>>> ne

Re: [netmod] LL review of draft-ietf-netconf-rfc7895bis-04

2018-02-12 Thread Ladislav Lhotka
On Mon, 2018-02-12 at 15:37 +0100, Juergen Schoenwaelder wrote: > On Mon, Feb 12, 2018 at 03:26:31PM +0100, Ladislav Lhotka wrote: > > > > > Sec. 1 - YANG library stability > > > > > > > > The text basically says that the YANG library infor

Re: [netmod] LL review of draft-ietf-netconf-rfc7895bis-04

2018-02-12 Thread Ladislav Lhotka
On Mon, 2018-02-12 at 13:02 +0100, Martin Bjorklund wrote: > Hi, > > Thank you for this review. Comments inline. > > Ladislav Lhotka <lho...@nic.cz> wrote: > > Hi, > > > > here is my review of the rfc7895bis document: > > > > *** Genera

[netmod] LL review of draft-ietf-netconf-rfc7895bis-04

2018-02-09 Thread Ladislav Lhotka
* Nits - sec 1. paragraph 2: s/informaton/information/ Lada -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67 ___ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod

Re: [netmod] schema-mount pre09 branch

2018-02-07 Thread Ladislav Lhotka
t I don't think we should fundamentally > change the solution that the WG agreed upon. I don't agree that we are *strongly* changing the solution. Simplifications and clarifications are IMO badly needed. Lada > > > /martin > > > > Ladislav Lhotka <lho..

Re: [netmod] schema-mount pre09 branch

2018-02-07 Thread Ladislav Lhotka
On Wed, 2018-02-07 at 11:41 +, Robert Wilton wrote: > > On 07/02/2018 10:29, Ladislav Lhotka wrote: > > On Wed, 2018-02-07 at 11:14 +0100, Martin Bjorklund wrote: > > > Juergen Schoenwaelder <j.schoenwael...@jacobs-university.de> wrote: > > > > On Tue, F

Re: [netmod] schema-mount pre09 branch

2018-02-07 Thread Ladislav Lhotka
, I've no idea ... > > > > Yep. > > > > /js > > > > -- > > Juergen Schoenwaelder Jacobs University Bremen gGmbH > > Phone: +49 421 200 3587 Campus Ring 1 | 28759 Bremen | Germany > > Fax: +49 421 200 3103 <https://www.jacobs-university.de/> > > > > ___ > netmod mailing list > netmod@ietf.org > https://www.ietf.org/mailman/listinfo/netmod -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67 ___ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod

[netmod] inline mount

2018-02-07 Thread Ladislav Lhotka
nd when the embedded YL data magically appears in - it is the mount event that does exactly this, and only after that the mounted resource can be configured. This concept would also be more alike to the mount operation known from Unix filesystems. Comments? Lada -- Ladislav Lhotka Head, CZ

Re: [netmod] [Netconf] LC of NDMA NETCONF/RESTCONF drafts

2018-01-31 Thread Ladislav Lhotka
whether you are aware of any IPR for either of the >> drafts. >> >> Thanks. >> >> Mahesh & Kent >> > > Mahesh & Kent > > ___ > Netconf mailing list > netc...@ietf.org > https://www.

[netmod] [Fwd: Protocol Action: 'A YANG Data Model for Routing Management (NMDA Version)' to Proposed Standard (draft-ietf-netmod-rfc8022bis-11.txt)]

2018-01-30 Thread Ladislav Lhotka
st netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67 ___ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod

Re: [netmod] WG: Adoption Poll: draft-bierman-netmod-yang-data-ext-01

2018-01-29 Thread Ladislav Lhotka
iNjxincOfM=DRRZhdQAI9SIgw8UL1SByT8FGQjfJDpvuNf4jK_1UgQ= >> . >> > > > > ___ > netmod mailing list > netmod@ietf.org > https://www.ietf.org/mailman/listinfo/netmod -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67 ___ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod

Re: [netmod] moving forward with schema mount

2018-01-24 Thread Ladislav Lhotka
On Wed, 2018-01-24 at 09:35 -0500, joel jaeggli wrote: > > On 1/24/18 8:07 AM, Ladislav Lhotka wrote: > > Hi, > > > > Kent Watsen <kwat...@juniper.net> writes: > > > > > Thank you all for the important discussion since the completion of WGLC on &

Re: [netmod] moving forward with schema mount

2018-01-24 Thread Ladislav Lhotka
s://www.ietf.org/mail-archive/web/netmod/current/msg20049.html > > Thanks, > Kent, Lou, and Joel > > > > _______ > netmod mailing list > netmod@ietf.org > https://www.ietf.org/mailman/listinfo/netmod -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67 ___ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod

Re: [netmod] moving forward with schema mount

2018-01-24 Thread Ladislav Lhotka
3587 Campus Ring 1 | 28759 Bremen | Germany > Fax: +49 421 200 3103 <https://www.jacobs-university.de/> > > _______ > netmod mailing list > netmod@ietf.org > https://www.ietf.org/mailman/listinfo/netmod -- Ladislav Lh

Re: [netmod] schema mount and YANG library

2018-01-22 Thread Ladislav Lhotka
Bremen | Germany > Fax: +49 421 200 3103 <https://www.jacobs-university.de/> > > ___ > netmod mailing list > netmod@ietf.org > https://www.ietf.org/mailman/listinfo/netmod -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67 ___ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod

Re: [netmod] schema mount and YANG library

2018-01-22 Thread Ladislav Lhotka
pdate in the near-term > anyways. Yes, and also keeping some deprecated nodes from the old version, which would make the new model hard to read. This is IMO too high a price. Lada > > Kent > > > > > ___ > netmod mailing list &g

Re: [netmod] schema mount and YANG library

2018-01-22 Thread Ladislav Lhotka
Robert Wilton <rwil...@cisco.com> writes: > On 17/01/2018 16:40, Martin Bjorklund wrote: >> Ladislav Lhotka <lho...@nic.cz> wrote: > > > >>>> Ok. I'm ok with keeping the inline case as it is. However, I think >>> I don't agree. The m

Re: [netmod] schema mount and YANG library

2018-01-19 Thread Ladislav Lhotka
n be fully analyzed. > > Lou > > On January 19, 2018 3:59:22 AM Martin Bjorklund <m...@tail-f.com> wrote: > ... > > Hi, > > > > joel jaeggli <joe...@bogus.com> wrote: > > > > > > > > > On 1/18/18 11:15 AM, Martin Bjorklund wrot

Re: [netmod] schema mount and YANG library

2018-01-18 Thread Ladislav Lhotka
On Thu, 2018-01-18 at 13:25 -0800, joel jaeggli wrote: > > On 1/18/18 11:15 AM, Martin Bjorklund wrote: > > Ladislav Lhotka <lho...@nic.cz> wrote: > > > On Thu, 2018-01-18 at 14:39 +0100, Juergen Schoenwaelder wrote: > > > > Ignoring process issues (not

Re: [netmod] schema mount and YANG library

2018-01-18 Thread Ladislav Lhotka
ation overhead of > > > > > > requiring inline schemas to be available at the top level. > > > > > > > > > > Ok. I'm ok with keeping the inline case as it is. However, I think > > > > > we need to use the new YL-bis, so that we can support the NMDA. > > > > > > > > Given that NMDA support is not yet fully defined, we're still in the > > > > transition period where support for both NMDA and non-NMDA > > > > implementations need to be considered. Rob presented some options > > > > earlier in the thread that I think captures this. > > > > > > Again, note that YLbis supports both NMDA and non-NMDA servers. > > > > > > Also note that YLbis is just a different read-only monitoring > > > structure. Given an implementation that supports the old YL, it is > > > trivial to add support for YLbis (especially compared to the more than > > > non-trivial amount of work required to support schema mount...). > > > > > > > > > /martin > > > > > > > > > ___ > > netmod mailing list > > netmod@ietf.org > > https://www.ietf.org/mailman/listinfo/netmod > > -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67 ___ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod

Re: [netmod] schema mount and YANG library

2018-01-18 Thread Ladislav Lhotka
it is. However, I think > > > we need to use the new YL-bis, so that we can support the NMDA. > > > > Given that NMDA support is not yet fully defined, we're still in the > > transition period where support for both NMDA and non-NMDA > > implementations need to be cons

Re: [netmod] schema mount and YANG library

2018-01-17 Thread Ladislav Lhotka
On Wed, 2018-01-17 at 14:14 -0500, Lou Berger wrote: > > On 1/17/2018 11:57 AM, Ladislav Lhotka wrote: > > > > > Ok. I'm ok with keeping the inline case as it is. However, I think > > > > > > > > I don't agree. The metadata annotati

Re: [netmod] schema mount and YANG library

2018-01-17 Thread Ladislav Lhotka
On Wed, 2018-01-17 at 17:40 +0100, Martin Bjorklund wrote: > Ladislav Lhotka <lho...@nic.cz> wrote: > > On Wed, 2018-01-17 at 17:18 +0100, Martin Bjorklund wrote: > > > Lou Berger <lber...@labn.net> wrote: > > > > > > > > > > > >

Re: [netmod] schema mount and YANG library

2018-01-17 Thread Ladislav Lhotka
; > > > > but > > > > > > > > > doesn't work equally at an inline mount point. Can you > > > > > > > > > elaborate? > > > > > > > > > > > > > > > > With NMDA, a server may have one

Re: [netmod] schema mount and YANG library

2018-01-17 Thread Ladislav Lhotka
gt; have the list of datastores, and the schema associated with each > > > > > > datastore. Of course, this would only be available in operational, > > > > > > but > > > > > > that is the same as a regular server support YL-bis. > > > > > > > > > > exactly my point. > > > > > > > > Yes, you're right. But it requires the usage of YL-bis. > > > > > > > > > > I thought that the problem with the current solution and NMDA, was > > > > > > that > > > > > > there is no way to find out what the LNE schema is if the LNE isn't > > > > > > booted, and hence isn't providing . > > > > > > > > > > I've never heard anyone mention this issue/limitation. > > > > > > > > This has been dicussed, but this does not change with the introduction > > > > of the meta annotation; if the server has off-line knowledge of the > > > > instance's schema then it can populate an inline YL as well as the > > > > meta annotation and corresponding SM data. > > > > > > > > > My > > > > > understanding of the previously raised objections were (a) that the > > > > > full schema can't be obtained by just reading the top level YL and (b) > > > > > that when multiple inline mount points have the same schema the > > > > > information can't be combined using a shared schema approach as is > > > > > taken in base SM. > > > > > > > > Right. Both these issues are addressed by using a meta annotation. > > > > > > But when we discussed this the last time having inline schema > > > available at the top level (in the SM module), the general consensus > > > was that having YL under inline was the preferred approach. > > > > What is new now is that we have an indirection; each instance has its > > own pointer to the schema at the top level. In the previous > > discussion, having the schema at the top level implied that all > > instances shared the same schema, and *that* was rejected. > > > > Indirection was possible at the previous time and is part of the current > scheme Mount definition. Yes, you need to use different mount points to > reference different schema, but take a look at the ni document that's > exactly what we are doing there. So I don't believe this is the point that What Martin and I are talking about is a mount point that is a list node of the "use-schema" type. There is no way how different entries of this list could have different schemas. The same applies to a container mount point that is inside a list. Then you can also have multiple *instances* of the mount point, and with "use-schema" there is no way how these instances could have different schemas. Lada > > caused the previous proposal to be rejected. > > > > Lada > > > stated that he didn't like the approach, but would go with the WG > > > decision. Why are we reopening this closed discussion -- many months > > > after we closed the issue? Most who contributed, notably users, have > > > moved from SM assuming it's a solved problem. > > > > > > At this point, I think the case needs to be made why the existing > > > mechanisms in the draft are broken vs how they might be improved. My > > > understanding is that there was one issue that could be clarified by > > > the proposed text I included when restarting this discussion. > > > > > > What else is *broken* in the current draft? > > > > My main concern is actually the YL version. I strongly think SM need > > to use YL-bis rather that the old YL, so that it can support NMDA. > > > > Right now to SM is independent of Yang Library version and can run with > either. I certainly would expect use of Yang Library bis and nmda to have > advantages. > > > The implementation effort for supporting the new YL in clients and > > servers is minimal, esp. when compared to the efforts involved in > > supporting SM. > > > > Adding an indirection is (for me) less important, but it has the > > benefit of solving the two issues (a) and (b) above, and I haven't > > seen any technical problem with it. > > > > (A) has implementation implications and those participating in the > discussion at the time expressed as not being worth the cost. > I don't believe b was seen as a significant issue either. > > > Do you have any technical concerns with using an annotation as an > > indirection? > > > > The technicsl issue I have with the approaches the same one that was raised > when debated previously, ie the implementation overhead of requiring inline > schemas to be available at the top level. > > > From a process perspective, I don't think it's fair to those who provided > > input or contributed in the past in order to get scheme mount to satisfy > their requirements to reopen something that is not broken. Particularly > because a number of those contributors are implementers and users who are > now focused on other topics. > > Lou > > > > > /martin > > > > > ___ > netmod mailing list > netmod@ietf.org > https://www.ietf.org/mailman/listinfo/netmod -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67 ___ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod

Re: [netmod] schema mount and YANG library

2018-01-17 Thread Ladislav Lhotka
On Wed, 2018-01-17 at 09:09 -0500, Lou Berger wrote: > > On 1/17/2018 1:59 AM, Ladislav Lhotka wrote: > ... > > > > > > > I think > > > > > > > it is incumbent upon those revisiting past/closed WG decisions (in > > > > >

Re: [netmod] schema mount and YANG library

2018-01-17 Thread Ladislav Lhotka
On Wed, 2018-01-17 at 09:27 +0100, Juergen Schoenwaelder wrote: > On Wed, Jan 17, 2018 at 09:04:29AM +0100, Ladislav Lhotka wrote: > > > Lada, > > > Understanding impact of your proposal on the following would be > > > quite helpful: > > > https://da

Re: [netmod] schema mount and YANG library

2018-01-17 Thread Ladislav Lhotka
Lou Berger <lber...@labn.net> writes: > On 1/16/2018 10:22 AM, Ladislav Lhotka wrote: >>>> I think >>>> it is incumbent upon those revisiting past/closed WG decisions (in >>>> this case, inline schema being represented by YL) to argue why the >>&

Re: [netmod] schema mount and YANG library

2018-01-16 Thread Ladislav Lhotka
mounted YL can only be present in operational. Thus, there's no way a > > client can learn the schema for config. > > If the LNE mounted the full YL-bis at the mount point then you would > have the list of datastores, and the schema associated with each > datastore. Of course, thi

Re: [netmod] schema mount and YANG library

2018-01-16 Thread Ladislav Lhotka
the change is annotated. > cases where the ability to access information under an inline mount > point will dynamically change in operation (and top level YL would need > to remove schema information for the inline mount point.) As before, > from the usage standpoint, these changes don't provide a whole lot of > value and seem to optimizing for something not needed in the inline case. > > > > I think > > > it is incumbent upon those revisiting past/closed WG decisions (in > > > this case, inline schema being represented by YL) to argue why the > > > decision needs to be revisited. > > > > I'm repeating my self: b/c the current solution doesn't work well with > > the NMDA. > > I simply don't understand how YL-bis works at the root node but doesn't > work equally at an inline mount point. Can you elaborate? I propose that we update the schema mount draft in a separate branch on GitHub, and then continue the discussion. Lada > > Lou > > > > > > > /martin > > > > -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67 ___ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod

Re: [netmod] schema mount and YANG library

2018-01-16 Thread Ladislav Lhotka
6, 2018 8:24:42 AM Martin Bjorklund <m...@tail-f.com> > > >> wrote: > > >> > > >>> Lou Berger <lber...@labn.net> wrote: > > >>>> Lada, > > >>>> > > >>>> > > >>>> On January

Re: [netmod] schema mount and YANG library

2018-01-16 Thread Ladislav Lhotka
On Tue, 2018-01-16 at 13:19 +0100, Martin Bjorklund wrote: > Ladislav Lhotka <lho...@nic.cz> wrote: > > Hi Lou, > > > > in my view, we should do the following two (significant) changes: > > > > 1. Instead of borrowing a grouping from ietf-yang-library an

Re: [netmod] schema mount and YANG library

2018-01-16 Thread Ladislav Lhotka
eed to be returned to their WGs if either change is made. > > Martin, > > Do share Lada's view? > > Lou > > > On January 16, 2018 2:14:42 AM Ladislav Lhotka <lho...@nic.cz> wrote: > > > Hi Lou, > > > > in my view, we should do the following

Re: [netmod] schema mount and YANG library

2018-01-15 Thread Ladislav Lhotka
tanding? > > Thank you, > > Lou > > On 12/19/2017 8:26 AM, Ladislav Lhotka wrote: > > On Tue, 2017-12-19 at 07:49 -0500, Lou Berger wrote: > > > On 12/19/2017 7:36 AM, Ladislav Lhotka wrote: > > > > On Tue, 2017-12-19 at 06:43 -0500, Lou Berger wrote:

Re: [netmod] FW: I-D Action: draft-ietf-netmod-rfc8022bis-06.txt

2018-01-02 Thread Ladislav Lhotka
oun...@ietf.org on behalf of internet-dra...@ietf.org> wrote: > > > > > > > A New Internet-Draft is available from the on-line Internet-Drafts > > > > directories. > > > > This draft is a work item of the Network Modeling WG of the IETF. > > > &

Re: [netmod] *one* week 2nd WG Last Call: draft-ietf-netmod-revised-datastores-07

2017-12-21 Thread Ladislav Lhotka
On Thu, 2017-12-21 at 14:25 +0100, Martin Bjorklund wrote: > Ladislav Lhotka <lho...@nic.cz> wrote: > > Martin Bjorklund <m...@tail-f.com> writes: > > > > > Hi Andy, > > > > > > Andy Bierman <a...@yumaworks.com> wrote: > > >&

Re: [netmod] xpaths and Wrapping Long Lines - draft-ietf-netmod-yang-tree-diagrams-03

2017-12-21 Thread Ladislav Lhotka
Martin Bjorklund <m...@tail-f.com> writes: > Ladislav Lhotka <lho...@nic.cz> wrote: >> Hi Ian, >> >> On Thu, 2017-12-21 at 10:42 +0100, Ian Farrer wrote: >> > Hi, >> > >> > I’m just looking at the guidance on wrapping long lines given

Re: [netmod] schema mount and YANG library

2017-12-19 Thread Ladislav Lhotka
On Tue, 2017-12-19 at 07:49 -0500, Lou Berger wrote: > > On 12/19/2017 7:36 AM, Ladislav Lhotka wrote: > > On Tue, 2017-12-19 at 06:43 -0500, Lou Berger wrote: > > > Hi Lada, > > > > > > On 12/19/2017 6:23 AM, Ladislav Lhotka wrote: > > > >

Re: [netmod] schema mount and YANG library

2017-12-19 Thread Ladislav Lhotka
On Tue, 2017-12-19 at 06:43 -0500, Lou Berger wrote: > Hi Lada, > > On 12/19/2017 6:23 AM, Ladislav Lhotka wrote: > > On Tue, 2017-12-19 at 06:20 -0500, Lou Berger wrote: > > > Lada, > > > > > > > > > On December 19, 2017 1:12:35 AM Ladislav

Re: [netmod] schema mount and YANG library

2017-12-19 Thread Ladislav Lhotka
On Tue, 2017-12-19 at 06:20 -0500, Lou Berger wrote: > Lada, > > > On December 19, 2017 1:12:35 AM Ladislav Lhotka <lho...@nic.cz> wrote: > > > On Mon, 2017-12-18 at 15:30 -0500, Lou Berger wrote: > > > lada, > > > > > > See below. >

Re: [netmod] schema mount and YANG library

2017-12-19 Thread Ladislav Lhotka
On Tue, 2017-12-19 at 10:05 +0100, Juergen Schoenwaelder wrote: > On Tue, Dec 19, 2017 at 07:11:59AM +0100, Ladislav Lhotka wrote: > > On Mon, 2017-12-18 at 15:30 -0500, Lou Berger wrote: > > > lada, > > > > > > See below. > > > > > &g

Re: [netmod] schema mount and YANG library

2017-12-18 Thread Ladislav Lhotka
On Mon, 2017-12-18 at 15:30 -0500, Lou Berger wrote: > lada, > > See below. > > > On 12/15/2017 8:59 AM, Ladislav Lhotka wrote: > > Hi, > > > > unfortunately, using an action for querying embedded YANG library data > > (needed for the "in

Re: [netmod] WG Last Call: draft-ietf-netmod-rfc8022bis-01

2017-12-18 Thread Ladislav Lhotka
thors. >>> >>> [1] https://tools.ietf.org/html/draft-dsdt-nmda-guidelines-01 >>> [2] >>>https://tools.ietf.org/rfcdiff?difftype=--hwdiff=rfc8022.txt=dr >>>aft-ietf-netmod-rfc8022bis-01.txt >>> >>> Thank you, >>> Netmod Chairs

Re: [netmod] schema mount and YANG library

2017-12-15 Thread Ladislav Lhotka
as would be included in the top-level YANG library, and mount point instances in all datastores would be annotated with leafref pointing to the actual schema. Unlike regular state data, it is IMO no problem to permit such annotations in configuration datastores. Opinions? Thanks, Lada Ladislav L

Re: [netmod] YANG library structure

2017-12-08 Thread Ladislav Lhotka
hemas will often need to reuse the same module sets, and it will also be quite easy to add schema mount specification to this. Lada -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67 ___ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod

Re: [netmod] summary line in descriptions

2017-12-06 Thread Ladislav Lhotka
On Wed, 2017-12-06 at 15:00 +0100, Martin Bjorklund wrote: > Ladislav Lhotka <lho...@nic.cz> wrote: > > On Wed, 2017-12-06 at 14:51 +0100, Martin Bjorklund wrote: > > > Juergen Schoenwaelder <j.schoenwael...@jacobs-university.de> wrote: > > > > I am not

  1   2   3   4   5   6   7   8   9   >