summaryrefslogtreecommitdiff
path: root/src/conf_mode/netns.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-24 17:39:23 +0100
committerGitHub <noreply@github.com>2023-12-24 17:39:23 +0100
commitfb3a7e30bffc949584bbb0ad1f6632ef940605be (patch)
tree579857d662c665bcb636befa705eadbba8d416b6 /src/conf_mode/netns.py
parent8e6da6bdf7d0b9b6a562e10ed0ffd8d9d59cfeaa (diff)
parent4ee4064705ebd1e1a6a59be0c6df3b96755a067e (diff)
downloadvyos-1x-fb3a7e30bffc949584bbb0ad1f6632ef940605be.tar.gz
vyos-1x-fb3a7e30bffc949584bbb0ad1f6632ef940605be.zip
Merge pull request #2682 from c-po/node-changed-t5837
configdict: T5837: add support to return added nodes when calling node_changed()
Diffstat (limited to 'src/conf_mode/netns.py')
-rwxr-xr-xsrc/conf_mode/netns.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/conf_mode/netns.py b/src/conf_mode/netns.py
index 95ab83dbc..7cee33bc6 100755
--- a/src/conf_mode/netns.py
+++ b/src/conf_mode/netns.py
@@ -77,8 +77,8 @@ def verify(netns):
if 'netns_remove' in netns:
for name, config in netns['netns_remove'].items():
if 'interface' in config:
- raise ConfigError(f'Can not remove NETNS "{name}", it still has '\
- f'member interfaces!')
+ raise ConfigError(f'Can not remove network namespace "{name}", it '\
+ f'still has member interfaces!')
if 'name' in netns:
for name, config in netns['name'].items():
@@ -87,7 +87,6 @@ def verify(netns):
return None
-
def generate(netns):
if not netns:
return None