summaryrefslogtreecommitdiff
path: root/python/vyos/ifconfig/geneve.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-07-25 11:49:05 +0200
committerChristian Poessinger <christian@poessinger.com>2021-07-25 21:10:25 +0200
commit7a85dbfb8b97dade658e8213099fc4995ae62ea1 (patch)
tree0223edb96033a250674ce83b4de9cda419f7ef99 /python/vyos/ifconfig/geneve.py
parente4d697b1d3aad0cb8e81f4c36bcaa4c089195f43 (diff)
downloadvyos-1x-7a85dbfb8b97dade658e8213099fc4995ae62ea1.tar.gz
vyos-1x-7a85dbfb8b97dade658e8213099fc4995ae62ea1.zip
ifconfig: backport ifconfig framework from 1.4 to support new tunnel options
It is easier to backport the entire vyos.ifconfig library from 1.4 instead of backporting single pieces which are required to add new feature to the tunnel interface section. In addition that both libraries are now back in sync it will become much easier to backport any other new feature introduced in VyOS 1.4!
Diffstat (limited to 'python/vyos/ifconfig/geneve.py')
-rw-r--r--python/vyos/ifconfig/geneve.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/python/vyos/ifconfig/geneve.py b/python/vyos/ifconfig/geneve.py
index 0a3711dab..35b7680a1 100644
--- a/python/vyos/ifconfig/geneve.py
+++ b/python/vyos/ifconfig/geneve.py
@@ -27,11 +27,7 @@ class GeneveIf(Interface):
https://lwn.net/Articles/644938/
"""
- default = {
- 'type': 'geneve',
- 'vni': 0,
- 'remote': '',
- }
+ iftype = 'geneve'
options = Interface.options + \
['vni', 'remote']
definition = {