How can i receive MOP_VALUE_SET elements in iter function in same order as user has provided from north bound interface?


I want to get callback of iter for MOP_VALUE_SET in same order as user has provided the inputs. Please provide any suggestion on this, can it be done by any yang keyword or it can be handle in code?

Thanks in advance.


Transactions are agnostic of order within them. There is no garantee there.
But if you can subscribe to each element that you want to order using a different order priority, you can achieve some ordering here. Again this will require you to subscribe as many times as you need. Check “cdb_subscribe()” args for the priority field.