summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-11-24 10:41:15 +0100
committerChristian Poessinger <christian@poessinger.com>2019-11-24 10:44:20 +0100
commit9fc971e6945ed97a88a441053cae6a5f9b57ee00 (patch)
treef21aaa9262772e6dabdef18a3453a55aeeb2d506
parentc078dac303d1e427f9612f7ff1996800f5076b47 (diff)
downloadvyos-1x-9fc971e6945ed97a88a441053cae6a5f9b57ee00.tar.gz
vyos-1x-9fc971e6945ed97a88a441053cae6a5f9b57ee00.zip
geneve: T1799: support bridging
-rw-r--r--data/interface-types.json3
-rwxr-xr-xsrc/completion/list_interfaces.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/data/interface-types.json b/data/interface-types.json
index f1862b882..f174d3c39 100644
--- a/data/interface-types.json
+++ b/data/interface-types.json
@@ -14,5 +14,6 @@
"wireless": "wlan",
"wirelessmodem": "wlm",
"input": "ifb",
- "pppoe": "pppoe"
+ "pppoe": "pppoe",
+ "geneve": "gnv"
}
diff --git a/src/completion/list_interfaces.py b/src/completion/list_interfaces.py
index 47eeaf00c..f336968a6 100755
--- a/src/completion/list_interfaces.py
+++ b/src/completion/list_interfaces.py
@@ -36,8 +36,9 @@ elif args.bridgeable:
wireless = vyos.interfaces.list_interfaces_of_type("wireless")
tunnel = vyos.interfaces.list_interfaces_of_type("tunnel")
wireless = vyos.interfaces.list_interfaces_of_type("wireless")
+ geneve = vyos.interfaces.list_interfaces_of_type("geneve")
- interfaces = eth + bond + l2tpv3 + openvpn + vxlan + wireless + tunnel
+ interfaces = eth + bond + l2tpv3 + openvpn + vxlan + tunnel + wireless + geneve
elif args.bondable:
eth = vyos.interfaces.list_interfaces_of_type("ethernet")