summaryrefslogtreecommitdiff
path: root/src/conf_mode/interface-vxlan.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-09-24 18:56:05 +0200
committerChristian Poessinger <christian@poessinger.com>2019-09-24 21:53:25 +0200
commit09f4553ffdbf3c35696f08118d75793db33cb59b (patch)
tree8944db754488689314f5cec66cde65aba4de1642 /src/conf_mode/interface-vxlan.py
parent48e5ad611bc63575eb1150024939d04eb62cf400 (diff)
downloadvyos-1x-09f4553ffdbf3c35696f08118d75793db33cb59b.tar.gz
vyos-1x-09f4553ffdbf3c35696f08118d75793db33cb59b.zip
Python/ifconfig: T1557: refactor Interface 'arp_cache_tmo' property to set_set_arp_cache_tmo()
Diffstat (limited to 'src/conf_mode/interface-vxlan.py')
-rwxr-xr-xsrc/conf_mode/interface-vxlan.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interface-vxlan.py b/src/conf_mode/interface-vxlan.py
index b7aa55b61..c0c85e64c 100755
--- a/src/conf_mode/interface-vxlan.py
+++ b/src/conf_mode/interface-vxlan.py
@@ -168,7 +168,7 @@ def apply(vxlan):
v.set_mtu(vxlan['mtu'])
# configure ARP cache timeout in milliseconds
- v.arp_cache_tmp = vxlan['ip_arp_cache_tmo']
+ v.set_arp_cache_tmo(vxlan['ip_arp_cache_tmo'])
# Enable proxy-arp on this interface
v.set_proxy_arp(vxlan['ip_proxy_arp'])