summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-11-24 12:21:16 +0100
committerChristian Poessinger <christian@poessinger.com>2019-11-24 12:21:16 +0100
commit31054d01294e314358d35c8177b49cd85a41799f (patch)
tree675c00e8341908a2e745ccaa21247a4f2707f58a
parent229b705e6fe0f8bdf314a22d71eb938c6c3669cb (diff)
downloadvyos-1x-31054d01294e314358d35c8177b49cd85a41799f.tar.gz
vyos-1x-31054d01294e314358d35c8177b49cd85a41799f.zip
vxlan: T1636: add misssing "vni" to default_config_data
-rwxr-xr-xsrc/conf_mode/interfaces-vxlan.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/conf_mode/interfaces-vxlan.py b/src/conf_mode/interfaces-vxlan.py
index 1097ae4d0..30ff1755d 100755
--- a/src/conf_mode/interfaces-vxlan.py
+++ b/src/conf_mode/interfaces-vxlan.py
@@ -38,8 +38,9 @@ default_config_data = {
'link': '',
'mtu': 1450,
'remote': '',
- 'remote_port': 8472 # The Linux implementation of VXLAN pre-dates
- # the IANA's selection of a standard destination port
+ 'remote_port': 8472, # The Linux implementation of VXLAN pre-dates
+ # the IANA's selection of a standard destination port
+ 'vni': ''
}
def get_config():