summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-pppoe.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-03-21 21:41:41 +0100
committerChristian Poessinger <christian@poessinger.com>2022-03-21 21:41:41 +0100
commit3584691b35f35e40a1bfc22c34da031141fd0dfa (patch)
tree264b571f5d52494ac809832d701f0693ec4a91da /src/conf_mode/interfaces-pppoe.py
parent18483a2f7d18aecb40b2003cec9a9dae6bcfaa24 (diff)
downloadvyos-1x-3584691b35f35e40a1bfc22c34da031141fd0dfa.tar.gz
vyos-1x-3584691b35f35e40a1bfc22c34da031141fd0dfa.zip
qos: T4284: initial XML interface definitions for rewrite
Diffstat (limited to 'src/conf_mode/interfaces-pppoe.py')
-rwxr-xr-xsrc/conf_mode/interfaces-pppoe.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces-pppoe.py b/src/conf_mode/interfaces-pppoe.py
index 584adc75e..9962e0a08 100755
--- a/src/conf_mode/interfaces-pppoe.py
+++ b/src/conf_mode/interfaces-pppoe.py
@@ -28,6 +28,7 @@ from vyos.configverify import verify_source_interface
from vyos.configverify import verify_interface_exists
from vyos.configverify import verify_vrf
from vyos.configverify import verify_mtu_ipv6
+from vyos.configverify import verify_redirect
from vyos.ifconfig import PPPoEIf
from vyos.template import render
from vyos.util import call
@@ -85,6 +86,7 @@ def verify(pppoe):
verify_authentication(pppoe)
verify_vrf(pppoe)
verify_mtu_ipv6(pppoe)
+ verify_redirect(pppoe)
if {'connect_on_demand', 'vrf'} <= set(pppoe):
raise ConfigError('On-demand dialing and VRF can not be used at the same time')