summaryrefslogtreecommitdiff
path: root/python/vyos/ifconfig/geneve.py
diff options
context:
space:
mode:
authorThomas Mangin <thomas.mangin@exa.net.uk>2020-04-21 16:17:25 +0100
committerThomas Mangin <thomas.mangin@exa.net.uk>2020-04-21 16:17:25 +0100
commit5f52d7a314a6878322c2f69c5fbee4d3f760d904 (patch)
tree291c5e376b33a73316ba6f25fd3b011fad270128 /python/vyos/ifconfig/geneve.py
parent247577917639c279993e451b210d38e393630c36 (diff)
downloadvyos-1x-5f52d7a314a6878322c2f69c5fbee4d3f760d904.tar.gz
vyos-1x-5f52d7a314a6878322c2f69c5fbee4d3f760d904.zip
geneve: T2350: fix creation of interface
Diffstat (limited to 'python/vyos/ifconfig/geneve.py')
-rw-r--r--python/vyos/ifconfig/geneve.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/vyos/ifconfig/geneve.py b/python/vyos/ifconfig/geneve.py
index 0c1cdade9..145dc268c 100644
--- a/python/vyos/ifconfig/geneve.py
+++ b/python/vyos/ifconfig/geneve.py
@@ -35,6 +35,8 @@ class GeneveIf(Interface):
'vni': 0,
'remote': '',
}
+ options = Interface.options + \
+ ['vni', 'remote']
definition = {
**Interface.definition,
**{