|
On 6/13/2018 5:26 PM, Juergen
Schoenwaelder wrote:
BALAZS:On Wed, Jun 13, 2018 at 03:40:31PM +0100, Robert Wilton wrote:5) I'm wondering whether there needs to be some sort of identifier about what type data is held. E.g. does it represent data that can be consumed as part of one of the configuration datastores, or does it represent the equivalent of operational state, or is it data for an RPC, etc.Yes. I think I requested this before. There should be a way to indicate which datastore instance-data belongs to. I am not against this proposal, I just don't see the use case for it. At this point I only see 2 use cases:
Who would use it? In which case would you handle data differently depending on the the datastore for config=true data? Maybe if there will be dynamic datastores it will be more meaningful. Could you please describe the use case you are thinking about! BALAZS: The anydata statement could be called data instead of instance-data. I used instance-data because its more specific, and I like that, but I can change it.I also do not understand why we have instance-data-set if the set is limited to exactly one instance-data element. Perhaps room to find a better name for the outer container or the anyxml (perhaps change instance-data-set to instance-data and instance-data to simply data). Or alternatively allow multiple instance-data portions but then meta data would need to be associated with instance-data and not instance-data-set, so we would actually need another layer. I like to keep the file and the data-set separate. In my mind these are two different concepts just as a YANG module and a YANG file are separate. I use the term set because internally it can contain a multiple related pieces of data. BALAZS: OK, XML preamble will be added.Also, given that this is supposed to be serialized in XML (or JSON I assume), would it make sense to include an XML preamble in the examples, i.e.,
-- 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
