summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-bridge.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-03-21 18:52:12 +0100
committerChristian Poessinger <christian@poessinger.com>2022-03-21 18:52:12 +0100
commit18483a2f7d18aecb40b2003cec9a9dae6bcfaa24 (patch)
tree9b677b852b4eb302cb8e83528e116c7f2d648ff6 /src/conf_mode/interfaces-bridge.py
parentf2ebdfa4b856c2801dbdd177095220a27e408e1f (diff)
downloadvyos-1x-18483a2f7d18aecb40b2003cec9a9dae6bcfaa24.tar.gz
vyos-1x-18483a2f7d18aecb40b2003cec9a9dae6bcfaa24.zip
mirror: T3089: add verify_mirror() also for bond and bridge interfaces
Diffstat (limited to 'src/conf_mode/interfaces-bridge.py')
-rwxr-xr-xsrc/conf_mode/interfaces-bridge.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces-bridge.py b/src/conf_mode/interfaces-bridge.py
index f4dba9d4a..9f840cb58 100755
--- a/src/conf_mode/interfaces-bridge.py
+++ b/src/conf_mode/interfaces-bridge.py
@@ -27,6 +27,7 @@ from vyos.configdict import is_source_interface
from vyos.configdict import has_vlan_subinterface_configured
from vyos.configdict import dict_merge
from vyos.configverify import verify_dhcpv6
+from vyos.configverify import verify_mirror
from vyos.configverify import verify_vrf
from vyos.ifconfig import BridgeIf
from vyos.validate import has_address_configured
@@ -105,6 +106,7 @@ def verify(bridge):
verify_dhcpv6(bridge)
verify_vrf(bridge)
+ verify_mirror(bridge)
ifname = bridge['ifname']