diff options
author | Christian Breunig <christian@breunig.cc> | 2023-09-05 19:37:16 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-09-05 19:37:16 +0200 |
commit | fad6519932586664c2c53e41b8deb276dd1dde65 (patch) | |
tree | da2eb57847f2a67f10189bbfc174dd693a3a3108 /src/conf_mode | |
parent | 487c817ea320ddabcdaf41a8112937a29c19443e (diff) | |
parent | 5c2b49092ca1fc56cf198ca89630ec97fddd64b3 (diff) | |
download | vyos-1x-fad6519932586664c2c53e41b8deb276dd1dde65.tar.gz vyos-1x-fad6519932586664c2c53e41b8deb276dd1dde65.zip |
Merge branch 'netns' into current
* netns:
smoketest: T5241: re-work netns assertions and provide common utility helper
netns: T5241: simplify network namespace handling
netns: T5241: improve get_interface_namespace() robustness
netns: T5241: use common interface_exists() helper
netns: T5241: provide is_netns_interface utility helper
T5241: Support netns for veth and dummy interfaces
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/interfaces-dummy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/interfaces-dummy.py b/src/conf_mode/interfaces-dummy.py index e771581e1..db768b94d 100755 --- a/src/conf_mode/interfaces-dummy.py +++ b/src/conf_mode/interfaces-dummy.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -# Copyright (C) 2019-2021 VyOS maintainers and contributors +# Copyright (C) 2019-2023 VyOS maintainers and contributors # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 or later as @@ -55,7 +55,7 @@ def generate(dummy): return None def apply(dummy): - d = DummyIf(dummy['ifname']) + d = DummyIf(**dummy) # Remove dummy interface if 'deleted' in dummy: |