summaryrefslogtreecommitdiff
path: root/src/op_mode/clear_conntrack.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-02-27 10:05:40 -0600
committerJohn Estabrook <jestabro@vyos.io>2022-04-20 18:23:22 -0500
commita2bbde8f17d268ddaa4c0986230dc5ac5682b019 (patch)
tree6c2c408771818f36717839f439f084e5abbcf476 /src/op_mode/clear_conntrack.py
parent5b1231a0511095aa1b82a8c7bb1e119e3576e228 (diff)
downloadvyos-1x-a2bbde8f17d268ddaa4c0986230dc5ac5682b019.tar.gz
vyos-1x-a2bbde8f17d268ddaa4c0986230dc5ac5682b019.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. (cherry picked from commit 193cbd15ba39a41614c63b997e6a62254589158a)
Diffstat (limited to 'src/op_mode/clear_conntrack.py')
0 files changed, 0 insertions, 0 deletions