cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
252
Views
0
Helpful
0
Replies

Data ordering when importing configuration through Ansible(JSON-RPC)

l00pback
Level 1
Level 1

With YANG lists and leaf-lists we can use "ordered-by user" to influence the default alphabetical ordering of data inside CDB.
This works fine when feeding CDB with data through NSO GUI.

When using Ansible module nso.config to import configuration data (yaml file), once imported, data into CDB gets sorted alphabetically despite the "ordered-by user" present in the YANG data model.

Is this an ordering behavior coded inside the Ansible module or limitation on JSON-RPC side?
How can we get the ordering to follow what the YANG model says?

Thanks in advance 

0 Replies 0