examples: update examples for new device types
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
#
|
||||
# Copyright (C) 2011 Red Hat, Inc.
|
||||
# Copyright (C) 2011 - 2012 Red Hat, Inc.
|
||||
#
|
||||
|
||||
import dbus, sys
|
||||
@@ -23,11 +23,15 @@ import dbus, sys
|
||||
# This example lists basic information about network interfaces known to NM
|
||||
|
||||
devtypes = { 1: "Ethernet",
|
||||
2: "WiFi",
|
||||
2: "Wi-Fi",
|
||||
5: "Bluetooth",
|
||||
6: "OLPC",
|
||||
7: "WiMAX",
|
||||
8: "Modem" }
|
||||
8: "Modem",
|
||||
9: "InfiniBand",
|
||||
10: "Bond",
|
||||
11: "VLAN",
|
||||
12: "ADSL" }
|
||||
|
||||
states = { 0: "Unknown",
|
||||
10: "Unmanaged",
|
||||
|
Reference in New Issue
Block a user