diff options
author | Christian Breunig <christian@breunig.cc> | 2024-09-14 22:41:41 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-09-15 08:08:14 +0200 |
commit | 8eeb1bdcdfc104ffa77531f270a38cda2aee7f82 (patch) | |
tree | e8624e3673bdb6fd08966cc984defc7b31fcc08f /src/conf_mode | |
parent | 0ee8d5e35044e7480dac6a23e92d43744b8c5d36 (diff) | |
download | vyos-1x-8eeb1bdcdfc104ffa77531f270a38cda2aee7f82.tar.gz vyos-1x-8eeb1bdcdfc104ffa77531f270a38cda2aee7f82.zip |
bond: T6709: add EAPoL support
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/interfaces_bonding.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces_bonding.py b/src/conf_mode/interfaces_bonding.py index 5e5d5fba1..bbbfb0385 100755 --- a/src/conf_mode/interfaces_bonding.py +++ b/src/conf_mode/interfaces_bonding.py @@ -25,6 +25,7 @@ from vyos.configdict import is_source_interface from vyos.configverify import verify_address from vyos.configverify import verify_bridge_delete from vyos.configverify import verify_dhcpv6 +from vyos.configverify import verify_eapol from vyos.configverify import verify_mirror_redirect from vyos.configverify import verify_mtu_ipv6 from vyos.configverify import verify_vlan_config @@ -73,7 +74,7 @@ def get_config(config=None): else: conf = Config() base = ['interfaces', 'bonding'] - ifname, bond = get_interface_dict(conf, base) + ifname, bond = get_interface_dict(conf, base, with_pki=True) # To make our own life easier transfor the list of member interfaces # into a dictionary - we will use this to add additional information @@ -196,6 +197,7 @@ def verify(bond): verify_dhcpv6(bond) verify_vrf(bond) verify_mirror_redirect(bond) + verify_eapol(bond) # use common function to verify VLAN configuration verify_vlan_config(bond) |