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,18 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <node name="/">
3
+ <!--
4
+ org.freedesktop.NetworkManager.Device.Veth:
5
+ @short_description: Virtual Ethernet Device.
6
+
7
+ -->
8
+ <interface name="org.freedesktop.NetworkManager.Device.Veth">
9
+
10
+ <!--
11
+ Peer:
12
+
13
+ The object path of the device's peer.
14
+ -->
15
+ <property name="Peer" type="o" access="read"/>
16
+
17
+ </interface>
18
+ </node>
@@ -0,0 +1,45 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <node name="/">
3
+ <!--
4
+ org.freedesktop.NetworkManager.Device.Vlan:
5
+ @short_description: Virtual LAN Device.
6
+
7
+ -->
8
+ <interface name="org.freedesktop.NetworkManager.Device.Vlan">
9
+
10
+ <!--
11
+ HwAddress:
12
+
13
+ Hardware address of the device.
14
+ n
15
+ DEPRECATED. Use the "HwAddress" property in "org.freedesktop.NetworkManager.Device" instead which exists since version NetworkManager 1.24.0.
16
+ -->
17
+ <property name="HwAddress" type="s" access="read"/>
18
+
19
+ <!--
20
+ Carrier:
21
+
22
+ Indicates whether the physical carrier is found (e.g. whether a cable is
23
+ plugged in or not).
24
+
25
+ DEPRECATED: check for the "carrier" flag in the "InterfaceFlags"
26
+ property on the "org.freedesktop.NetworkManager.Device" interface.
27
+ -->
28
+ <property name="Carrier" type="b" access="read"/>
29
+
30
+ <!--
31
+ Parent:
32
+
33
+ Object path of the parent device of this VLAN device.
34
+ -->
35
+ <property name="Parent" type="o" access="read"/>
36
+
37
+ <!--
38
+ VlanId:
39
+
40
+ The VLAN ID of this VLAN interface.
41
+ -->
42
+ <property name="VlanId" type="u" access="read"/>
43
+
44
+ </interface>
45
+ </node>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <node name="/">
3
+ <!--
4
+ org.freedesktop.NetworkManager.Device.Vrf:
5
+ @short_description: VRF Device.
6
+
7
+ -->
8
+ <interface name="org.freedesktop.NetworkManager.Device.Vrf">
9
+
10
+ <!--
11
+ Table:
12
+
13
+ The routing table of the VRF.
14
+ -->
15
+ <property name="Table" type="u" access="read"/>
16
+
17
+ </interface>
18
+ </node>
@@ -0,0 +1,139 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <node name="/">
3
+ <!--
4
+ org.freedesktop.NetworkManager.Device.Vxlan:
5
+ @short_description: VXLAN Device.
6
+
7
+ -->
8
+ <interface name="org.freedesktop.NetworkManager.Device.Vxlan">
9
+
10
+ <!--
11
+ Parent:
12
+
13
+ The object path of the parent device (if the VXLAN is not purely internal
14
+ to this host).
15
+ -->
16
+ <property name="Parent" type="o" access="read"/>
17
+
18
+ <!--
19
+ HwAddress:
20
+
21
+ Hardware address of the device.
22
+ n
23
+ DEPRECATED. Use the "HwAddress" property in "org.freedesktop.NetworkManager.Device" instead which exists since version NetworkManager 1.24.0.
24
+ -->
25
+ <property name="HwAddress" type="s" access="read"/>
26
+
27
+ <!--
28
+ Id:
29
+
30
+ The VXLAN Network Identifier (VNI).
31
+ -->
32
+ <property name="Id" type="u" access="read"/>
33
+
34
+ <!--
35
+ Group:
36
+
37
+ The IP (v4 or v6) multicast group used to communicate with other physical
38
+ hosts on this VXLAN.
39
+ -->
40
+ <property name="Group" type="s" access="read"/>
41
+
42
+ <!--
43
+ Local:
44
+
45
+ The local IPv4 or IPv6 address to use when sending VXLAN packets to other
46
+ physical hosts.
47
+ -->
48
+ <property name="Local" type="s" access="read"/>
49
+
50
+ <!--
51
+ Tos:
52
+
53
+ The value to use in the IP ToS field for VXLAN packets sent to other
54
+ physical hosts.
55
+ -->
56
+ <property name="Tos" type="y" access="read"/>
57
+
58
+ <!--
59
+ Ttl:
60
+
61
+ The value to use in the IP TTL field for VXLAN packets sent to other
62
+ physical hosts.
63
+ -->
64
+ <property name="Ttl" type="y" access="read"/>
65
+
66
+ <!--
67
+ Learning:
68
+
69
+ True if the VXLAN dynamically learns remote IP addresses.
70
+ -->
71
+ <property name="Learning" type="b" access="read"/>
72
+
73
+ <!--
74
+ Ageing:
75
+
76
+ The interval in seconds at which the kernel purges stale cached addresses.
77
+ -->
78
+ <property name="Ageing" type="u" access="read"/>
79
+
80
+ <!--
81
+ Limit:
82
+
83
+ The maximum number of entries that can be added to the VXLAN's forwarding
84
+ table.
85
+ -->
86
+ <property name="Limit" type="u" access="read"/>
87
+
88
+ <!--
89
+ DstPort:
90
+
91
+ Destination port for outgoing VXLAN packets.
92
+ -->
93
+ <property name="DstPort" type="q" access="read"/>
94
+
95
+ <!--
96
+ SrcPortMin:
97
+
98
+ The lowest source port number to use for outgoing VXLAN packets.
99
+ -->
100
+ <property name="SrcPortMin" type="q" access="read"/>
101
+
102
+ <!--
103
+ SrcPortMax:
104
+
105
+ The highest source port number to use for outgoing VXLAN packets.
106
+ -->
107
+ <property name="SrcPortMax" type="q" access="read"/>
108
+
109
+ <!--
110
+ Proxy:
111
+
112
+ True if the VXLAN is implementing DOVE ARP proxying for remote clients.
113
+ -->
114
+ <property name="Proxy" type="b" access="read"/>
115
+
116
+ <!--
117
+ Rsc:
118
+
119
+ True if the VXLAN is implementing DOVE route short-circuiting of known
120
+ remote IP addresses.
121
+ -->
122
+ <property name="Rsc" type="b" access="read"/>
123
+
124
+ <!--
125
+ L2miss:
126
+
127
+ True if the VXLAN will emit netlink notifications of L2 switch misses.
128
+ -->
129
+ <property name="L2miss" type="b" access="read"/>
130
+
131
+ <!--
132
+ L3miss:
133
+
134
+ True if the VXLAN will emit netlink notifications of L3 switch misses.
135
+ -->
136
+ <property name="L3miss" type="b" access="read"/>
137
+
138
+ </interface>
139
+ </node>
@@ -0,0 +1,109 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <node name="/">
3
+ <!--
4
+ org.freedesktop.NetworkManager.Device.WiMax:
5
+ @short_description: WiMax Device.
6
+
7
+ DEPRECATED: NetworkManager no longer supports WiMAX since version 1.2. This interface is no longer used.
8
+ -->
9
+ <interface name="org.freedesktop.NetworkManager.Device.WiMax">
10
+
11
+ <!--
12
+ GetNspList:
13
+ @nsps: List of NSP object paths.
14
+
15
+ Get the list of NSPs visible to this device.
16
+ -->
17
+ <method name="GetNspList">
18
+ <arg name="nsps" type="ao" direction="out"/>
19
+ </method>
20
+
21
+ <!--
22
+ Nsps:
23
+
24
+ List of object paths of Network Service Providers (NSPs) visible to this
25
+ WiMAX device.
26
+ -->
27
+ <property name="Nsps" type="ao" access="read"/>
28
+
29
+ <!--
30
+ HwAddress:
31
+
32
+ Hardware address of the device.
33
+ -->
34
+ <property name="HwAddress" type="s" access="read"/>
35
+
36
+ <!--
37
+ CenterFrequency:
38
+
39
+ Center frequency (in KHz) of the radio channel the device is using to
40
+ communicate with the network when connected. Has no meaning when the
41
+ device is not connected.
42
+ -->
43
+ <property name="CenterFrequency" type="u" access="read"/>
44
+
45
+ <!--
46
+ Rssi:
47
+
48
+ RSSI of the current radio link in dBm. This value indicates how strong the
49
+ raw received RF signal from the base station is, but does not indicate the
50
+ overall quality of the radio link. Has no meaning when the device is not
51
+ connected.
52
+ -->
53
+ <property name="Rssi" type="i" access="read"/>
54
+
55
+ <!--
56
+ Cinr:
57
+
58
+ CINR (Carrier to Interference + Noise Ratio) of the current radio link in
59
+ dB. CINR is a more accurate measure of radio link quality. Has no meaning
60
+ when the device is not connected.
61
+ -->
62
+ <property name="Cinr" type="i" access="read"/>
63
+
64
+ <!--
65
+ TxPower:
66
+
67
+ Average power of the last burst transmitted by the device, in units of 0.5
68
+ dBm. i.e. a TxPower of -11 represents an actual device TX power of -5.5
69
+ dBm. Has no meaning when the device is not connected.
70
+ -->
71
+ <property name="TxPower" type="i" access="read"/>
72
+
73
+ <!--
74
+ Bsid:
75
+
76
+ The ID of the serving base station as received from the network. Has no
77
+ meaning when the device is not connected.
78
+ -->
79
+ <property name="Bsid" type="s" access="read"/>
80
+
81
+ <!--
82
+ ActiveNsp:
83
+
84
+ Object path of the NSP currently used by the WiMax device.
85
+ -->
86
+ <property name="ActiveNsp" type="o" access="read"/>
87
+
88
+ <!--
89
+ NspAdded:
90
+ @nsp: The object path of the newly found NSP.
91
+
92
+ Emitted when a new NSP is found by the device.
93
+ -->
94
+ <signal name="NspAdded">
95
+ <arg name="nsp" type="o"/>
96
+ </signal>
97
+
98
+ <!--
99
+ NspRemoved:
100
+ @nsp: The object path of the NSP that has disappeared.
101
+
102
+ Emitted when an NSP disappears from view of the device.
103
+ -->
104
+ <signal name="NspRemoved">
105
+ <arg name="nsp" type="o"/>
106
+ </signal>
107
+
108
+ </interface>
109
+ </node>
@@ -0,0 +1,76 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <node name="/">
3
+ <!--
4
+ org.freedesktop.NetworkManager.Device.WifiP2P:
5
+ @short_description: Wi-Fi P2P Device.
6
+ @since: 1.16
7
+ -->
8
+ <interface name="org.freedesktop.NetworkManager.Device.WifiP2P">
9
+ <annotation name="org.gtk.GDBus.C.Name" value="Device_Wifi_P2P"/>
10
+
11
+ <!--
12
+ HwAddress:
13
+
14
+ The active hardware address of the device.
15
+
16
+ DEPRECATED. Use the "HwAddress" property in "org.freedesktop.NetworkManager.Device" instead which exists since version NetworkManager 1.24.0.
17
+ -->
18
+ <property name="HwAddress" type="s" access="read"/>
19
+
20
+ <!--
21
+ Peers:
22
+
23
+ List of object paths of peers visible to this Wi-Fi P2P device.
24
+ -->
25
+ <property name="Peers" type="ao" access="read"/>
26
+
27
+ <!--
28
+ StartFind:
29
+ @options: Options of find.
30
+
31
+ Start a find operation for Wi-Fi P2P peers.
32
+
33
+ The %options argument accepts the following keys:
34
+
35
+ <variablelist>
36
+ <varlistentry>
37
+ <term><literal>i timeout</literal>:</term>
38
+ <listitem><para>Timeout value in the range of 1-600 seconds.</para>
39
+ <para>The default is 30 seconds.</para></listitem>
40
+ </varlistentry>
41
+ </variablelist>
42
+ -->
43
+ <method name="StartFind">
44
+ <arg name="options" type="a{sv}" direction="in"/>
45
+ </method>
46
+
47
+ <!--
48
+ StopFind:
49
+
50
+ Stop an ongoing find operation again.
51
+ -->
52
+ <method name="StopFind">
53
+ </method>
54
+
55
+ <!--
56
+ PeerAdded:
57
+ @peer: The object path of the newly found access point.
58
+
59
+ Emitted when a new Wi-Fi P2P peer is found by the device.
60
+ -->
61
+ <signal name="PeerAdded">
62
+ <arg name="peer" type="o"/>
63
+ </signal>
64
+
65
+ <!--
66
+ PeerRemoved:
67
+ @peer: The object path of the Wi-Fi P2P peer that has disappeared.
68
+
69
+ Emitted when a Wi-Fi P2P peer disappears from view of the device.
70
+ -->
71
+ <signal name="PeerRemoved">
72
+ <arg name="peer" type="o"/>
73
+ </signal>
74
+
75
+ </interface>
76
+ </node>
@@ -0,0 +1,38 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <node name="/">
3
+ <!--
4
+ org.freedesktop.NetworkManager.Device.WireGuard:
5
+ @short_description: WireGuard Device.
6
+
7
+ -->
8
+ <interface name="org.freedesktop.NetworkManager.Device.WireGuard">
9
+
10
+ <!--
11
+ PublicKey:
12
+
13
+ 32-byte public WireGuard key.
14
+ -->
15
+ <property name="PublicKey" type="ay" access="read">
16
+ <!-- gdbus-codegen assumes that "ay" means "non-UTF-8 string" and
17
+ won't deal with '\0' bytes correctly.
18
+ -->
19
+ <annotation name="org.gtk.GDBus.C.ForceGVariant" value="1"/>
20
+ </property>
21
+
22
+ <!--
23
+ ListenPort:
24
+
25
+ Local UDP listening port.
26
+ -->
27
+ <property name="ListenPort" type="q" access="read"/>
28
+
29
+ <!--
30
+ FwMark:
31
+
32
+ Optional 32-bit mark used to set routing policy for outgoing encrypted packets.
33
+ See: ip-rule(8)
34
+ -->
35
+ <property name="FwMark" type="u" access="read"/>
36
+
37
+ </interface>
38
+ </node>
@@ -0,0 +1,53 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <node name="/">
3
+ <!--
4
+ org.freedesktop.NetworkManager.Device.Wired:
5
+ @short_description: Wired Ethernet Device.
6
+
7
+ -->
8
+ <interface name="org.freedesktop.NetworkManager.Device.Wired">
9
+ <annotation name="org.gtk.GDBus.C.Name" value="DeviceEthernet"/>
10
+
11
+ <!--
12
+ HwAddress:
13
+
14
+ Active hardware address of the device.
15
+
16
+ DEPRECATED. Use the "HwAddress" property in "org.freedesktop.NetworkManager.Device" instead which exists since version NetworkManager 1.24.0.
17
+ -->
18
+ <property name="HwAddress" type="s" access="read"/>
19
+
20
+ <!--
21
+ PermHwAddress:
22
+
23
+ Permanent hardware address of the device.
24
+ -->
25
+ <property name="PermHwAddress" type="s" access="read"/>
26
+
27
+ <!--
28
+ Speed:
29
+
30
+ Design speed of the device, in megabits/second (Mb/s).
31
+ -->
32
+ <property name="Speed" type="u" access="read"/>
33
+
34
+ <!--
35
+ S390Subchannels:
36
+
37
+ Array of S/390 subchannels for S/390 or z/Architecture devices.
38
+ -->
39
+ <property name="S390Subchannels" type="as" access="read"/>
40
+
41
+ <!--
42
+ Carrier:
43
+
44
+ Indicates whether the physical carrier is found (e.g. whether a cable is
45
+ plugged in or not).
46
+
47
+ DEPRECATED: check for the "carrier" flag in the "InterfaceFlags"
48
+ property on the "org.freedesktop.NetworkManager.Device" interface.
49
+ -->
50
+ <property name="Carrier" type="b" access="read"/>
51
+
52
+ </interface>
53
+ </node>
@@ -0,0 +1,131 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <node name="/">
3
+ <!--
4
+ org.freedesktop.NetworkManager.Device.Wireless:
5
+ @short_description: Wi-Fi Device.
6
+
7
+ -->
8
+ <interface name="org.freedesktop.NetworkManager.Device.Wireless">
9
+ <annotation name="org.gtk.GDBus.C.Name" value="DeviceWifi"/>
10
+
11
+ <!--
12
+ GetAccessPoints:
13
+ @access_points: List of access point object paths.
14
+
15
+ DEPRECATED. Get the list of access points visible to this device. Note
16
+ that this list does not include access points which hide their SSID. To
17
+ retrieve a list of all access points (including hidden ones) use the
18
+ GetAllAccessPoints() method.
19
+ -->
20
+ <method name="GetAccessPoints">
21
+ <arg name="access_points" type="ao" direction="out"/>
22
+ </method>
23
+
24
+ <!--
25
+ GetAllAccessPoints:
26
+ @access_points: List of access point object paths.
27
+
28
+ Get the list of all access points visible to this device, including hidden
29
+ ones for which the SSID is not yet known.
30
+ -->
31
+ <method name="GetAllAccessPoints">
32
+ <arg name="access_points" type="ao" direction="out"/>
33
+ </method>
34
+
35
+ <!--
36
+ RequestScan:
37
+ @options: Options of scan. Currently, 'ssids' option with value of "aay" type is supported.
38
+
39
+ Request the device to scan. To know when the scan is finished, use the "PropertiesChanged" signal from "org.freedesktop.DBus.Properties" to listen to changes to the "LastScan" property.
40
+ -->
41
+ <method name="RequestScan">
42
+ <arg name="options" type="a{sv}" direction="in"/>
43
+ </method>
44
+
45
+ <!--
46
+ HwAddress:
47
+
48
+ The active hardware address of the device.
49
+
50
+ DEPRECATED. Use the "HwAddress" property in "org.freedesktop.NetworkManager.Device" instead which exists since version NetworkManager 1.24.0.
51
+ -->
52
+ <property name="HwAddress" type="s" access="read"/>
53
+
54
+ <!--
55
+ PermHwAddress:
56
+
57
+ The permanent hardware address of the device.
58
+ -->
59
+ <property name="PermHwAddress" type="s" access="read"/>
60
+
61
+ <!--
62
+ Mode:
63
+
64
+ The operating mode of the wireless device.
65
+
66
+ Returns: <link linkend="NM80211Mode">NM80211Mode</link>
67
+ -->
68
+ <property name="Mode" type="u" access="read"/>
69
+
70
+ <!--
71
+ Bitrate:
72
+
73
+ The bit rate currently used by the wireless device, in kilobits/second
74
+ (Kb/s).
75
+ -->
76
+ <property name="Bitrate" type="u" access="read"/>
77
+
78
+ <!--
79
+ AccessPoints:
80
+
81
+ List of object paths of access point visible to this wireless device.
82
+ -->
83
+ <property name="AccessPoints" type="ao" access="read"/>
84
+
85
+ <!--
86
+ ActiveAccessPoint:
87
+
88
+ Object path of the access point currently used by the wireless device.
89
+ -->
90
+ <property name="ActiveAccessPoint" type="o" access="read"/>
91
+
92
+ <!--
93
+ WirelessCapabilities:
94
+
95
+ The capabilities of the wireless device.
96
+
97
+ Returns: <link linkend="NMDeviceWifiCapabilities">NMDeviceWifiCapabilities</link>
98
+ -->
99
+ <property name="WirelessCapabilities" type="u" access="read"/>
100
+
101
+ <!--
102
+ LastScan:
103
+ @since: 1.12
104
+
105
+ The timestamp (in CLOCK_BOOTTIME milliseconds) for the last finished network scan.
106
+ A value of -1 means the device never scanned for access points.
107
+ -->
108
+ <property name="LastScan" type="x" access="read"/>
109
+
110
+ <!--
111
+ AccessPointAdded:
112
+ @access_point: The object path of the newly found access point.
113
+
114
+ Emitted when a new access point is found by the device.
115
+ -->
116
+ <signal name="AccessPointAdded">
117
+ <arg name="access_point" type="o"/>
118
+ </signal>
119
+
120
+ <!--
121
+ AccessPointRemoved:
122
+ @access_point: The object path of the access point that has disappeared.
123
+
124
+ Emitted when an access point disappears from view of the device.
125
+ -->
126
+ <signal name="AccessPointRemoved">
127
+ <arg name="access_point" type="o"/>
128
+ </signal>
129
+
130
+ </interface>
131
+ </node>
@@ -0,0 +1,20 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <node name="/">
3
+ <!--
4
+ org.freedesktop.NetworkManager.Device.Wpan:
5
+ @short_description: IEEE 802.15.4 (WPAN) MAC Layer Device.
6
+
7
+ -->
8
+ <interface name="org.freedesktop.NetworkManager.Device.Wpan">
9
+
10
+ <!--
11
+ HwAddress:
12
+
13
+ The active hardware address of the device.
14
+
15
+ DEPRECATED. Use the "HwAddress" property in "org.freedesktop.NetworkManager.Device" instead which exists since version NetworkManager 1.24.0.
16
+ -->
17
+ <property name="HwAddress" type="s" access="read"/>
18
+
19
+ </interface>
20
+ </node>