summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-04-25 17:48:09 +0200
committerChristian Poessinger <christian@poessinger.com>2021-04-25 17:48:09 +0200
commitf44e35d339ded011a76989b035f3577df33c3fa9 (patch)
tree1a1fed3787294289198831b6a74bf4d22d1944fb
parent4c7bf4768915c28e393b749f9ad42aaea18b9dc2 (diff)
downloadvyos-1x-f44e35d339ded011a76989b035f3577df33c3fa9.tar.gz
vyos-1x-f44e35d339ded011a76989b035f3577df33c3fa9.zip
tunnel: T3468: add interfaces to completion helper for bridge
(cherry-picked from commit efa744c63b388773a4ea76d0f690042ec1689159)
-rw-r--r--python/vyos/ifconfig/tunnel.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/python/vyos/ifconfig/tunnel.py b/python/vyos/ifconfig/tunnel.py
index 90dcac0f2..2609514f0 100644
--- a/python/vyos/ifconfig/tunnel.py
+++ b/python/vyos/ifconfig/tunnel.py
@@ -45,6 +45,7 @@ class _Tunnel(Interface):
**{
'section': 'tunnel',
'prefixes': ['tun',],
+ 'bridgeable': True,
},
}
@@ -134,14 +135,6 @@ class GRETapIf(_Tunnel):
"""
# no multicast, ttl or tos for gretap
-
- definition = {
- **_Tunnel.definition,
- **{
- 'bridgeable': True,
- },
- }
-
default = {'type': 'gretap'}
options = ['local', 'remote', 'ttl',]