From 1b00009169254d0a8fc9c2da1ccd99a716d2715f Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Tue, 23 Feb 2016 17:40:54 +0100 Subject: device: add new NMDeviceType NM_DEVICE_TYPE_VETH MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Based-on-patch-by: Jiří Klimeš --- examples/python/dbus/list-devices.py | 1 + examples/ruby/list-devices.rb | 1 + examples/shell/list-devices.sh | 1 + 3 files changed, 3 insertions(+) (limited to 'examples') diff --git a/examples/python/dbus/list-devices.py b/examples/python/dbus/list-devices.py index c9c753ec8b..8dd41f6164 100755 --- a/examples/python/dbus/list-devices.py +++ b/examples/python/dbus/list-devices.py @@ -40,6 +40,7 @@ devtypes = { 1: "Ethernet", 17: "IPTunnel" 18: "MACVLAN" 19: "VXLAN" + 20: "Veth" } states = { 0: "Unknown", diff --git a/examples/ruby/list-devices.rb b/examples/ruby/list-devices.rb index 9949a40977..bf37425839 100755 --- a/examples/ruby/list-devices.rb +++ b/examples/ruby/list-devices.rb @@ -43,6 +43,7 @@ devtypes = { 1 => "Ethernet", 17 => "IPTunnel", 18 => "MACVLAN", 19 => "VXLAN", + 20 => "Veth", } states = { 0 => "Unknown", diff --git a/examples/shell/list-devices.sh b/examples/shell/list-devices.sh index 817c8b7cc4..c5c4114012 100755 --- a/examples/shell/list-devices.sh +++ b/examples/shell/list-devices.sh @@ -52,6 +52,7 @@ devtype_to_name() 17) echo "IPTunnel" ;; 18) echo "MACVLAN" ;; 19) echo "VXLAN" ;; + 20) echo "Veth" ;; *) echo "Unknown" ;; esac } -- cgit v1.2.1