The Abstract says “re-using the same format as the reply to a <get> operation/request”. At first, I was going to suggest replacing <get> with <get-data>, but I question if this is correct since the draft supports JSON, which neither NETCONF RPC is able to return.
The Terminology section is missing an entry for “instance data set”. I don’t understand what P3 means. Add info text to draft. Re: P4, if file == 1 “set”, then the distinction becomes unclear (see earlier comment about missing “set” term). I understand that it’s intended to mean instance data for a set of modules but, if there’s a 1:1 relationship between file and set, then just pick one term for the draft. I don’t understand what P7 means. Add more text to draft. Section 3 says this about Content data: “It MAY include entity-tags and timestamps as defined in [RFC8040]”. How is this possible? RFC 8040 only returns such data in HTTP headers; there’s no defined encoding for putting the data into instance data. Section 3 also says “It MAY include an explicit tag for default values as defined in [RFC6243] and [RFC8040]”. Do you mean, the “default” attribute defined in Section 6 in RFC 6243 and Section 4.8.9 in RFC 8040? The text should be more explicit. Section 3 also contains paragraphs beginning with: “It MAY include implementation specific metadata.” and “It MAY include implementation specific XML attributes.” I think these two paragraphs should be merged and a sentence added noting how metadata is encoded for JSON and XML. s/A single instance data set/An instance data set/ (since already there is only one) Section 3 says: “Instance data files MAY contain partial data sets. This means mandatory, min-elements or require-instance=true constrains MAY be violated.” Why? This means validations may fail. Generally, I feel that the part of Section 3 describing the content should be replaced with a statement that any valid response for <get-data> or GET on a top-level resource is okay. If this is not the case, then the draft should still start with this statement and them list out any exceptions. “Metadata” is a general term, please use another term in Section 3, or spell out what is intended. BTW, there isn’t a node in the YANG module called “metadata”, leading the extra confusion. Where is the tree diagram? All drafts defining YANG modules should include a YANG tree diagram for each module. Actually, reverting on my comment above, I recommend replacing Section 3 with the familiar 3-tuple: tree-diagram, example, YANG module. In particular, I would delete all the text that can be described (and better at that) by the YANG module. This eliminates duplication of content, which is both less to read and eliminates possibly conflicting information. Stopping my review before section 3.1. Kent // contributor
_______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
