diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-07-14 21:48:23 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-07-18 08:14:33 +0200 |
commit | 6f53eb48d5c9d79354d4349c042eec02b8051560 (patch) | |
tree | 02c6a3d64fea19fe9976677ba7cfad3133fd7761 /src/conf_mode/interfaces-l2tpv3.py | |
parent | 8bbde65979519d38712b1bd55cf50042513546bf (diff) | |
download | vyos-1x-6f53eb48d5c9d79354d4349c042eec02b8051560.tar.gz vyos-1x-6f53eb48d5c9d79354d4349c042eec02b8051560.zip |
interfaces: T4525: interfaces can not be member of a bridge/bond and a VRF
(cherry picked from commit 81e0f4a8dece85da7169ba05448e870206aaf57b)
Diffstat (limited to 'src/conf_mode/interfaces-l2tpv3.py')
-rwxr-xr-x | src/conf_mode/interfaces-l2tpv3.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces-l2tpv3.py b/src/conf_mode/interfaces-l2tpv3.py index 9b6ddd5aa..c1ed8ec59 100755 --- a/src/conf_mode/interfaces-l2tpv3.py +++ b/src/conf_mode/interfaces-l2tpv3.py @@ -25,6 +25,7 @@ from vyos.configdict import leaf_node_changed from vyos.configverify import verify_address from vyos.configverify import verify_bridge_delete from vyos.configverify import verify_mtu_ipv6 +from vyos.configverify import verify_bond_bridge_member from vyos.ifconfig import L2TPv3If from vyos.util import check_kmod from vyos.validate import is_addr_assigned @@ -76,6 +77,7 @@ def verify(l2tpv3): verify_mtu_ipv6(l2tpv3) verify_address(l2tpv3) + verify_bond_bridge_member(l2tpv3) return None def generate(l2tpv3): |