In YANG, there is leaf-list which carries the list of data.
Here the data type in vlan can be a single value or a range separated by two dots.
When the payload is:
Will it stored in data-store as in input (or) will it get expanded and stored as 10, 21, 22, 23, 24, 25?
What is the right/best approach?
When there is payload to delete 23 after Case 1.
Does it need to be:
or it can be simple delete:
Ideally the devices support many means to manage the configuration:
CLI, Ansible, Chef, Puppet, NXAPI , REST API, Netconf of Native model and OC model
Same as Case 2 where user delete the VLAN 23 but through different mean (say CLI)
What is expected in OC data store (get-config)?
For all above cases config is to be understood.
How about the "State"?
How the leaf-list operates for the same?
Would like to understand more as open standard + implementation challenges/specifics.