diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-09-24 18:40:07 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-09-24 21:53:25 +0200 |
commit | 12d0cdf69ba15dccb705e212ea605b692f825dbd (patch) | |
tree | e871010d64336f6494ef7f1deb372862b11b342c /src/conf_mode/interface-vxlan.py | |
parent | 8138766884bb7fe301dc21d2cb0bd3556d169d2e (diff) | |
download | vyos-1x-12d0cdf69ba15dccb705e212ea605b692f825dbd.tar.gz vyos-1x-12d0cdf69ba15dccb705e212ea605b692f825dbd.zip |
Python/ifconfig: T1557: refactor Interface 'ifalias' property to set_alias()
Diffstat (limited to 'src/conf_mode/interface-vxlan.py')
-rwxr-xr-x | src/conf_mode/interface-vxlan.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interface-vxlan.py b/src/conf_mode/interface-vxlan.py index f0fa7596a..638efda31 100755 --- a/src/conf_mode/interface-vxlan.py +++ b/src/conf_mode/interface-vxlan.py @@ -163,7 +163,7 @@ def apply(vxlan): # Finally create the new interface v = VXLANIf(vxlan['intf'], config=conf) # update interface description used e.g. by SNMP - v.ifalias = vxlan['description'] + v.set_alias(vxlan['description']) # Maximum Transfer Unit (MTU) v.set_mtu(vxlan['mtu']) |