diff options
author | Jernej Jakob <jernej.jakob@gmail.com> | 2020-05-03 15:38:30 +0200 |
---|---|---|
committer | Jernej Jakob <jernej.jakob@gmail.com> | 2020-05-04 20:58:06 +0200 |
commit | c113977f917ec56fe2b8707bfe8e381b4c181d7d (patch) | |
tree | 528fa4f17773f67e8402eec7027a64c3d22a9f27 /op-mode-definitions | |
parent | 66e150056ad2cfecb302ab7f42d06096395b7517 (diff) | |
download | vyos-1x-c113977f917ec56fe2b8707bfe8e381b4c181d7d.tar.gz vyos-1x-c113977f917ec56fe2b8707bfe8e381b4c181d7d.zip |
util: T2241: add get_bridge_member_config function
Function that parses the config of a bridge member into a dict that is
needed to apply all port config when adding a port to a bridge.
Needed because other interfaces will be adding themselves to the bridge
outside of the bridge conf_mode script and they need a common place to
get their config.
Can't be put as method of BridgeIf as we can't invoke it without it
creating the bridge (create=False raises an exception), we need to
get the configuration before we create the interface.
Diffstat (limited to 'op-mode-definitions')
0 files changed, 0 insertions, 0 deletions