summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-02-27 10:05:40 -0600
committerJohn Estabrook <jestabro@vyos.io>2022-02-28 13:42:24 -0600
commit193cbd15ba39a41614c63b997e6a62254589158a (patch)
treeaa66b973c9b61ec2818d9368c50b0343fdf4f0d1 /interface-definitions
parent4625fd41f99ddf77c104a657cd90a1ddf5449dd8 (diff)
downloadvyos-1x-193cbd15ba39a41614c63b997e6a62254589158a.tar.gz
vyos-1x-193cbd15ba39a41614c63b997e6a62254589158a.zip
configtree: T4235: distinguish sub(-tract) tree from delete tree
The DiffTree class maintains both the 'sub'(-tract) configtree, containing all paths in the LHS of the comparison that are not in the RHS, and the 'delete' configtree: the delete tree is the minimal subtree containing only the first node of a path not present in the RHS. It is the delete tree that is needed to produce 'delete' commands for config mode, whereas the 'sub' tree contains full information, needed for recursively detecting changes to a node.
Diffstat (limited to 'interface-definitions')
0 files changed, 0 insertions, 0 deletions