Page MenuHomeVyOS Platform

Add support for lexical ordering of nodes in config_tree
Closed, ResolvedPublicENHANCEMENT

Description

Support for consistent ordering of configtree nodes is required for:

(1) Unit tests of the config_diff algorithm, in order to establish identity of configtrees before/after application, for example:

diff(left, right) => add, subtract, intersection; consequently, one wants to check right == union(intersection, add) and left == union(intersection, subtract)

(2) We currently rely on ordering from vyatta-cfg; when we move away from reliance on the legacy backend, we will need a replacement.

Details

Difficulty level
Normal (likely a few hours)
Version
vyos-1.4
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Improvement (missing useful functionality)