summaryrefslogtreecommitdiff
path: root/src/conf_mode/service_pppoe-server.py
diff options
context:
space:
mode:
authoraapostoliuk <a.apostoliuk@vyos.io>2024-04-29 17:55:54 +0300
committeraapostoliuk <a.apostoliuk@vyos.io>2024-04-29 17:55:54 +0300
commitaf7277c7d525c22749bc236ad2096bec5c08d998 (patch)
treefd92cc88ccb0259b82d7c163511c0b668c26746b /src/conf_mode/service_pppoe-server.py
parent0c0799aa08a765812cf1266692539cf5ffda670b (diff)
downloadvyos-1x-af7277c7d525c22749bc236ad2096bec5c08d998.tar.gz
vyos-1x-af7277c7d525c22749bc236ad2096bec5c08d998.zip
T6272: Changed interface existence verification in pppoe/ipoe to Warning
Throwing Warning message instead of Error if interface which is used in pppoe/ipoe does not exist.
Diffstat (limited to 'src/conf_mode/service_pppoe-server.py')
-rwxr-xr-xsrc/conf_mode/service_pppoe-server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/service_pppoe-server.py b/src/conf_mode/service_pppoe-server.py
index b9d174933..328487985 100755
--- a/src/conf_mode/service_pppoe-server.py
+++ b/src/conf_mode/service_pppoe-server.py
@@ -105,7 +105,7 @@ def verify(pppoe):
# Check is interface exists in the system
for interface in pppoe['interface']:
- verify_interface_exists(interface)
+ verify_interface_exists(interface, warning_only=True)
return None