ns2 0.2.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. ns2/__init__.py +0 -0
  2. ns2/core.py +0 -0
  3. ns2/dbus/__init__.py +0 -0
  4. ns2/dbus/dbus.py +13 -0
  5. ns2/lib/__init__.py +0 -0
  6. ns2/lib/accounts.py +130 -0
  7. ns2/lib/commands.py +32 -0
  8. ns2/lib/firewalld.py +167 -0
  9. ns2/lib/introspection/org.fedoraproject.FirewallD1.config.xml +3 -0
  10. ns2/lib/introspection/org.fedoraproject.FirewallD1.xml +763 -0
  11. ns2/lib/introspection/org.freedesktop.NetworkManager.AccessPoint.xml +106 -0
  12. ns2/lib/introspection/org.freedesktop.NetworkManager.AgentManager.xml +43 -0
  13. ns2/lib/introspection/org.freedesktop.NetworkManager.Checkpoint.xml +36 -0
  14. ns2/lib/introspection/org.freedesktop.NetworkManager.Connection.Active.xml +185 -0
  15. ns2/lib/introspection/org.freedesktop.NetworkManager.DHCP4Config.xml +21 -0
  16. ns2/lib/introspection/org.freedesktop.NetworkManager.DHCP6Config.xml +20 -0
  17. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.Adsl.xml +21 -0
  18. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.Bluetooth.xml +36 -0
  19. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.Bond.xml +40 -0
  20. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.Bridge.xml +41 -0
  21. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.Dummy.xml +20 -0
  22. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.Generic.xml +27 -0
  23. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.Hsr.xml +51 -0
  24. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.IPTunnel.xml +107 -0
  25. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.Infiniband.xml +31 -0
  26. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.Ipvlan.xml +38 -0
  27. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.Loopback.xml +8 -0
  28. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.Lowpan.xml +27 -0
  29. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.Macsec.xml +109 -0
  30. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.Macvlan.xml +39 -0
  31. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.Modem.xml +62 -0
  32. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.OlpcMesh.xml +34 -0
  33. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.OvsBridge.xml +21 -0
  34. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.OvsInterface.xml +11 -0
  35. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.OvsPort.xml +21 -0
  36. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.Ppp.xml +11 -0
  37. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.Statistics.xml +35 -0
  38. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.Team.xml +48 -0
  39. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.Tun.xml +65 -0
  40. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.Veth.xml +18 -0
  41. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.Vlan.xml +45 -0
  42. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.Vrf.xml +18 -0
  43. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.Vxlan.xml +139 -0
  44. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.WiMax.xml +109 -0
  45. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.WifiP2P.xml +76 -0
  46. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.WireGuard.xml +38 -0
  47. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.Wired.xml +53 -0
  48. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.Wireless.xml +131 -0
  49. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.Wpan.xml +20 -0
  50. ns2/lib/introspection/org.freedesktop.NetworkManager.Device.xml +407 -0
  51. ns2/lib/introspection/org.freedesktop.NetworkManager.DnsManager.xml +40 -0
  52. ns2/lib/introspection/org.freedesktop.NetworkManager.IP4Config.xml +125 -0
  53. ns2/lib/introspection/org.freedesktop.NetworkManager.IP6Config.xml +95 -0
  54. ns2/lib/introspection/org.freedesktop.NetworkManager.PPP.xml +34 -0
  55. ns2/lib/introspection/org.freedesktop.NetworkManager.SecretAgent.xml +94 -0
  56. ns2/lib/introspection/org.freedesktop.NetworkManager.Settings.Connection.xml +224 -0
  57. ns2/lib/introspection/org.freedesktop.NetworkManager.Settings.xml +233 -0
  58. ns2/lib/introspection/org.freedesktop.NetworkManager.VPN.Connection.xml +42 -0
  59. ns2/lib/introspection/org.freedesktop.NetworkManager.VPN.Plugin.xml +204 -0
  60. ns2/lib/introspection/org.freedesktop.NetworkManager.WiMax.Nsp.xml +35 -0
  61. ns2/lib/introspection/org.freedesktop.NetworkManager.WifiP2PPeer.xml +91 -0
  62. ns2/lib/introspection/org.freedesktop.NetworkManager.xml +598 -0
  63. ns2/lib/lib.py +0 -0
  64. ns2/lib/network_delay.py +92 -0
  65. ns2/lib/networking.py +528 -0
  66. ns2/lib/ntl.py +188 -0
  67. ns2/lib/pam_client.py +37 -0
  68. ns2/lib/ping_data_collector.py +37 -0
  69. ns2/lib/snmp.py +511 -0
  70. ns2/lib/socket.py +132 -0
  71. ns2/lib/socket_client.py +62 -0
  72. ns2/lib/systemd.py +151 -0
  73. ns2/lib/test.py +374 -0
  74. ns2/lib/udp_client.py +227 -0
  75. ns2/lib/udp_server.py +167 -0
  76. ns2/snmp/__init__.py +0 -0
  77. ns2/snmp/ns_dbus_service.py +38 -0
  78. ns2/snmp/pam_interface.py +19 -0
  79. ns2/snmp/snmp_interface.py +66 -0
  80. ns2/ui/__init__.py +0 -0
  81. ns2/ui/assets/NOVUS_LOGO.svg +105 -0
  82. ns2/ui/assets/favicon.png +0 -0
  83. ns2/ui/firewalld_page.py +375 -0
  84. ns2/ui/fpga_page.py +24 -0
  85. ns2/ui/login.py +65 -0
  86. ns2/ui/main.py +200 -0
  87. ns2/ui/networking_page.py +406 -0
  88. ns2/ui/ntp.py +105 -0
  89. ns2/ui/root.py +31 -0
  90. ns2/ui/snmp_page.py +353 -0
  91. ns2/ui/terminal.py +65 -0
  92. ns2/ui/tests_page.py +116 -0
  93. ns2/ui/theme.py +25 -0
  94. ns2/utils.py +5 -0
  95. ns2-0.2.6.dist-info/METADATA +78 -0
  96. ns2-0.2.6.dist-info/RECORD +98 -0
  97. ns2-0.2.6.dist-info/WHEEL +4 -0
  98. ns2-0.2.6.dist-info/entry_points.txt +3 -0
@@ -0,0 +1,598 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <node name="/org/freedesktop/NetworkManager">
3
+ <!--
4
+ org.freedesktop.NetworkManager:
5
+ @short_description: Connection Manager.
6
+
7
+ -->
8
+ <interface name="org.freedesktop.NetworkManager">
9
+ <annotation name="org.gtk.GDBus.C.Name" value="Manager"/>
10
+
11
+ <!--
12
+ Reload:
13
+ @flags: Optional flags to specify which parts shall be reloaded.
14
+
15
+ Reload NetworkManager's configuration and perform certain updates, like flushing a cache or
16
+ rewriting external state to disk. This is similar to sending SIGHUP to NetworkManager but it
17
+ allows for more fine-grained control over what to reload (see @flags). It also allows
18
+ non-root access via PolicyKit and contrary to signals it is synchronous.
19
+
20
+ No flags (0x00) means to reload everything that is supported which is identical to
21
+ sending a SIGHUP.
22
+ (0x01) means to reload the NetworkManager.conf configuration from disk. Note that this
23
+ does not include connections, which can be reloaded via Setting's ReloadConnections.
24
+ (0x02) means to update DNS configuration, which usually involves writing /etc/resolv.conf
25
+ anew.
26
+ (0x04) means to restart the DNS plugin. This is for example useful when using
27
+ dnsmasq plugin, which uses additional configuration in /etc/NetworkManager/dnsmasq.d.
28
+ If you edit those files, you can restart the DNS plugin. This action shortly interrupts
29
+ name resolution.
30
+ Note that flags may affect each other. For example, restarting the DNS plugin (0x04)
31
+ implicitly updates DNS too (0x02). Or when reloading the configuration (0x01), changes
32
+ to DNS setting also cause a DNS update (0x02). However, (0x01) does not involve restarting
33
+ the DNS plugin (0x04) or update resolv.conf (0x02), unless the DNS related configuration
34
+ changes in NetworkManager.conf.
35
+ -->
36
+ <method name="Reload">
37
+ <arg name="flags" type="u" direction="in"/>
38
+ </method>
39
+
40
+ <!--
41
+ GetDevices:
42
+ @devices: List of object paths of network devices known to the system. This list does not include device placeholders (see GetAllDevices()).
43
+
44
+ Get the list of realized network devices.
45
+ -->
46
+ <method name="GetDevices">
47
+ <arg name="devices" type="ao" direction="out"/>
48
+ </method>
49
+
50
+ <!--
51
+ GetAllDevices:
52
+ @devices: List of object paths of network devices and device placeholders (eg, devices that do not yet exist but which can be automatically created by NetworkManager if one of their AvailableConnections was activated).
53
+
54
+ Get the list of all network devices.
55
+ -->
56
+ <method name="GetAllDevices">
57
+ <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_get_all_devices"/>
58
+ <arg name="devices" type="ao" direction="out"/>
59
+ </method>
60
+
61
+ <!--
62
+ GetDeviceByIpIface:
63
+ @iface: Interface name of the device to find.
64
+ @device: Object path of the network device.
65
+
66
+ Return the object path of the network device referenced by its IP
67
+ interface name. Note that some devices (usually modems) only have an IP
68
+ interface name when they are connected.
69
+ -->
70
+ <method name="GetDeviceByIpIface">
71
+ <arg name="iface" type="s" direction="in"/>
72
+ <arg name="device" type="o" direction="out"/>
73
+ </method>
74
+
75
+ <!--
76
+ ActivateConnection:
77
+ @connection: The connection to activate. If "/" is given, a valid device path must be given, and NetworkManager picks the best connection to activate for the given device. VPN connections must always pass a valid connection path.
78
+ @device: The object path of device to be activated for physical connections. This parameter is ignored for VPN connections, because the specific_object (if provided) specifies the device to use.
79
+ @specific_object: The path of a connection-type-specific object this activation should use. This parameter is currently ignored for wired and mobile broadband connections, and the value of "/" should be used (ie, no specific object). For Wi-Fi connections, pass the object path of a specific AP from the card's scan list, or "/" to pick an AP automatically. For VPN connections, pass the object path of an ActiveConnection object that should serve as the "base" connection (to which the VPN connections lifetime will be tied), or pass "/" and NM will automatically use the current default device.
80
+ @active_connection: The path of the active connection object representing this active connection.
81
+
82
+ Activate a connection using the supplied device.
83
+ -->
84
+ <method name="ActivateConnection">
85
+ <arg name="connection" type="o" direction="in"/>
86
+ <arg name="device" type="o" direction="in"/>
87
+ <arg name="specific_object" type="o" direction="in"/>
88
+ <arg name="active_connection" type="o" direction="out"/>
89
+ </method>
90
+
91
+ <!--
92
+ AddAndActivateConnection:
93
+ @connection: Connection settings and properties; if incomplete missing settings will be automatically completed using the given device and specific object.
94
+ @device: The object path of device to be activated using the given connection.
95
+ @specific_object: The path of a connection-type-specific object this activation should use. This parameter is currently ignored for wired and mobile broadband connections, and the value of "/" should be used (ie, no specific object). For Wi-Fi connections, pass the object path of a specific AP from the card's scan list, which will be used to complete the details of the newly added connection.
96
+ @path: Object path of the new connection that was just added.
97
+ @active_connection: The path of the active connection object representing this active connection.
98
+
99
+ Adds a new connection using the given details (if any) as a template
100
+ (automatically filling in missing settings with the capabilities of the
101
+ given device and specific object), then activate the new connection.
102
+ Cannot be used for VPN connections at this time.
103
+
104
+ See also AddAndActivateConnection2.
105
+ -->
106
+ <method name="AddAndActivateConnection">
107
+ <arg name="connection" type="a{sa{sv}}" direction="in"/>
108
+ <arg name="device" type="o" direction="in"/>
109
+ <arg name="specific_object" type="o" direction="in"/>
110
+ <arg name="path" type="o" direction="out"/>
111
+ <arg name="active_connection" type="o" direction="out"/>
112
+ </method>
113
+
114
+ <!--
115
+ AddAndActivateConnection2:
116
+ @connection: Connection settings and properties; if incomplete missing settings will be automatically completed using the given device and specific object.
117
+ @device: The object path of device to be activated using the given connection.
118
+ @specific_object: The path of a connection-type-specific object this activation should use. This parameter is currently ignored for wired and mobile broadband connections, and the value of "/" should be used (ie, no specific object). For Wi-Fi connections, pass the object path of a specific AP from the card's scan list, which will be used to complete the details of the newly added connection.
119
+ @options: Further options for the method call.
120
+ @path: Object path of the new connection that was just added.
121
+ @active_connection: The path of the active connection object representing this active connection.
122
+ @result: A dictionary of additional output arguments for future extension. Currently, not additional output arguments are supported.
123
+
124
+ Adds a new connection using the given details (if any) as a template
125
+ (automatically filling in missing settings with the capabilities of the
126
+ given device and specific object), then activate the new connection.
127
+ Cannot be used for VPN connections at this time.
128
+
129
+ This method extends AddAndActivateConnection to allow passing further
130
+ parameters. At this time the following options are supported:
131
+
132
+ * persist: A string value of either "disk" (default), "memory" or "volatile". If "memory" is passed, the connection will not be saved to disk. If "volatile" is passed, the connection will not be saved to disk and will be destroyed when disconnected.
133
+ * bind-activation: Bind the activation lifetime. Set to "dbus-client" to automatically disconnect when the requesting process disappears from the bus. The default of "none" means the connection is kept activated normally.
134
+ -->
135
+ <method name="AddAndActivateConnection2">
136
+ <arg name="connection" type="a{sa{sv}}" direction="in"/>
137
+ <arg name="device" type="o" direction="in"/>
138
+ <arg name="specific_object" type="o" direction="in"/>
139
+ <arg name="options" type="a{sv}" direction="in"/>
140
+ <arg name="path" type="o" direction="out"/>
141
+ <arg name="active_connection" type="o" direction="out"/>
142
+ <arg name="result" type="a{sv}" direction="out"/>
143
+ </method>
144
+
145
+ <!--
146
+ DeactivateConnection:
147
+ @active_connection: The currently active connection to deactivate.
148
+
149
+ Deactivate an active connection.
150
+ -->
151
+ <method name="DeactivateConnection">
152
+ <arg name="active_connection" type="o" direction="in"/>
153
+ </method>
154
+
155
+ <!--
156
+ Sleep:
157
+ @sleep: Indicates whether the NetworkManager daemon should sleep or wake.
158
+
159
+ Control the NetworkManager daemon's sleep state. When asleep, all
160
+ interfaces that it manages are deactivated. When awake, devices are
161
+ available to be activated. This command should not be called directly by
162
+ users or clients; it is intended for system suspend/resume tracking.
163
+ -->
164
+ <method name="Sleep">
165
+ <arg name="sleep" type="b" direction="in"/>
166
+ </method>
167
+
168
+ <!--
169
+ Enable:
170
+ @enable: If FALSE, indicates that all networking should be disabled. If TRUE, indicates that NetworkManager should begin managing network devices.
171
+
172
+ Control whether overall networking is enabled or disabled. When disabled,
173
+ all interfaces that NM manages are deactivated. When enabled, all managed
174
+ interfaces are re-enabled and available to be activated. This command
175
+ should be used by clients that provide to users the ability to
176
+ enable/disable all networking.
177
+ -->
178
+ <method name="Enable">
179
+ <arg name="enable" type="b" direction="in"/>
180
+ </method>
181
+
182
+ <!--
183
+ GetPermissions:
184
+ @permissions: Dictionary of available permissions and results. Each permission is represented by a name (ie "org.freedesktop.NetworkManager.Foobar") and each result is one of the following values: "yes" (the permission is available), "auth" (the permission is available after a successful authentication), or "no" (the permission is denied). Clients may use these values in the UI to indicate the ability to perform certain operations.
185
+
186
+ Returns the permissions a caller has for various authenticated operations
187
+ that NetworkManager provides, like Enable/Disable networking, changing
188
+ Wi-Fi, WWAN, and WiMAX state, etc.
189
+ -->
190
+ <method name="GetPermissions">
191
+ <arg name="permissions" type="a{ss}" direction="out"/>
192
+ </method>
193
+
194
+ <!--
195
+ CheckPermissions:
196
+
197
+ Emitted when system authorization details change, indicating that clients
198
+ may wish to recheck permissions with GetPermissions.
199
+ -->
200
+ <signal name="CheckPermissions"/>
201
+
202
+ <!--
203
+ SetLogging:
204
+ @level: One of [ERR, WARN, INFO, DEBUG, TRACE, OFF, KEEP]. This level is applied to the domains as specified in the domains argument. Except for the special level "KEEP", all unmentioned domains are disabled entirely. "KEEP" is special and allows not to change the current setting except for the specified domains. E.g. level=KEEP and domains=PLATFORM:DEBUG will only touch the platform domain.
205
+ @domains: A combination of logging domains separated by commas (','), or "NONE" to disable logging. Each domain enables logging for operations related to that domain. Available domains are: [PLATFORM, RFKILL, ETHER, WIFI, BT, MB, DHCP4, DHCP6, PPP, WIFI_SCAN, IP4, IP6, AUTOIP4, DNS, VPN, SHARING, SUPPLICANT, AGENTS, SETTINGS, SUSPEND, CORE, DEVICE, OLPC, WIMAX, INFINIBAND, FIREWALL, ADSL, BOND, VLAN, BRIDGE, DBUS_PROPS, TEAM, CONCHECK, DCB, DISPATCH, AUDIT]. In addition to these domains, the following special domains can be used: [NONE, ALL, DEFAULT, DHCP, IP]. You can also specify that some domains should log at a different level from the default by appending a colon (':') and a log level (eg, 'WIFI:DEBUG'). If an empty string is given, the log level is changed but the current set of log domains remains unchanged.
206
+
207
+ Set logging verbosity and which operations are logged.
208
+ -->
209
+ <method name="SetLogging">
210
+ <arg name="level" type="s" direction="in"/>
211
+ <arg name="domains" type="s" direction="in"/>
212
+ </method>
213
+
214
+ <!--
215
+ GetLogging:
216
+ @level: One of [ERR, WARN, INFO, DEBUG, TRACE].
217
+ @domains: For available domains see SetLogging() call.
218
+
219
+ Get current logging verbosity level and operations domains.
220
+ -->
221
+ <method name="GetLogging">
222
+ <arg name="level" type="s" direction="out"/>
223
+ <arg name="domains" type="s" direction="out"/>
224
+ </method>
225
+
226
+ <!--
227
+ CheckConnectivity:
228
+ @connectivity: (<link linkend="NMConnectivityState">NMConnectivityState</link>) The current connectivity state.
229
+
230
+ Re-check the network connectivity state.
231
+ -->
232
+ <method name="CheckConnectivity">
233
+ <arg name="connectivity" type="u" direction="out"/>
234
+ </method>
235
+
236
+ <!--
237
+ state:
238
+ @state: <link linkend="NMState">NMState</link>
239
+
240
+ The overall networking state as determined by the NetworkManager daemon,
241
+ based on the state of network devices under its management.
242
+ -->
243
+ <method name="state">
244
+ <arg name="state" type="u" direction="out"/>
245
+ </method>
246
+
247
+ <!--
248
+ CheckpointCreate:
249
+ @devices: A list of device paths for which a checkpoint should be created. An empty list means all devices.
250
+ @rollback_timeout: The time in seconds until NetworkManager will automatically rollback to the checkpoint. Set to zero for infinite.
251
+ @flags: (<link linkend="NMCheckpointCreateFlags">NMCheckpointCreateFlags</link>) Flags for the creation.
252
+ @checkpoint: On success, the path of the new checkpoint.
253
+
254
+ Create a checkpoint of the current networking configuration
255
+ for given interfaces. If @rollback_timeout is not zero, a
256
+ rollback is automatically performed after the given timeout.
257
+ -->
258
+ <method name="CheckpointCreate">
259
+ <arg name="devices" type="ao" direction="in"/>
260
+ <arg name="rollback_timeout" type="u" direction="in"/>
261
+ <arg name="flags" type="u" direction="in"/>
262
+ <arg name="checkpoint" type="o" direction="out"/>
263
+ </method>
264
+
265
+ <!--
266
+ CheckpointDestroy:
267
+ @checkpoint: The checkpoint to be destroyed. Set to empty to cancel all pending checkpoints.
268
+
269
+ Destroy a previously created checkpoint.
270
+ -->
271
+ <method name="CheckpointDestroy">
272
+ <arg name="checkpoint" type="o" direction="in"/>
273
+ </method>
274
+
275
+ <!--
276
+ CheckpointRollback:
277
+ @checkpoint: The checkpoint to be rolled back.
278
+ @result: On return, a dictionary of devices and results. Devices are represented by their original D-Bus path; each result is a <link linkend="NMRollbackResult">RollbackResult</link>.
279
+
280
+ Rollback a checkpoint before the timeout is reached.
281
+ -->
282
+ <method name="CheckpointRollback">
283
+ <arg name="checkpoint" type="o" direction="in"/>
284
+ <arg name="result" type="a{su}" direction="out" />
285
+ </method>
286
+
287
+ <!--
288
+ CheckpointAdjustRollbackTimeout:
289
+ @checkpoint: The checkpoint to be rolled back.
290
+ @add_timeout: Number of seconds from <emphasis>now</emphasis> in which the timeout will expire. Set to 0 to disable the timeout.
291
+ @since: 1.12
292
+
293
+ Reset the timeout for rollback for the checkpoint.
294
+
295
+ Note that the added seconds start counting from now,
296
+ not "Created" timestamp or the previous expiration
297
+ time. Note that the "Created" property of the checkpoint
298
+ will stay unchanged by this call. However, the "RollbackTimeout"
299
+ will be recalculated to give the approximate new expiration time.
300
+ The new "RollbackTimeout" property will be approximate up to
301
+ one second precision, which is the accuracy of the property.
302
+ -->
303
+ <method name="CheckpointAdjustRollbackTimeout">
304
+ <arg name="checkpoint" type="o" direction="in"/>
305
+ <arg name="add_timeout" type="u" direction="in"/>
306
+ </method>
307
+
308
+ <!--
309
+ Devices:
310
+
311
+ The list of realized network devices. Realized devices are those which
312
+ have backing resources (eg from the kernel or a management daemon like
313
+ ModemManager, teamd, etc).
314
+ -->
315
+ <property name="Devices" type="ao" access="read"/>
316
+
317
+ <!--
318
+ AllDevices:
319
+
320
+ The list of both realized and un-realized network devices. Un-realized
321
+ devices are software devices which do not yet have backing resources, but
322
+ for which backing resources can be created if the device is activated.
323
+ -->
324
+ <property name="AllDevices" type="ao" access="read"/>
325
+
326
+ <!--
327
+ Checkpoints:
328
+
329
+ The list of active checkpoints.
330
+ -->
331
+ <property name="Checkpoints" type="ao" access="read"/>
332
+
333
+ <!--
334
+ NetworkingEnabled:
335
+
336
+ Indicates if overall networking is currently enabled or not. See the
337
+ Enable() method.
338
+ -->
339
+ <property name="NetworkingEnabled" type="b" access="read"/>
340
+
341
+ <!--
342
+ WirelessEnabled:
343
+
344
+ Indicates if wireless is currently enabled or not.
345
+ -->
346
+ <property name="WirelessEnabled" type="b" access="readwrite"/>
347
+
348
+ <!--
349
+ WirelessHardwareEnabled:
350
+
351
+ Indicates if the wireless hardware is currently enabled, i.e. the state of
352
+ the RF kill switch.
353
+ -->
354
+ <property name="WirelessHardwareEnabled" type="b" access="read"/>
355
+
356
+ <!--
357
+ WwanEnabled:
358
+
359
+ Indicates if mobile broadband devices are currently enabled or not.
360
+ -->
361
+ <property name="WwanEnabled" type="b" access="readwrite"/>
362
+
363
+ <!--
364
+ WwanHardwareEnabled:
365
+
366
+ Indicates if the mobile broadband hardware is currently enabled, i.e. the
367
+ state of the RF kill switch.
368
+ -->
369
+ <property name="WwanHardwareEnabled" type="b" access="read"/>
370
+
371
+ <!--
372
+ WimaxEnabled:
373
+
374
+ DEPRECATED. Doesn't have any meaning and is around only for
375
+ compatibility reasons.
376
+ -->
377
+ <property name="WimaxEnabled" type="b" access="readwrite"/>
378
+
379
+ <!--
380
+ WimaxHardwareEnabled:
381
+
382
+ DEPRECATED. Doesn't have any meaning and is around only for
383
+ compatibility reasons.
384
+ -->
385
+ <property name="WimaxHardwareEnabled" type="b" access="read"/>
386
+
387
+ <!--
388
+ RadioFlags:
389
+ @since: 1.38
390
+
391
+ Flags related to radio devices. See <link
392
+ linkend="NMRadioFlags">NMRadioFlags</link> for the list of flags
393
+ supported.
394
+ -->
395
+ <property name="RadioFlags" type="u" access="read"/>
396
+
397
+ <!--
398
+ ActiveConnections:
399
+
400
+ List of active connection object paths.
401
+ -->
402
+ <property name="ActiveConnections" type="ao" access="read"/>
403
+
404
+ <!--
405
+ PrimaryConnection:
406
+
407
+ The object path of the "primary" active connection being used to access
408
+ the network. In particular, if there is no VPN active, or the VPN does not
409
+ have the default route, then this indicates the connection that has the
410
+ default route. If there is a VPN active with the default route, then this
411
+ indicates the connection that contains the route to the VPN endpoint.
412
+ -->
413
+ <property name="PrimaryConnection" type="o" access="read"/>
414
+
415
+ <!--
416
+ PrimaryConnectionType:
417
+
418
+ The connection type of the "primary" active connection being used to
419
+ access the network. This is the same as the Type property on the object
420
+ indicated by PrimaryConnection.
421
+ -->
422
+ <property name="PrimaryConnectionType" type="s" access="read"/>
423
+
424
+ <!--
425
+ Metered:
426
+
427
+ Indicates whether the connectivity is metered. This is equivalent to the
428
+ metered property of the device associated with the primary connection.
429
+
430
+ Returns: <link linkend="NMMetered">NMMetered</link>
431
+ -->
432
+ <property name="Metered" type="u" access="read"/>
433
+
434
+ <!--
435
+ ActivatingConnection:
436
+
437
+ The object path of an active connection that is currently being activated
438
+ and which is expected to become the new PrimaryConnection when it finishes
439
+ activating.
440
+ -->
441
+ <property name="ActivatingConnection" type="o" access="read"/>
442
+
443
+ <!--
444
+ Startup:
445
+
446
+ Indicates whether NM is still starting up; this becomes FALSE when NM has
447
+ finished attempting to activate every connection that it might be able to
448
+ activate at startup.
449
+ -->
450
+ <property name="Startup" type="b" access="read"/>
451
+
452
+ <!--
453
+ Version:
454
+
455
+ NetworkManager version.
456
+ -->
457
+ <property name="Version" type="s" access="read"/>
458
+
459
+ <!--
460
+ VersionInfo:
461
+
462
+ NetworkManager version and capabilities.
463
+
464
+ The first element in the array is the NM_VERSION of the daemon. It is a binary representation
465
+ of the "Version" and can be compared numerically. The version is encoded as
466
+ "(major &lt;&lt; 16 | minor &lt;&lt; 8 | micro)".
467
+
468
+ The following elements are a bitfield of static capabilities of the daemon. See
469
+ #NMVersionInfoCapability for the available capability numbers.
470
+
471
+ Since: 1.42
472
+ -->
473
+ <property name="VersionInfo" type="au" access="read"/>
474
+
475
+ <!--
476
+ Capabilities:
477
+
478
+ The current set of capabilities. See <link
479
+ linkend="NMCapability">NMCapability</link> for currently
480
+ defined capability numbers. The array is guaranteed to
481
+ be sorted in ascending order without duplicates.
482
+ -->
483
+ <property name="Capabilities" type="au" access="read"/>
484
+
485
+ <!--
486
+ State:
487
+
488
+ The overall state of the NetworkManager daemon.
489
+
490
+ This takes state of all active connections and the connectivity state into account
491
+ to produce a single indicator of the network accessibility status.
492
+
493
+ The graphical shells may use this property to provide network connection status
494
+ indication and applications may use this to check if Internet connection is
495
+ accessible. Shell that is able to cope with captive portals should use the
496
+ "Connectivity" property to decide whether to present a captive portal authentication
497
+ dialog.
498
+
499
+ Returns: <link linkend="NMState">NMState</link>
500
+ -->
501
+ <property name="State" type="u" access="read"/>
502
+
503
+ <!--
504
+ StateChanged:
505
+ @state: (<link linkend="NMState">NMState</link>) The new state of NetworkManager.
506
+
507
+ NetworkManager's state changed.
508
+ -->
509
+ <signal name="StateChanged">
510
+ <arg name="state" type="u"/>
511
+ </signal>
512
+
513
+ <!--
514
+ Connectivity:
515
+
516
+ The result of the last connectivity check. The connectivity check is triggered
517
+ automatically when a default connection becomes available, periodically and by
518
+ calling a CheckConnectivity() method.
519
+
520
+ This property is in general useful for the graphical shell to determine whether
521
+ the Internet access is being hijacked by an authentication gateway (a "captive
522
+ portal"). In such case it would typically present a web browser window to give
523
+ the user a chance to authenticate and call CheckConnectivity() when the user
524
+ submits a form or dismisses the window.
525
+
526
+ To determine the whether the user is able to access the Internet without dealing
527
+ with captive portals (e.g. to provide a network connection indicator or disable
528
+ controls that require Internet access), the "State" property is more suitable.
529
+
530
+ Returns: <link linkend="NMConnectivityState">NMConnectivityState</link>
531
+ -->
532
+ <property name="Connectivity" type="u" access="read"/>
533
+
534
+ <!--
535
+ ConnectivityCheckAvailable:
536
+
537
+ Indicates whether connectivity checking service has been
538
+ configured. This may return true even if the service is not
539
+ currently enabled.
540
+
541
+ This is primarily intended for use in a privacy control panel,
542
+ as a way to determine whether to show an option to
543
+ enable/disable the feature.
544
+ -->
545
+ <property name="ConnectivityCheckAvailable" type="b" access="read"/>
546
+
547
+ <!--
548
+ ConnectivityCheckEnabled:
549
+
550
+ Indicates whether connectivity checking is enabled. This
551
+ property can also be written to disable connectivity
552
+ checking (as a privacy control panel might want to do).
553
+ -->
554
+ <property name="ConnectivityCheckEnabled" type="b" access="readwrite"/>
555
+
556
+ <!--
557
+ ConnectivityCheckUri:
558
+
559
+ The URI that NetworkManager will hit to check if there is internet connectivity.
560
+ -->
561
+ <property name="ConnectivityCheckUri" type="s" access="read"/>
562
+
563
+ <!--
564
+ GlobalDnsConfiguration:
565
+
566
+ Dictionary of global DNS settings where the key is one of "searches",
567
+ "options" and "domains". The values for the "searches" and "options" keys
568
+ are string arrays describing the list of search domains and resolver
569
+ options, respectively. The value of the "domains" key is a second-level
570
+ dictionary, where each key is a domain name, and each key's value is a
571
+ third-level dictionary with the keys "servers" and "options". "servers" is
572
+ a string array of DNS servers, "options" is a string array of
573
+ domain-specific options.
574
+ -->
575
+ <property name="GlobalDnsConfiguration" type="a{sv}" access="readwrite"/>
576
+
577
+ <!--
578
+ DeviceAdded:
579
+ @device_path: The object path of the newly added device.
580
+
581
+ A device was added to the system
582
+ -->
583
+ <signal name="DeviceAdded">
584
+ <arg name="device_path" type="o"/>
585
+ </signal>
586
+
587
+ <!--
588
+ DeviceRemoved:
589
+ @device_path: The object path of the device that was just removed.
590
+
591
+ A device was removed from the system, and is no longer available.
592
+ -->
593
+ <signal name="DeviceRemoved">
594
+ <arg name="device_path" type="o"/>
595
+ </signal>
596
+
597
+ </interface>
598
+ </node>
ns2/lib/lib.py ADDED
File without changes