summaryrefslogtreecommitdiff
path: root/python/vyos/configsource.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-24 13:13:44 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-12-24 16:40:11 +0000
commitbfdc261db153ba2813b93ffe1564afd37d0a0d7c (patch)
tree5ae96e50f01d84d78a2bf5af4e9bc72f5051de82 /python/vyos/configsource.py
parentcddd596a0e03a0ecbbe63bba4f64e9932d02d01f (diff)
downloadvyos-1x-bfdc261db153ba2813b93ffe1564afd37d0a0d7c.tar.gz
vyos-1x-bfdc261db153ba2813b93ffe1564afd37d0a0d7c.zip
configdict: T5837: add support to return added nodes when calling node_changed()
In the past, node_changed() suggested it would also return nodes that got added (function comment) but in reality only deleted keys got accounted for. This commit changes the signature and adds an argument expand_nodes to specify the users interest of a node was deleted (default), added (expand_nodes=Diff.ADD) or even both (expand_nodes=Diff.ADD|Diff.DELETE). (cherry picked from commit 4ee4064705ebd1e1a6a59be0c6df3b96755a067e)
Diffstat (limited to 'python/vyos/configsource.py')
0 files changed, 0 insertions, 0 deletions