diff options
author | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-04-27 23:03:43 +0100 |
---|---|---|
committer | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-05-02 12:56:15 +0100 |
commit | 3fdf0093ac0b859b5074e2a20c2a1a9276c2754e (patch) | |
tree | b590f146afe470e41d7ec53b085205967ce22f12 /tests/data | |
parent | 960e1f6d190210fbf67c83fd9f4f55bc31fbaf6d (diff) | |
download | vyos-1x-3fdf0093ac0b859b5074e2a20c2a1a9276c2754e.tar.gz vyos-1x-3fdf0093ac0b859b5074e2a20c2a1a9276c2754e.zip |
configdict: T2372: correct disable support in vlan_to_dict
implement disable_state which looks if the current node, or some
designated parent node are set are 'disable' and thefore should
be ignored.
break down the function vlan_to_dict in it multiple components
add_to_dict which can parse vif, vif-s, or vif-c and add them
to the configuration dictionary
intf_to_dict which setup a base configuration dictionary from the
interface Config() with addresses, arp, disable, ...
it is used by vlan_to_dict but can and will be used by other interfaces
Diffstat (limited to 'tests/data')
0 files changed, 0 insertions, 0 deletions