diff options
author | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-03-24 18:33:42 +0000 |
---|---|---|
committer | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-03-24 18:33:42 +0000 |
commit | 1a57edcb8e3052a70296808d394c3d166bcda275 (patch) | |
tree | bc8032579545e8233d6c3f6be578d49f41e7ae8c /python/vyos/ifconfig/macvlan.py | |
parent | 8f02c42286ba92f1aa54502ebb22acd67c2a934d (diff) | |
download | vyos-1x-1a57edcb8e3052a70296808d394c3d166bcda275.tar.gz vyos-1x-1a57edcb8e3052a70296808d394c3d166bcda275.zip |
ifconfig: T2057: convert VLAN to adapter
Diffstat (limited to 'python/vyos/ifconfig/macvlan.py')
-rw-r--r-- | python/vyos/ifconfig/macvlan.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python/vyos/ifconfig/macvlan.py b/python/vyos/ifconfig/macvlan.py index a1dca5e41..4e4b563a1 100644 --- a/python/vyos/ifconfig/macvlan.py +++ b/python/vyos/ifconfig/macvlan.py @@ -15,11 +15,12 @@ from vyos.ifconfig.interface import Interface -from vyos.ifconfig.vlan import VLANIf +from vyos.ifconfig.vlan import VLAN @Interface.register -class MACVLANIf(VLANIf): +@VLAN.enable +class MACVLANIf(Interface): """ Abstraction of a Linux MACvlan interface """ |