diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-04-25 17:48:09 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-04-25 17:48:09 +0200 |
commit | f44e35d339ded011a76989b035f3577df33c3fa9 (patch) | |
tree | 1a1fed3787294289198831b6a74bf4d22d1944fb /python/vyos/ifconfig | |
parent | 4c7bf4768915c28e393b749f9ad42aaea18b9dc2 (diff) | |
download | vyos-1x-f44e35d339ded011a76989b035f3577df33c3fa9.tar.gz vyos-1x-f44e35d339ded011a76989b035f3577df33c3fa9.zip |
tunnel: T3468: add interfaces to completion helper for bridge
(cherry-picked from commit efa744c63b388773a4ea76d0f690042ec1689159)
Diffstat (limited to 'python/vyos/ifconfig')
-rw-r--r-- | python/vyos/ifconfig/tunnel.py | 9 |
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',] |