summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkroy <kroy@kroy.io>2019-10-30 17:12:23 -0500
committerkroy <kroy@kroy.io>2019-10-30 17:12:23 -0500
commit7fc2a5c31f748bc821dd7d0c4856d707618e68c1 (patch)
tree653dfac0d84e4f76948cd94dad10ec3898114370 /src
parent4efcd7d44b2194eb36b381fd0ad639fd402c6c6d (diff)
downloadvyos-1x-7fc2a5c31f748bc821dd7d0c4856d707618e68c1.tar.gz
vyos-1x-7fc2a5c31f748bc821dd7d0c4856d707618e68c1.zip
[conf completion]: T1779: Add tunnels to completion
Diffstat (limited to 'src')
-rwxr-xr-xsrc/completion/list_interfaces.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/completion/list_interfaces.py b/src/completion/list_interfaces.py
index 5e444ef78..84d17f89f 100755
--- a/src/completion/list_interfaces.py
+++ b/src/completion/list_interfaces.py
@@ -34,7 +34,8 @@ elif args.bridgeable:
openvpn = vyos.interfaces.list_interfaces_of_type("openvpn")
vxlan = vyos.interfaces.list_interfaces_of_type("vxlan")
wireless = vyos.interfaces.list_interfaces_of_type("wireless")
- interfaces = eth + bond + l2tpv3 + openvpn + vxlan + wireless
+ tunnel = vyos.interfaces.list_interfaces_of_type("tunnel")
+ interfaces = eth + bond + l2tpv3 + openvpn + vxlan + wireless + tunnel
elif args.bondable:
eth = vyos.interfaces.list_interfaces_of_type("ethernet")