Open jjsson opened 8 months ago
When deleting first clients for example in the SNMP list the diff is funny:
snc@snc-lab[/]# show compare
clients {
- name "192.36.171.249/32";
+ name "192.36.171.225/32";
}
clients {
- name "192.36.171.225/32";
+ name "192.36.171.175/32";
}
clients {
- name "192.36.171.175/32";
+ name "109.105.111.111/32";
}
clients {
- name "109.105.111.111/32";
+ name "109.105.111.24/32";
}
clients {
- name "109.105.111.24/32";
+ name "109.105.113.17/32";
}
clients {
- name "109.105.113.17/32";
+ name "86.105.118.10/32";
}
clients {
- name "86.105.118.10/32";
+ name "130.242.121.200/32";
}
clients {
- name "130.242.121.200/32";
+ name "86.105.119.16/32";
}
community{
- clients {
- name 86.105.119.16/32;
- }
}
The comparison algorithm in clixon assumes a yang-spec. But the "config" part of the template is anydata and lacks YANG. There are two obvious solutions to this: 1) Clixon should have a non-yang xml diff 2) The template should use YANG
Document this as known issue: show compare of template configs is limited.
show compare does not show diff while load merge xml
Example adding 1653:8 :
pre -adding:
rikard@snc[/]# show devices template deploy-policy-options-shared-community
rikard@snc[/]#
addning
rikard@snc[/]# load merge xml