clicon / clixon

YANG-based toolchain including NETCONF and RESTCONF interfaces and an interactive CLI
http://www.clicon.org/
Other
216 stars 72 forks source link

show compare/diff problems with sorted-by user #482

Closed olofhagsand closed 7 months ago

olofhagsand commented 8 months ago

If changes are made in candidate to a list and one is ordered-by system and one (immediately follwoing) is ordered-by user, the diff fails. Even if there are only added entries the diff shows deleted entries as well. Ca 50% occurence. Example YANG:

  list one {
     ordered-by system;
  }
  list two {
     ordered-by user;
  }

Then add entries to one