Re: [netmod] Place to download Standard YANG Modules ?

2018-10-11 Thread Mahesh Jethanandani
> On Oct 11, 2018, at 8:04 AM, Martin Bjorklund wrote: > > Mahesh Jethanandani wrote: >> >> >>> On Oct 10, 2018, at 11:51 PM, Martin Bjorklund wrote: >>> >>> I just which there was a one-click way (or better some repo) to get >>> all files. >> >> There is. Benoit had written it, but for

Re: [netmod] Benjamin Kaduk's No Objection on draft-ietf-netmod-schema-mount-11: (with COMMENT)

2018-10-11 Thread Benjamin Kaduk
On Wed, Oct 10, 2018 at 03:35:28PM +0200, Martin Bjorklund wrote: > Hi, > > Benjamin Kaduk wrote: > > Benjamin Kaduk has entered the following ballot position for > > draft-ietf-netmod-schema-mount-11: No Objection > > > > When responding, please keep the subject line intact and reply to all >

Re: [netmod] WHEN statement within mandatory objects doesn't ensure presence of the mandatory object

2018-10-11 Thread Andy Bierman
On Thu, Oct 11, 2018 at 11:14 AM, Michael Rehder wrote: > There is no specific text - the text just says it is “conditional”. > > However the implementation forces it optional: > > - The RNG file makes it optional (I’m not actually running this > for various reasons so I’m just

Re: [netmod] WG adoption poll for draft-clemm-netmod-nmda-diff-00

2018-10-11 Thread Kent Watsen
Yes, it would be good to be clear on the use cases. It is not my intention for support human interaction, though that may occur. The primary question I’m hoping this work supports is “how do two datastores differ?”, which I view as needing to return either, perhaps based on a client- selectable

Re: [netmod] WHEN statement within mandatory objects doesn't ensure presence of the mandatory object

2018-10-11 Thread Michael Rehder
There is no specific text - the text just says it is “conditional”. However the implementation forces it optional: - The RNG file makes it optional (I’m not actually running this for various reasons so I’m just interpreting the file generated – maybe I misunderstand RNG) -

Re: [netmod] xpath expressions in JSON

2018-10-11 Thread Reshad Rahman (rrahman)
Hi Rob, From: "Robert Wilton -X (rwilton - ENSOFT LIMITED at Cisco)" Date: Thursday, October 11, 2018 at 11:56 AM To: "Reshad Rahman (rrahman)" Cc: Martin Bjorklund , "netmod@ietf.org" Subject: Re: [netmod] xpath expressions in JSON Yet the examples in section 8.3.6 don't seem to use

Re: [netmod] WHEN statement within mandatory objects doesn't ensure presence of the mandatory object

2018-10-11 Thread Andy Bierman
On Thu, Oct 11, 2018 at 11:00 AM, Michael Rehder wrote: > I think the wording is relevant - something can be conditional but still > required. > > It should be clarified that elements become implicitly “mandatory false” > when a “when” statement is used. > > > > I would like to see an

Re: [netmod] WHEN statement within mandatory objects doesn't ensure presence of the mandatory object

2018-10-11 Thread Michael Rehder
I think the wording is relevant - something can be conditional but still required. It should be clarified that elements become implicitly “mandatory false” when a “when” statement is used. I would like to see an enhancement to YANG to control this behavior, to allow the mandatory status to be

Re: [netmod] xpath expressions in JSON

2018-10-11 Thread Andy Bierman
On Thu, Oct 11, 2018 at 9:45 AM, Robert Wilton wrote: > > > >> >> Finally, I'm trying to figure out have RFC 8040 query parameter (sect >>> 4.8.4), which also uses XPath expressions is meant to work. That >>> states: >>> >>> The set of namespace declarations is the set of prefix and >>>

Re: [netmod] xpath expressions in JSON

2018-10-11 Thread Robert Wilton
On 11/10/2018 17:11, Martin Bjorklund wrote: Robert Wilton wrote: On 11/10/2018 11:50, Martin Bjorklund wrote: Robert Wilton wrote: On 11/10/2018 11:21, Martin Bjorklund wrote: Andy Bierman wrote: On Wed, Oct 10, 2018 at 11:39 PM, Martin Bjorklund wrote: Andy Bierman wrote: On

Re: [netmod] xpath expressions in JSON

2018-10-11 Thread Andy Bierman
On Thu, Oct 11, 2018 at 9:16 AM, Martin Bjorklund wrote: > Robert Wilton wrote: > > Hi Reshad, > > > > Please see RW: inline. > > > > > > On 11/10/2018 16:34, Reshad Rahman (rrahman) wrote: > > > > > > Hi Rob, > > > > > > *From: *netmod on behalf of "Robert Wilton > -X > > > *(rwilton - ENSOFT

Re: [netmod] xpath expressions in JSON

2018-10-11 Thread Martin Bjorklund
Robert Wilton wrote: > Hi Reshad, > > Please see RW: inline. > > > On 11/10/2018 16:34, Reshad Rahman (rrahman) wrote: > > > > Hi Rob, > > > > *From: *netmod on behalf of "Robert Wilton -X > > *(rwilton - ENSOFT LIMITED at Cisco)" > > *Date: *Thursday, October 11, 2018 at 7:17 AM > > *To:

Re: [netmod] xpath expressions in JSON

2018-10-11 Thread Martin Bjorklund
Robert Wilton wrote: > > > On 11/10/2018 11:50, Martin Bjorklund wrote: > > Robert Wilton wrote: > >> > >> On 11/10/2018 11:21, Martin Bjorklund wrote: > >>> Andy Bierman wrote: > On Wed, Oct 10, 2018 at 11:39 PM, Martin Bjorklund > wrote: > > > Andy Bierman wrote: >

Re: [netmod] xpath expressions in JSON

2018-10-11 Thread Robert Wilton
Hi Reshad, Please see RW: inline. On 11/10/2018 16:34, Reshad Rahman (rrahman) wrote: Hi Rob, *From: *netmod on behalf of "Robert Wilton -X (rwilton - ENSOFT LIMITED at Cisco)" *Date: *Thursday, October 11, 2018 at 7:17 AM *To: *Martin Bjorklund *Cc: *"netmod@ietf.org" *Subject: *Re:

Re: [netmod] xpath expressions in JSON

2018-10-11 Thread Reshad Rahman (rrahman)
Hi Rob, From: netmod on behalf of "Robert Wilton -X (rwilton - ENSOFT LIMITED at Cisco)" Date: Thursday, October 11, 2018 at 7:17 AM To: Martin Bjorklund Cc: "netmod@ietf.org" Subject: Re: [netmod] xpath expressions in JSON On 11/10/2018 11:50, Martin Bjorklund wrote: Robert Wilton

Re: [netmod] WG adoption poll - instance-data

2018-10-11 Thread Balazs Lengyel
Hello Kent, If needed I can do a quick update, but As you stated this is a living document IMHO the scope is clear: This is only a data format draft, how it is used is only here a set of use-cases. I did not see anyone disagreeing with this.

Re: [netmod] Place to download Standard YANG Modules ?

2018-10-11 Thread Martin Bjorklund
Mahesh Jethanandani wrote: > > > > On Oct 10, 2018, at 11:51 PM, Martin Bjorklund wrote: > > > > I just which there was a one-click way (or better some repo) to get > > all files. > > There is. Benoit had written it, but for the life of me I cannot > remember what it is called. I meant from

Re: [netmod] Place to download Standard YANG Modules ?

2018-10-11 Thread Mahesh Jethanandani
> On Oct 10, 2018, at 11:51 PM, Martin Bjorklund wrote: > > I just which there was a one-click way (or better some repo) to get > all files. There is. Benoit had written it, but for the life of me I cannot remember what it is called. Have send him a note, but he is offline till Nov. Mahesh

Re: [netmod] Eric Rescorla's Discuss on draft-ietf-netmod-schema-mount-11: (with DISCUSS)

2018-10-11 Thread Eric Rescorla
That seems like it's going to have some pretty surprising consequences and at minimum needs more information in the Security Considerations. On Thu, Oct 11, 2018 at 12:18 AM Martin Bjorklund wrote: > Eric Rescorla wrote: > > I'm sorry but I don't understand this. > > > > Does the externally

Re: [netmod] xpath expressions in JSON

2018-10-11 Thread Robert Wilton
On 11/10/2018 11:50, Martin Bjorklund wrote: Robert Wilton wrote: On 11/10/2018 11:21, Martin Bjorklund wrote: Andy Bierman wrote: On Wed, Oct 10, 2018 at 11:39 PM, Martin Bjorklund wrote: Andy Bierman wrote: On Wed, Oct 10, 2018 at 6:59 PM, Reshad Rahman (rrahman) <

Re: [netmod] xpath expressions in JSON

2018-10-11 Thread Vladimir Vassilev
On 10/11/18 11:43 AM, Vladimir Vassilev wrote: +1. This is one of the two necessary changes to make the instance-identifier type canonical. Proposed changes RFC 7950: OLD: 9.13.2.  Lexical Representation    An instance-identifier value is lexically represented as a string.    All node

Re: [netmod] xpath expressions in JSON

2018-10-11 Thread Vladimir Vassilev
On 10/11/18 11:21 AM, Andy Bierman wrote: So you must mean the full module name will be used at every node:   /ietf-interfaces:interfaces/ietf-interfaces:interface[ietf-interfaces:name='eth0'] Length is the only real problem I see with the solution. The lexical representation of

Re: [netmod] xpath expressions in JSON

2018-10-11 Thread Martin Bjorklund
Robert Wilton wrote: > > > On 11/10/2018 11:21, Martin Bjorklund wrote: > > Andy Bierman wrote: > >> On Wed, Oct 10, 2018 at 11:39 PM, Martin Bjorklund > >> wrote: > >> > >>> Andy Bierman wrote: > On Wed, Oct 10, 2018 at 6:59 PM, Reshad Rahman (rrahman) < > >>> rrah...@cisco.com> >

Re: [netmod] xpath expressions in JSON

2018-10-11 Thread Robert Wilton
On 11/10/2018 11:21, Martin Bjorklund wrote: Andy Bierman wrote: On Wed, Oct 10, 2018 at 11:39 PM, Martin Bjorklund wrote: Andy Bierman wrote: On Wed, Oct 10, 2018 at 6:59 PM, Reshad Rahman (rrahman) < rrah...@cisco.com> wrote: On 2018-10-10, 9:59 AM, "netmod on behalf of Martin

Re: [netmod] xpath expressions in JSON

2018-10-11 Thread Martin Bjorklund
Andy Bierman wrote: > On Wed, Oct 10, 2018 at 11:39 PM, Martin Bjorklund wrote: > > > Andy Bierman wrote: > > > On Wed, Oct 10, 2018 at 6:59 PM, Reshad Rahman (rrahman) < > > rrah...@cisco.com> > > > wrote: > > > > > > > On 2018-10-10, 9:59 AM, "netmod on behalf of Martin Bjorklund" < > > > >

Re: [netmod] xpath expressions in JSON

2018-10-11 Thread Robert Wilton
On 11/10/2018 10:21, Andy Bierman wrote: On Wed, Oct 10, 2018 at 11:39 PM, Martin Bjorklund > wrote: Andy Bierman mailto:a...@yumaworks.com>> wrote: > On Wed, Oct 10, 2018 at 6:59 PM, Reshad Rahman (rrahman) mailto:rrah...@cisco.com>> > wrote: >

Re: [netmod] xpath expressions in JSON

2018-10-11 Thread Vladimir Vassilev
On 10/11/18 8:39 AM, Martin Bjorklund wrote: Andy Bierman wrote: On Wed, Oct 10, 2018 at 6:59 PM, Reshad Rahman (rrahman) wrote: On 2018-10-10, 9:59 AM, "netmod on behalf of Martin Bjorklund" < netmod-boun...@ietf.org on behalf of m...@tail-f.com> wrote: Ladislav Lhotka wrote:

Re: [netmod] xpath expressions in JSON

2018-10-11 Thread Andy Bierman
On Wed, Oct 10, 2018 at 11:39 PM, Martin Bjorklund wrote: > Andy Bierman wrote: > > On Wed, Oct 10, 2018 at 6:59 PM, Reshad Rahman (rrahman) < > rrah...@cisco.com> > > wrote: > > > > > On 2018-10-10, 9:59 AM, "netmod on behalf of Martin Bjorklund" < > > > netmod-boun...@ietf.org on behalf of

Re: [netmod] Spencer Dawkins' Yes on draft-ietf-netmod-schema-mount-11: (with COMMENT)

2018-10-11 Thread Spencer Dawkins at IETF
Hi, Martin, On Thu, Oct 11, 2018 at 2:50 AM Martin Bjorklund wrote: > Hi, > > Spencer Dawkins wrote: > > Spencer Dawkins has entered the following ballot position for > > draft-ietf-netmod-schema-mount-11: Yes > > > > When responding, please keep the subject line intact and reply to all > >

Re: [netmod] Suresh Krishnan's No Objection on draft-ietf-netmod-schema-mount-11: (with COMMENT)

2018-10-11 Thread Martin Bjorklund
Suresh Krishnan wrote: > Suresh Krishnan has entered the following ballot position for > draft-ietf-netmod-schema-mount-11: No Objection > > When responding, please keep the subject line intact and reply to all > email addresses included in the To and CC lines. (Feel free to cut this >

Re: [netmod] Ben Campbell's No Objection on draft-ietf-netmod-schema-mount-11: (with COMMENT)

2018-10-11 Thread Martin Bjorklund
Hi, Ben Campbell wrote: > Ben Campbell has entered the following ballot position for > draft-ietf-netmod-schema-mount-11: No Objection > > When responding, please keep the subject line intact and reply to all > email addresses included in the To and CC lines. (Feel free to cut this >

Re: [netmod] Spencer Dawkins' Yes on draft-ietf-netmod-schema-mount-11: (with COMMENT)

2018-10-11 Thread Martin Bjorklund
Hi, Spencer Dawkins wrote: > Spencer Dawkins has entered the following ballot position for > draft-ietf-netmod-schema-mount-11: Yes > > When responding, please keep the subject line intact and reply to all > email addresses included in the To and CC lines. (Feel free to cut > this >

Re: [netmod] Eric Rescorla's Discuss on draft-ietf-netmod-schema-mount-11: (with DISCUSS)

2018-10-11 Thread Martin Bjorklund
Eric Rescorla wrote: > I'm sorry but I don't understand this. > > Does the externally visible behavior of any mounted module depend in any > way on these XPATH references Yes, but note that these XPath expressions ("parent-reference") are read-only (config false in the YANG model). Thus they

Re: [netmod] Place to download Standard YANG Modules ?

2018-10-11 Thread Martin Bjorklund
Jernej Tuljak wrote: > Martin Bjorklund je 10/8/2018 ob 2:53 PM napisal: > > Hi, > > > > > > Balazs Lengyel wrote: > >> Hello, > >> > >> What is the best way to download standard Yang Modules? I know the > >> official answer is to download all the standards then extract the > >> modules, however

Re: [netmod] xpath expressions in JSON

2018-10-11 Thread Martin Bjorklund
Qin Wu wrote: > -邮件原件- > 发件人: netmod [mailto:netmod-boun...@ietf.org] 代表 Ladislav Lhotka > 发送时间: 2018年10月10日 20:41 > 收件人: Martin Bjorklund; netmod@ietf.org > 主题: Re: [netmod] xpath expressions in JSON > > Martin Bjorklund writes: > > > Hi, > > > > While reviewing restconf-notif, I saw

Re: [netmod] xpath expressions in JSON

2018-10-11 Thread Martin Bjorklund
Ladislav Lhotka wrote: > On Wed, 2018-10-10 at 19:23 -0700, Andy Bierman wrote: > > > > > > On Wed, Oct 10, 2018 at 6:59 PM, Reshad Rahman (rrahman) > > wrote: > > > On 2018-10-10, 9:59 AM, "netmod on behalf of Martin Bjorklund" < > > > netmod-boun...@ietf.org on behalf of m...@tail-f.com>

Re: [netmod] xpath expressions in JSON

2018-10-11 Thread Martin Bjorklund
Andy Bierman wrote: > On Wed, Oct 10, 2018 at 6:59 PM, Reshad Rahman (rrahman) > wrote: > > > On 2018-10-10, 9:59 AM, "netmod on behalf of Martin Bjorklund" < > > netmod-boun...@ietf.org on behalf of m...@tail-f.com> wrote: > > > > Ladislav Lhotka wrote: > > > Martin Bjorklund writes:

Re: [netmod] xpath expressions in JSON

2018-10-11 Thread Ladislav Lhotka
On Wed, 2018-10-10 at 19:23 -0700, Andy Bierman wrote: > > > On Wed, Oct 10, 2018 at 6:59 PM, Reshad Rahman (rrahman) > wrote: > > On 2018-10-10, 9:59 AM, "netmod on behalf of Martin Bjorklund" < > > netmod-boun...@ietf.org on behalf of m...@tail-f.com> wrote: > > > > Ladislav Lhotka