summaryrefslogtreecommitdiff
path: root/src/conf_mode/interface-dummy.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-09-06 13:02:25 +0200
committerGitHub <noreply@github.com>2019-09-06 13:02:25 +0200
commitf5066563cb5d13e970dd37dd8be94272c9e13e1a (patch)
tree747dd4507c513dd4f5a233294e6ce82b3096d6b8 /src/conf_mode/interface-dummy.py
parent5f87266d9ef3b72908b6f429e37df280f1be8cdf (diff)
parent98aafc8f704ef54b6ece514c038b6aea414df734 (diff)
downloadvyos-1x-f5066563cb5d13e970dd37dd8be94272c9e13e1a.tar.gz
vyos-1x-f5066563cb5d13e970dd37dd8be94272c9e13e1a.zip
Merge pull request #125 from c-po/t1636-vxlan
vxlan: T1636: initial rewrite with XML and Python
Diffstat (limited to 'src/conf_mode/interface-dummy.py')
-rwxr-xr-xsrc/conf_mode/interface-dummy.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf_mode/interface-dummy.py b/src/conf_mode/interface-dummy.py
index 4a1179672..614fe08db 100755
--- a/src/conf_mode/interface-dummy.py
+++ b/src/conf_mode/interface-dummy.py
@@ -91,6 +91,8 @@ def apply(dummy):
du.ifalias = dummy['description']
# Configure interface address(es)
+ # - not longer required addresses get removed first
+ # - newly addresses will be added second
for addr in dummy['address_remove']:
du.del_addr(addr)
for addr in dummy['address']: