4343class NMState :
4444 '''Global state
4545
46- As per https://developer.gnome.org/NetworkManager/unstable/spec .html#type-NM_STATE
46+ As per https://developer.gnome.org/NetworkManager/unstable/nm-dbus-types .html#NMState
4747 '''
4848 NM_STATE_UNKNOWN = 0
4949 NM_STATE_ASLEEP = 10
@@ -58,7 +58,7 @@ class NMState:
5858class NMConnectivityState :
5959 '''Connectvity state
6060
61- As per https://developer.gnome.org/NetworkManager/unstable/spec .html#type-NM_CONNECTIVITY
61+ As per https://developer.gnome.org/NetworkManager/unstable/nm-dbus-types .html#NMConnectivityState
6262 '''
6363 NM_CONNECTIVITY_UNKNOWN = 0
6464 NM_CONNECTIVITY_NONE = 1
@@ -70,7 +70,7 @@ class NMConnectivityState:
7070class NMActiveConnectionState :
7171 '''Active connection state
7272
73- As per https://developer.gnome.org/NetworkManager/unstable/spec .html#type-NM_ACTIVE_CONNECTION_STATE
73+ As per https://developer.gnome.org/NetworkManager/unstable/nm-dbus-types .html#NMActiveConnectionState
7474 '''
7575 NM_ACTIVE_CONNECTION_STATE_UNKNOWN = 0
7676 NM_ACTIVE_CONNECTION_STATE_ACTIVATING = 1
@@ -82,7 +82,7 @@ class NMActiveConnectionState:
8282class InfrastructureMode :
8383 '''Infrastructure mode
8484
85- As per https://developer.gnome.org/NetworkManager/unstable/spec .html#type-NM_802_11_MODE
85+ As per https://developer.gnome.org/NetworkManager/unstable/nm-dbus-types .html#NM80211Mode
8686 '''
8787 NM_802_11_MODE_UNKNOWN = 0
8888 NM_802_11_MODE_ADHOC = 1
@@ -100,7 +100,7 @@ class InfrastructureMode:
100100class DeviceState :
101101 '''Device states
102102
103- As per https://developer.gnome.org/NetworkManager/unstable/spec .html#type-NM_DEVICE_STATE
103+ As per https://developer.gnome.org/NetworkManager/unstable/nm-dbus-types .html#NMDeviceState
104104 '''
105105 UNKNOWN = 0
106106 UNMANAGED = 10
@@ -120,7 +120,7 @@ class DeviceState:
120120class NM80211ApSecurityFlags :
121121 '''Security flags
122122
123- As per https://developer.gnome.org/NetworkManager/unstable/spec .html#type-NM_802_11_AP_SEC
123+ As per https://developer.gnome.org/NetworkManager/unstable/nm-dbus-types .html#NM80211ApSecurityFlags
124124 '''
125125 NM_802_11_AP_SEC_NONE = 0x00000000
126126 NM_802_11_AP_SEC_PAIR_WEP40 = 0x00000001
@@ -145,7 +145,7 @@ class NM80211ApSecurityFlags:
145145class NM80211ApFlags :
146146 '''Device flags
147147
148- As per https://developer.gnome.org/NetworkManager/unstable/spec .html#type-NM_802_11_AP_FLAGS
148+ As per https://developer.gnome.org/NetworkManager/unstable/nm-dbus-types .html#NM80211ApFlags
149149 '''
150150 NM_802_11_AP_FLAGS_NONE = 0x00000000
151151 NM_802_11_AP_FLAGS_PRIVACY = 0x00000001
@@ -305,7 +305,7 @@ def AddEthernetDevice(self, device_name, iface_name, state):
305305 state. You can use the predefined DeviceState values (e. g.
306306 DeviceState.ACTIVATED) or supply a numeric value. For valid state values
307307 please visit
308- http ://projects .gnome.org/NetworkManager/developers/api/09/spec .html#type-NM_DEVICE_STATE
308+ https ://developer .gnome.org/NetworkManager/unstable/nm-dbus-types .html#NMDeviceState
309309
310310 Please note that this does not set any global properties.
311311
@@ -355,7 +355,7 @@ def AddWiFiDevice(self, device_name, iface_name, state):
355355 state. You can use the predefined DeviceState values (e. g.
356356 DeviceState.ACTIVATED) or supply a numeric value. For valid state values,
357357 please visit
358- http ://projects .gnome.org/NetworkManager/developers/api/09/spec .html#type-NM_DEVICE_STATE
358+ https ://developer .gnome.org/NetworkManager/unstable/nm-dbus-types .html#NMDeviceState
359359
360360 Please note that this does not set any global properties.
361361
@@ -417,7 +417,7 @@ def AddAccessPoint(self, dev_path, ap_name, ssid, hw_address,
417417 You have to specify WiFi Device path, Access Point object name,
418418 ssid, hw_address, mode, frequency, rate, strength and security.
419419 For valid access point property values, please visit
420- http ://projects .gnome.org/NetworkManager/developers/api/09/spec.html# org.freedesktop.NetworkManager.AccessPoint
420+ https ://developer .gnome.org/NetworkManager/unstable/gdbus- org.freedesktop.NetworkManager.AccessPoint.html
421421
422422 Please note that this does not set any global properties.
423423
@@ -705,8 +705,7 @@ def SettingsAddConnection(self, connection_settings):
705705 '''Add a connection.
706706
707707 connection_settings is a String String Variant Map Map. See
708- https://developer.gnome.org/NetworkManager/0.9/spec.html
709- #type-String_String_Variant_Map_Map
708+ https://developer.gnome.org/NetworkManager/0.9/spec.html #type-String_String_Variant_Map_Map
710709
711710 If you omit uuid, this method adds one for you.
712711 '''
@@ -786,8 +785,7 @@ def ConnectionUpdate(self, settings):
786785 '''Update settings on a connection.
787786
788787 settings is a String String Variant Map Map. See
789- https://developer.gnome.org/NetworkManager/0.9/spec.html
790- #type-String_String_Variant_Map_Map
788+ https://developer.gnome.org/NetworkManager/0.9/spec.html#type-String_String_Variant_Map_Map
791789 '''
792790 connection_path = self .connection_path
793791
0 commit comments