summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-openvpn.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-20 20:12:53 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-22 09:55:53 +0200
commit281274de1e20e1f937e92960bfd72d3d608e75f3 (patch)
tree34861a3231041a6d794cdcaf3357d1d932c48c74 /interface-definitions/interfaces-openvpn.xml.in
parente6666353c41de8ad675d4157cdbe848a42ba6385 (diff)
downloadvyos-1x-281274de1e20e1f937e92960bfd72d3d608e75f3.tar.gz
vyos-1x-281274de1e20e1f937e92960bfd72d3d608e75f3.zip
vyos.configdict: leaf_node_changed() must return empty dict when node is added
vyos@vyos# show interfaces pppoe pppoe pppoe10 { + access-concentrator asdfg authentication { password bar user foo } default-route force no-peer-dns source-interface eth0.202 } vyos@vyos# python3 Python 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from vyos.config import Config >>> from vyos.configdict import get_interface_dict >>> from vyos.configdict import leaf_node_changed >>> conf = Config() >>> base = ['interfaces', 'pppoe'] >>> tmp = get_interface_dict(conf, base, 'pppoe10') >>> leaf_node_changed(conf, ['access-concentrator']) >>> [''] (cherry picked from commit f476e456e20393e7e7e91b73e369c9b033fbf048)
Diffstat (limited to 'interface-definitions/interfaces-openvpn.xml.in')
0 files changed, 0 insertions, 0 deletions