summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-06-08 12:00:11 +0200
committerDaniil Baturin <daniil@baturin.org>2018-06-08 12:00:11 +0200
commit6acc5f6cb03f553141b0442f5e01cbf47b8e7833 (patch)
tree1f881de6841b6ec6c5a1550c2cab066de8b6330d /data
parent9afd3a8607fe5ce53f3756ea1c2c7045cd7c67b3 (diff)
downloadvyos-1x-6acc5f6cb03f553141b0442f5e01cbf47b8e7833.tar.gz
vyos-1x-6acc5f6cb03f553141b0442f5e01cbf47b8e7833.zip
T689: add a basic library for working with network interfaces and support for interface types to the completion script.
Diffstat (limited to 'data')
-rw-r--r--data/interface-types.json17
1 files changed, 17 insertions, 0 deletions
diff --git a/data/interface-types.json b/data/interface-types.json
new file mode 100644
index 000000000..c452122af
--- /dev/null
+++ b/data/interface-types.json
@@ -0,0 +1,17 @@
+{
+ "loopback": "lo",
+ "dummy": "dum",
+ "ethernet": "eth",
+ "bonding": "bond",
+ "bridge": "br",
+ "pseudo-ethernet": "peth",
+ "openvpn": "vtun",
+ "tunnel": "tun",
+ "vti": "vti",
+ "l2tpv3": "l2tpeth",
+ "vxlan": "vxlan",
+ "wireless": "wireless",
+ "wirelessmodem": "wlm",
+ "input": "ifb",
+ "pppoe": "pppoe"
+}