diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-09-24 19:03:57 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-09-24 21:53:25 +0200 |
commit | 065adc3ab2ee6262b4a1a85762697ac81fc5b084 (patch) | |
tree | 0e23be39c2c7225063c74c2203b2ddd4c383e5e3 /src/conf_mode/interface-vxlan.py | |
parent | 09f4553ffdbf3c35696f08118d75793db33cb59b (diff) | |
download | vyos-1x-065adc3ab2ee6262b4a1a85762697ac81fc5b084.tar.gz vyos-1x-065adc3ab2ee6262b4a1a85762697ac81fc5b084.zip |
Python/ifconfig: T1557: refactor Interface 'state' property to set_state()/get_state()
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 c0c85e64c..1097ae4d0 100755 --- a/src/conf_mode/interface-vxlan.py +++ b/src/conf_mode/interface-vxlan.py @@ -182,7 +182,7 @@ def apply(vxlan): # parameters we will only re-enable the interface if it is not # administratively disabled if not vxlan['disable']: - v.state='up' + v.set_state('up') return None |