|
Thanks for the comments and support. See
answers below. On 6/13/2018 4:40 PM, Robert Wilton
wrote:
BALAZS: We allow multiple YANG modules in a file, but I have never seen it used. Actually my model/tool designers asked me to prohibit multiple YANG modules (YAMs) in one file at least within Ericsson. So if the group decides so it can be allowed, however I think it is not a good idea. BALAZS: It could be easily added. All we need is a pair of tags like <CODE BEGINS> we could call it <INSTANCE DATA BEGINS> <INSTANCE DATA ENDS> After that we need to create the tools to extract and validate the instance data. BALAZS: OK. How about: Leading and trailing whitespace before and after the actual value MUST NOT be present for data based on types string or binary, but MAY be present for data based on integer types, decimal64, boolean, enumeration, bits, identityref, instance-identifier. For leafrefs leading or trailing whitespace MAY or MUST NOT be present based on the referenced data type. For data based on a union type leading or trailing whitespace MUST NOT be present if it is not allowed for any of the member types. BALAZS: OK. I like your text. BALAZS: For config=false data that's trivial. For config=true data I don't see a use-case for providing operational state data. IMHO If we just say that config=true data can be loaded into the running/candidate datastore that is enough. We had a similar debate with Jurgen (?) but I still do not see the use case. Maybe if there will be dynamic datastores it would be more meaningful. If you see a use-case that needs this please describe it. 6) If this data is to be stored in a file, should it state that it must be stored as UTF-8 character encoding?BALAZS: Good idea. Maybe a more general statement like: Instance data MUST follow the XML and JSON encoding rules defined in RFC7950 and 7951. Data MUST be present in canonical form or where that is not defined in lexical representation. It is more then just UTF-8. All stuff about encoding the different statements and types also applies. BALAZS: Yes I would like to. However I am not exactly clear on what does backwards compatibility mean for instance data. Data MAY NOT be removed or changed only added. ??? Who would use the semver numbers ???
-- Balazs Lengyel Ericsson Hungary Ltd. Senior Specialist Mobile: +36-70-330-7909 email: [email protected] |
_______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
