Re: [netmod] Fwd: New Version Notification for draft-ietf-netmod-yang-instance-file-format-00.txt

2018-11-28 Thread Qin Wu
The abbreviation of YANG instance data yid may confuse with YANG identitifer short name " YANG Identifier: Numeric object identifier, which is a fixed-length numeric value that represents a particular schema node within a YANG module schema tree. The length and format of a YANG

Re: [netmod] Confirming draft-ietf-netmod-module-tags-03 consensus call

2018-11-28 Thread joel jaeggli
This confirms the completion of this period. I think we can conclude the following: The Question of whether better guidance for usage can be applied was raised and discussed. Robert Wilton proposed some text which seems both reasonable and which does not change the substance of the draft. The

Re: [netmod] Datastore leaf for yang instance data

2018-11-28 Thread Juergen Schoenwaelder
On Wed, Nov 28, 2018 at 03:43:01PM +, Robert Wilton wrote: > > > > > > I do not understand why a datastore leaf is not sufficient and why we > > need yet something new. If ever needed, NMDA does allow us to define > > new datastores. > > Because a distinction between "candidate" vs

Re: [netmod] Datastore leaf for yang instance data

2018-11-28 Thread Robert Wilton
On 28/11/2018 15:32, Juergen Schoenwaelder wrote: On Wed, Nov 28, 2018 at 03:27:26PM +, Robert Wilton wrote: On 28/11/2018 10:20, Juergen Schoenwaelder wrote: On Wed, Nov 28, 2018 at 09:41:12AM +, Balázs Lengyel wrote: I do not buy this story. Your software needs to decide somehow

Re: [netmod] Datastore leaf for yang instance data

2018-11-28 Thread Juergen Schoenwaelder
On Wed, Nov 28, 2018 at 03:27:26PM +, Robert Wilton wrote: > > On 28/11/2018 10:20, Juergen Schoenwaelder wrote: > > On Wed, Nov 28, 2018 at 09:41:12AM +, Balázs Lengyel wrote: > > > > I do not buy this story. Your software needs to decide somehow what > > > > instance data means. A

Re: [netmod] Datastore leaf for yang instance data

2018-11-28 Thread Robert Wilton
On 28/11/2018 10:20, Juergen Schoenwaelder wrote: On Wed, Nov 28, 2018 at 09:41:12AM +, Balázs Lengyel wrote: I do not buy this story. Your software needs to decide somehow what instance data means. A config true leaf in candidate means something different than the same config true leaf in

Re: [netmod] Fwd: New Version Notification for draft-ietf-netmod-yang-instance-file-format-00.txt

2018-11-28 Thread Juergen Schoenwaelder
On Wed, Nov 28, 2018 at 09:35:55AM -0500, Joe Clarke wrote: > On 11/23/18 07:48, Balázs Lengyel wrote: > >> Do you have to register the ".yid" file extension as well? > > BALAZS: Is there a registry for file extensions? I was not aware. > > RFC6020 section 14 registers media types that include

Re: [netmod] Fwd: New Version Notification for draft-ietf-netmod-yang-instance-file-format-00.txt

2018-11-28 Thread Joe Clarke
On 11/23/18 07:48, Balázs Lengyel wrote: >> Do you have to register the ".yid" file extension as well? > BALAZS: Is there a registry for file extensions? I was not aware. RFC6020 section 14 registers media types that include file extensions for .yin and .yang. I am asking are you proposing to do

Re: [netmod] Datastore leaf for yang instance data

2018-11-28 Thread Martin Bjorklund
Juergen Schoenwaelder wrote: [...] > PS: I am not a big fan of the indentation style but that is a minor > issue. Since the RFC editor will ensure that the indentation style is consistent with other RFCs, it is better to fix this now. /martin

Re: [netmod] Datastore leaf for yang instance data

2018-11-28 Thread Juergen Schoenwaelder
On Tue, Nov 27, 2018 at 05:11:07PM +, Balázs Lengyel wrote: > Hello Jurgen, > > As we had many misunderstandings around the datastore parameter, and I am > still not clear what you would like, could you propose a description text > for the datastore parameter. > Here is a start... OLD

Re: [netmod] Datastore leaf for yang instance data

2018-11-28 Thread Juergen Schoenwaelder
On Wed, Nov 28, 2018 at 09:41:12AM +, Balázs Lengyel wrote: > > > I do not buy this story. Your software needs to decide somehow what > > instance data means. A config true leaf in candidate means something > > different than the same config true leaf in running and this yet again > > means

[netmod] instance file format and etags/timestamps, xml attributes

2018-11-28 Thread Juergen Schoenwaelder
draft-ietf-netmod-yang-instance-file-format-00.txt says: The JSON format SHALL follow the format of the reply returmed for a RESTCONF GET request directed at the datastore resource: {+restconf}/data. ETags and Timestamps SHOULD NOT be included, but if present SHOULD be ignored. I

Re: [netmod] Datastore leaf for yang instance data

2018-11-28 Thread Balázs Lengyel
On 2018. 11. 23. 16:49, Juergen Schoenwaelder wrote: On Fri, Nov 23, 2018 at 01:21:23PM +, Balázs Lengyel wrote: BALAZS: "Instance data associated with a datastore" may mean many things, that's why this relatively loose term is used. It may mean: * Data was read from that