summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-openvpn.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-07-14 21:48:23 +0200
committerChristian Poessinger <christian@poessinger.com>2022-07-18 08:14:33 +0200
commit6f53eb48d5c9d79354d4349c042eec02b8051560 (patch)
tree02c6a3d64fea19fe9976677ba7cfad3133fd7761 /src/conf_mode/interfaces-openvpn.py
parent8bbde65979519d38712b1bd55cf50042513546bf (diff)
downloadvyos-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-openvpn.py')
-rwxr-xr-xsrc/conf_mode/interfaces-openvpn.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces-openvpn.py b/src/conf_mode/interfaces-openvpn.py
index f7edddcbf..7d20b3fd0 100755
--- a/src/conf_mode/interfaces-openvpn.py
+++ b/src/conf_mode/interfaces-openvpn.py
@@ -33,6 +33,7 @@ from vyos.configdict import is_node_changed
from vyos.configverify import verify_vrf
from vyos.configverify import verify_bridge_delete
from vyos.configverify import verify_diffie_hellman_length
+from vyos.configverify import verify_bond_bridge_member
from vyos.ifconfig import VTunIf
from vyos.template import render
from vyos.template import is_ipv4
@@ -425,6 +426,7 @@ def verify(openvpn):
raise ConfigError('Username for authentication is missing')
verify_vrf(openvpn)
+ verify_bond_bridge_member(openvpn)
return None