summaryrefslogtreecommitdiff
path: root/src/diff_tree.ml
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2025-01-29 21:08:14 -0600
committerJohn Estabrook <jestabro@vyos.io>2025-02-03 08:22:35 -0600
commit07595537a8020603cb36801cefa22314c2fe74e8 (patch)
tree669e370e43773b987b99d99fbb8d7a6c8fb257a9 /src/diff_tree.ml
parente19c9f0201d507471a7401733c5af7c776f9e6c2 (diff)
downloadvyos1x-config-07595537a8020603cb36801cefa22314c2fe74e8.tar.gz
vyos1x-config-07595537a8020603cb36801cefa22314c2fe74e8.zip
T6946: add function get_tagged_delete_tree to restore tag values
The config diff function produces both del(ete) and sub(tract) trees. The delete tree contains the minimal path difference between compared trees, for example, between the active and proposed configs; this is the information needed to execute removal of a path. The subtract tree contains the full paths in active that are not in proposed; this retains necessary information in certain cases. In case all tag values of a tag node are removed, the delete tree contains only the tag node itself, however for proper script execution of a deleted tag node, one will need the removed tag node values: restore this information from the subtract tree.
Diffstat (limited to 'src/diff_tree.ml')
0 files changed, 0 insertions, 0 deletions