diff options
| author | Michael Biebl <biebl@debian.org> | 2014-07-06 03:04:17 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2014-07-06 03:04:17 +0200 |
| commit | 3ce667b6ee6b86291bbe60ef93cba7f11a5c5400 (patch) | |
| tree | af3daa7221e898b72f3de26eb2cf0c1b1c8661b0 /examples/ruby/list-devices.rb | |
| parent | f02d31d95af29678092d1ff01f714621bc9dcc0f (diff) | |
| parent | 33491bc4279481db8ae47213e34a6d695a0e8830 (diff) | |
Merge tag 'upstream/0.9.10.0'
Upstream version 0.9.10.0
Diffstat (limited to 'examples/ruby/list-devices.rb')
| -rwxr-xr-x | examples/ruby/list-devices.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/ruby/list-devices.rb b/examples/ruby/list-devices.rb index a3bf90f5..710ccedc 100755 --- a/examples/ruby/list-devices.rb +++ b/examples/ruby/list-devices.rb @@ -25,6 +25,7 @@ require 'dbus' # This example lists basic information about network interfaces known to NM # +# For the types see include/NetworkManager.h devtypes = { 1 => "Ethernet", 2 => "Wi-Fi", 5 => "Bluetooth", @@ -34,7 +35,11 @@ devtypes = { 1 => "Ethernet", 9 => "InfiniBand", 10 => "Bond", 11 => "VLAN", - 12 => "ADSL" } + 12 => "ADSL", + 13 => "Bridge", + 14 => "Generic", + 15 => "Team" + } states = { 0 => "Unknown", 10 => "Unmanaged", |