From f44e35d339ded011a76989b035f3577df33c3fa9 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 25 Apr 2021 17:48:09 +0200 Subject: tunnel: T3468: add interfaces to completion helper for bridge (cherry-picked from commit efa744c63b388773a4ea76d0f690042ec1689159) --- python/vyos/ifconfig/tunnel.py | 9 +-------- 1 file changed, 1 insertion(+), 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',] -- cgit v1.2.3