diff options
author | Christian Breunig <christian@breunig.cc> | 2024-09-16 11:46:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-16 11:46:46 +0200 |
commit | 27e2016952f8fdd01d59f73c67ac9b8a30b756b6 (patch) | |
tree | 5c7a925cd382826282eb2ba5d076d1a1214d7e6a /src/conf_mode/interfaces_bonding.py | |
parent | 11164c87635d779c41683b19d6d6e97d587c4267 (diff) | |
parent | 8eeb1bdcdfc104ffa77531f270a38cda2aee7f82 (diff) | |
download | vyos-1x-27e2016952f8fdd01d59f73c67ac9b8a30b756b6.tar.gz vyos-1x-27e2016952f8fdd01d59f73c67ac9b8a30b756b6.zip |
Merge pull request #4069 from c-po/eapol-bond
bond: T6709: add EAPoL support
Diffstat (limited to 'src/conf_mode/interfaces_bonding.py')
-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) |