Re: [netmod] Issue with path statements in RPC

2020-08-10 Thread tom petch
From: netmod on behalf of Italo Busi Sent: 04 August 2020 08:49 We have found some issues with RPC XPaths when developing the YANG code for https://tools.ietf.org/html/draft-ietf-teas-yang-path-computation As discussed during the TEAS WG session in IETF 108, this issue has been raised on pya

Re: [netmod] submodules the hidden benefits

2020-08-10 Thread tom petch
From: netmod on behalf of Sterne, Jason (Nokia - CA/Ottawa) Sent: 07 August 2020 22:40 I agree submodules can cause confusion, but I also agree with Mahesh that they can be useful to partition things for people using the modules. Especially for huge models (e.g. router vendor models). You can

Re: [netmod] Issue with path statements in RPC

2020-08-10 Thread Martin Björklund
Italo Busi wrote: > We have found some issues with RPC XPaths when developing the YANG > code for > https://tools.ietf.org/html/draft-ietf-teas-yang-path-computation > > As discussed during the TEAS WG session in IETF 108, this issue has > been raised on pyang github: > https://github.com/mbj4668

Re: [netmod] Issue with path statements in RPC

2020-08-10 Thread tom petch
From: netmod on behalf of Martin Björklund Sent: 10 August 2020 10:24 Italo Busi wrote: > We have found some issues with RPC XPaths when developing the YANG > code for > https://tools.ietf.org/html/draft-ietf-teas-yang-path-computation > > As discussed during the TEAS WG session in IETF 108, t

Re: [netmod] Issue with path statements in RPC

2020-08-10 Thread Martin Björklund
tom petch wrote: > From: netmod on behalf of Martin Björklund > > Sent: 10 August 2020 10:24 > > Italo Busi wrote: > > We have found some issues with RPC XPaths when developing the YANG > > code for > > https://tools.ietf.org/html/draft-ietf-teas-yang-path-computation > > > > As discussed dur

[netmod] I-D Action: draft-tao-netmod-yang-node-tags-04.txt

2020-08-10 Thread internet-drafts
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. Title : Self Explanation Data Object Tags Authors : Qin Wu Benoit Claise

Re: [netmod] New Version Notification for draft-tao-netmod-yang-node-tags-04.txt

2020-08-10 Thread Qin Wu
Hi, v-04 is posted, to address comments received from Jurgen and a few offline discussion. https://datatracker.ietf.org/doc/html/draft-tao-netmod-yang-node-tags The main changes include: 1. Add one NETCONF example in the appendix 2. Add Non-NMDA State Module in the appendix 3. Module structure al

[netmod] [Technical Errata Reported] RFC8349 (6251)

2020-08-10 Thread RFC Errata System
The following errata report has been submitted for RFC8349, "A YANG Data Model for Routing Management (NMDA Version)". -- You may review the report below and at: https://www.rfc-editor.org/errata/eid6251 -- Type: Technical Re

Re: [netmod] [Technical Errata Reported] RFC8349 (6251)

2020-08-10 Thread Rob Wilton (rwilton)
[Resend to hopefully pass recipient limit filter] Hi Tom, I would be interested to hear from the original authors. My impression is that this is a technically reasonable change, but I don't think that an erratum can create a new revision of a YANG module. If this erratum was processed as "Hold

Re: [netmod] [Technical Errata Reported] RFC8349 (6251)

2020-08-10 Thread Acee Lindem (acee)
All (Speaking as an author of RFC 8349), I just looked at this in more detail and I don't think the ietf-mpls.yang model should be augmenting the /rt:routing/rt:ribs/rt:rib/rt:active-route RPC. The intent of the RPC is to return the address-family specific active-route corresponding to the dest

Re: [netmod] submodules the hidden benefits

2020-08-10 Thread Sterne, Jason (Nokia - CA/Ottawa)
Thanks Tom. Versioning in current YANG specs and in the new versioning work has independent versioning available for modules and for sub-modules. The module version will always bump when something changes in a submodule, but each submodule has its own revision. So it can help consumers quickly

Re: [netmod] [Technical Errata Reported] RFC8349 (6251)

2020-08-10 Thread Tarek Saad
Hi Acee, The existing RPC is used to query (defined AFIs=IPv4/IPv6) RIB to return the matching active route identified by a "destination address". The MPLS module is trying to reuse this RPC so to query the MPLS RIB to return the matching active route identified by a "local label". The RPC defin

Re: [netmod] [Technical Errata Reported] RFC8349 (6251)

2020-08-10 Thread Acee Lindem (acee)
Hi Tarek, In that case, there is more wrong than just the RPC since you haven't augmented ietf-routing.yang properly to define an MPLS-specific RIB. Furthermore, I don't think you should. We need the optional MPLS augmentations for the IPv4 and IPv6 address families as these are what one would

Re: [netmod] submodules the hidden benefits

2020-08-10 Thread Juergen Schoenwaelder
There are generic preprocessors such as good old cpp or m4 that can do wonderful things if there is a need to split large (YANG module) files into smaller pieces. The question here is what the added benefit is to build sub-modules into YANG itself. The argument I have heard is that this allows sepa

Re: [netmod] submodules the hidden benefits

2020-08-10 Thread Andy Bierman
On Mon, Aug 10, 2020 at 1:56 PM Juergen Schoenwaelder < j.schoenwael...@jacobs-university.de> wrote: > There are generic preprocessors such as good old cpp or m4 that can do > wonderful things if there is a need to split large (YANG module) files > into smaller pieces. The question here is what th

Re: [netmod] [Technical Errata Reported] RFC8349 (6251)

2020-08-10 Thread tom petch
From: netmod on behalf of RFC Errata System Sent: 07 August 2020 16:45 This is the erratum of whose arrival I speculated on this list on June 16th. There is a degree of urgency about it. The I-D in question is mpls-base-yang, currently in IETF Last Call, which is a Normative dependency of b

Re: [netmod] [Technical Errata Reported] RFC8349 (6251)

2020-08-10 Thread Tarek Saad
Hi Acee, Are you checking https://tools.ietf.org/html/draft-ietf-mpls-base-yang-14? If so, Figure 2 shows the module is augmenting IPv4/IPv6 AFI with MPLS for paths - check the paths augment /rt:routing/rt:ribs/rt:rib/rt:routes/rt:route: augment /rt:routing/rt:ribs/rt:rib/rt:routes/rt:route/rt:n

Re: [netmod] [Technical Errata Reported] RFC8349 (6251)

2020-08-10 Thread Acee Lindem (acee)
Hi Tarek, On 8/10/20, 7:27 PM, "Tarek Saad" wrote: Hi Acee, Are you checking https://tools.ietf.org/html/draft-ietf-mpls-base-yang-14? If so, Figure 2 shows the module is augmenting IPv4/IPv6 AFI with MPLS for paths - check the paths augment /rt:routing/rt:ribs/rt:rib/rt:rout