See below BALAZS3.
From: Andy Bierman <a...@yumaworks.com> Sent: 2019. november 18., hétfő 0:58 To: Balázs Lengyel <balazs.leng...@ericsson.com> Cc: Martin Bjorklund <m...@tail-f.com>; NetMod WG <netmod@ietf.org> Subject: Re: [netmod] comments on draft-ietf-netmod-yang-instance-file-format-04 On Sun, Nov 17, 2019 at 6:19 AM Balázs Lengyel <balazs.leng...@ericsson.com <mailto:balazs.leng...@ericsson.com> > wrote: From: Andy Bierman <a...@yumaworks.com <mailto:a...@yumaworks.com> > Sent: 2019. november 7., csütörtök 23:58 To: Martin Bjorklund <m...@tail-f.com <mailto:m...@tail-f.com> > Cc: Balázs Lengyel <balazs.leng...@ericsson.com <mailto:balazs.leng...@ericsson.com> >; NetMod WG <netmod@ietf.org <mailto:netmod@ietf.org> > Subject: Re: [netmod] comments on draft-ietf-netmod-yang-instance-file-format-04 It seems strange that the details that don't matter at all (like the filename) have lots of rules that MUST be followed and the details that actually add standards value are left unspecified. Andy BALAZS2: Actually what is missing, unspecified? The inline-schema is under-specified. There is no way for the file reader to know what to expect as the child nodes of inline-schema. The file writer can put anything there and a 3rd party reader tool is expected to support it. anydata inline-schema { mandatory true; description "Instance data corresponding to the YANG modules specified in the inline-module nodes defining the set of content defining YANG modules for this instance-data-set."; } Andy BALAZS3: IMO the anydata is specified. The leaf-list inline-module defines the modules that define how anydata inline-schema should look like. anydata inline-schema { mandatory true; description "Instance data corresponding to the YANG modules specified in the inline-module ... The fileReader/fileWriter shall look at the ‘leaf-list inline-module’ and from that it knows what to read/write. I wanted to state that inline-schema anydata always follows the ietf-yang-library and maybe some YAMs augmenting it. However Juergen insisted in a more flexible solution.
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod