summaryrefslogtreecommitdiff
path: root/python/vyos/ifconfig/macvlan.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-18 20:27:20 +0200
committerGitHub <noreply@github.com>2020-04-18 20:27:20 +0200
commit8ca76a93743e18f94428fd00e3d8c277eaaceec9 (patch)
tree904cffc51618dbb7cb30b0d6293d29005ce1e00f /python/vyos/ifconfig/macvlan.py
parentd76dbb558a4fcb73c2377b5524451bb408419802 (diff)
parentdd194aaa4a2ff04865c54c61282098d56d572ed9 (diff)
downloadvyos-1x-8ca76a93743e18f94428fd00e3d8c277eaaceec9.tar.gz
vyos-1x-8ca76a93743e18f94428fd00e3d8c277eaaceec9.zip
Merge pull request #357 from thomas-mangin/T2320
interfaces: T2320: correctly honour create and debug options
Diffstat (limited to 'python/vyos/ifconfig/macvlan.py')
-rw-r--r--python/vyos/ifconfig/macvlan.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/macvlan.py b/python/vyos/ifconfig/macvlan.py
index 55b1a3e91..37228e57f 100644
--- a/python/vyos/ifconfig/macvlan.py
+++ b/python/vyos/ifconfig/macvlan.py
@@ -35,7 +35,8 @@ class MACVLANIf(Interface):
'prefixes': ['peth', ],
},
}
- options = Interface.options + ['source_interface', 'mode']
+ options = Interface.options + \
+ ['source_interface', 'mode']
def _create(self):
cmd = 'ip link add {ifname} link {source_interface} type macvlan mode {mode}'.format(