From 1e0dd58661c9097fb41218ee7e3515f2d8ba8dac Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 17 Oct 2011 17:38:53 +0000 Subject: Add dead-ended knetworkmanager 0.8 source Add copy of same for knetworkmanager 0.9 starting point git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knetworkmanager8@1259314 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- knetworkmanager-0.8/introspection/Makefile.am | 18 ++ .../introspection/nm-access-point.xml | 92 +++++++++ .../introspection/nm-active-connection.xml | 57 ++++++ .../introspection/nm-device-802-11-wireless.xml | 104 ++++++++++ .../introspection/nm-device-802-3-ethernet.xml | 33 +++ .../introspection/nm-device-cdma.xml | 15 ++ .../introspection/nm-device-gsm.xml | 15 ++ knetworkmanager-0.8/introspection/nm-device.xml | 126 ++++++++++++ .../introspection/nm-exported-connection.xml | 108 ++++++++++ .../introspection/nm-ip4-config.xml | 25 +++ .../introspection/nm-manager-client.xml | 63 ++++++ knetworkmanager-0.8/introspection/nm-manager.xml | 227 +++++++++++++++++++++ .../introspection/nm-ppp-manager.xml | 22 ++ knetworkmanager-0.8/introspection/nm-settings.xml | 32 +++ .../introspection/nm-vpn-connection-only.xml | 136 ++++++++++++ .../introspection/nm-vpn-connection.xml | 163 +++++++++++++++ .../introspection/nm-vpn-manager.xml | 46 +++++ .../introspection/nm-vpn-plugin.xml | 132 ++++++++++++ 18 files changed, 1414 insertions(+) create mode 100644 knetworkmanager-0.8/introspection/Makefile.am create mode 100644 knetworkmanager-0.8/introspection/nm-access-point.xml create mode 100644 knetworkmanager-0.8/introspection/nm-active-connection.xml create mode 100644 knetworkmanager-0.8/introspection/nm-device-802-11-wireless.xml create mode 100644 knetworkmanager-0.8/introspection/nm-device-802-3-ethernet.xml create mode 100644 knetworkmanager-0.8/introspection/nm-device-cdma.xml create mode 100644 knetworkmanager-0.8/introspection/nm-device-gsm.xml create mode 100644 knetworkmanager-0.8/introspection/nm-device.xml create mode 100644 knetworkmanager-0.8/introspection/nm-exported-connection.xml create mode 100644 knetworkmanager-0.8/introspection/nm-ip4-config.xml create mode 100644 knetworkmanager-0.8/introspection/nm-manager-client.xml create mode 100644 knetworkmanager-0.8/introspection/nm-manager.xml create mode 100644 knetworkmanager-0.8/introspection/nm-ppp-manager.xml create mode 100644 knetworkmanager-0.8/introspection/nm-settings.xml create mode 100644 knetworkmanager-0.8/introspection/nm-vpn-connection-only.xml create mode 100644 knetworkmanager-0.8/introspection/nm-vpn-connection.xml create mode 100644 knetworkmanager-0.8/introspection/nm-vpn-manager.xml create mode 100644 knetworkmanager-0.8/introspection/nm-vpn-plugin.xml (limited to 'knetworkmanager-0.8/introspection') diff --git a/knetworkmanager-0.8/introspection/Makefile.am b/knetworkmanager-0.8/introspection/Makefile.am new file mode 100644 index 0000000..b16f0ae --- /dev/null +++ b/knetworkmanager-0.8/introspection/Makefile.am @@ -0,0 +1,18 @@ +EXTRA_DIST = \ + nm-access-point.xml \ + nm-active-connection.xml \ + nm-device-802-11-wireless.xml \ + nm-device-802-3-ethernet.xml \ + nm-device-cdma.xml \ + nm-device-gsm.xml \ + nm-device.xml \ + nm-exported-connection.xml \ + nm-ip4-config.xml \ + nm-manager.xml \ + nm-manager-client.xml \ + nm-ppp-manager.xml \ + nm-settings.xml \ + nm-vpn-manager.xml \ + nm-vpn-plugin.xml \ + nm-vpn-connection.xml + diff --git a/knetworkmanager-0.8/introspection/nm-access-point.xml b/knetworkmanager-0.8/introspection/nm-access-point.xml new file mode 100644 index 0000000..5a42f95 --- /dev/null +++ b/knetworkmanager-0.8/introspection/nm-access-point.xml @@ -0,0 +1,92 @@ + + + + + + Flags describing the capabilities of the access point. + + + Flags describing the access point's capabilities according to WPA (Wifi Protected Access). + + + Flags describing the access point's capabilities according to the RSN (Robust Secure Network) protocol. + + + The Service Set Identifier identifying the access point. + + + The radio channel frequency in use by the access point, in MHz. + + + The hardware address of the access point. + + + + Describes the operating mode of the access point. + + + The maximum bitrate this access point is capable of, in kilobits/second (Kb/s). + + + The current signal strength received from this access point. + + + + + + A dictionary mapping property names to variant boxed values + + + + + + Flags describing the general capabilities of the access point. + + + Null capability - says nothing about the access point. + + + Access point supports privacy measures. + + + + + Flags describing the security capabilities of the access point. + + + Null flag. + + + Access point supports pairwise 40-bit WEP encryption. + + + Access point supports pairwise 104-bit WEP encryption. + + + Access point supports pairwise TKIP encryption. + + + Access point supports pairwise CCMP encryption. + + + Access point supports a group 40-bit WEP cypher. + + + Access point supports a group 104-bit WEP cypher. + + + Access point supports a group TKIP cypher. + + + Access point supports a group CCMP cypher. + + + Access point supports PSK key management. + + + Access point supports 802.1x key management. + + + + + diff --git a/knetworkmanager-0.8/introspection/nm-active-connection.xml b/knetworkmanager-0.8/introspection/nm-active-connection.xml new file mode 100644 index 0000000..f69d2f6 --- /dev/null +++ b/knetworkmanager-0.8/introspection/nm-active-connection.xml @@ -0,0 +1,57 @@ + + + + + + The D-Bus service name providing this connection. + + + The path of the connection. + + + A specific object associated with the active connection. + + + The D-Bus service name that provides a connection with which this active connection is shared. + + + The path of a connection provided by the D-Bus service SharedServiceName which which this connection is shared. + + + Array of object paths representing devices which are part of this active connection. + + + The state of this active connection. + + + Whether this active connection is the default connection, i.e. whether it currently owns the default route. + + + + + + A dictionary mapping property names to variant boxed values + + + + + + + + The active connection is in an unknown state. + + + + + The connection is activating. + + + + + The connection is activated. + + + + + + diff --git a/knetworkmanager-0.8/introspection/nm-device-802-11-wireless.xml b/knetworkmanager-0.8/introspection/nm-device-802-11-wireless.xml new file mode 100644 index 0000000..6b31b3a --- /dev/null +++ b/knetworkmanager-0.8/introspection/nm-device-802-11-wireless.xml @@ -0,0 +1,104 @@ + + + + + + + + + List of access point object paths + + + + Get the list of access points visible to this device. + + + + + + The hardware address of the device. + + + + + The operating mode of the wireless device. + + + + + + The bit rate currently used by the wireless device, in kilobits/second (Kb/s). + + + + + Object path of the access point currently used by the wireless device. + + + + + The capabilities of the wireless device. + + + + + + + A dictionary containing the FIXME: check changed parameters. + + + + Emitted when the wireless device's properties changed. + + + + + + + The object path of the newly found access point. + + + + Emitted when a new access point is found by the device. + + + + + + + The object path of the access point that has disappeared. + + + + Emitted when an access point disappears from view of the device. + + + + + + Flags describing the capabilities of a wireless device. + + + Null capability - syntactic sugar for no capabilities supported. Do not AND this with other capabilities! + + + The device supports the 40-bit WEP cypher. + + + The device supports the 104-bit WEP cypher. + + + The device supports the TKIP cypher. + + + The device supports the CCMP cypher. + + + The device supports the WPA encryption/authentication protocol. + + + The device supports the RSN encryption/authentication protocol. + + + + diff --git a/knetworkmanager-0.8/introspection/nm-device-802-3-ethernet.xml b/knetworkmanager-0.8/introspection/nm-device-802-3-ethernet.xml new file mode 100644 index 0000000..cccae99 --- /dev/null +++ b/knetworkmanager-0.8/introspection/nm-device-802-3-ethernet.xml @@ -0,0 +1,33 @@ + + + + + + + + Hardware address of the device. + + + + + + Design speed of the device. + + + + + + Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not). + + + + + + + A dictionary mapping property names to variant boxed values + + + + + + diff --git a/knetworkmanager-0.8/introspection/nm-device-cdma.xml b/knetworkmanager-0.8/introspection/nm-device-cdma.xml new file mode 100644 index 0000000..2b43f8f --- /dev/null +++ b/knetworkmanager-0.8/introspection/nm-device-cdma.xml @@ -0,0 +1,15 @@ + + + + + + + + + A dictionary mapping property names to variant boxed values + + + + + + diff --git a/knetworkmanager-0.8/introspection/nm-device-gsm.xml b/knetworkmanager-0.8/introspection/nm-device-gsm.xml new file mode 100644 index 0000000..650d656 --- /dev/null +++ b/knetworkmanager-0.8/introspection/nm-device-gsm.xml @@ -0,0 +1,15 @@ + + + + + + + + + A dictionary mapping property names to variant boxed values + + + + + + diff --git a/knetworkmanager-0.8/introspection/nm-device.xml b/knetworkmanager-0.8/introspection/nm-device.xml new file mode 100644 index 0000000..848942a --- /dev/null +++ b/knetworkmanager-0.8/introspection/nm-device.xml @@ -0,0 +1,126 @@ + + + + + + + HAL UDI for the device. + + + + + The network interface offered by the device. + + + + + The driver handling the device. + + + + + Flags describing the capabilities of the device. + + + + + The IPv4 address bound to the device. FIXME: what about devices with >1 IP address? + + + + + The current state of the device. + + + + + Object path of the Ip4Config object describing the configuration of the device. Only valid when the device is in the NM_DEVICE_STATE_ACTIVATED state. + + + + + Whether or not this device is managed by NetworkManager. + + + + + + + + + + + + + + The new state of the device. + + + + + + + + The device is in an unknown state. + + + + + The device is down. + + + + + The device is not connected. + + + + + The device is preparing to connect. + + + + + The device is being configured. + + + + + The device is awaiting authorization credentials. + + + + + The IP address of the device is being configured. + + + + + The device is active. + + + + + The device is in a failure state following an attempt to activate it. + + + + + The previous activation attempt on this device was cancelled. + + + + + + Null capability. + + + The device is supported by NetworkManager. + + + The device supports carrier detection. + + + + diff --git a/knetworkmanager-0.8/introspection/nm-exported-connection.xml b/knetworkmanager-0.8/introspection/nm-exported-connection.xml new file mode 100644 index 0000000..251ccaf --- /dev/null +++ b/knetworkmanager-0.8/introspection/nm-exported-connection.xml @@ -0,0 +1,108 @@ + + + + + + + Represents a single network connection configuration. + + + + Obtain the ID of this connection. + + + + + The ID of this connection. + + + + + + + Update the connection. + + + + + New connection properties. + + + + + + + Delete the connection. + + + + + + + Get the settings maps describing this object. + + + + + The nested settings maps describing this object. + + + + + + + Emitted when some settings changed. + + + + Contains the changed settings. + + + + + + + Emitted when this settings object was removed. FIXME: Is this emitted after it was removed or when it is about to be removed? If after removed, then different semantics to Device removed. if prior to removal, should be called AboutToBeRemoved. + + + + + + + + Secrets have a separate interface so that they can be locked down. + + + + + Get the secrets encapsulated in this object. + + + + + + Name of the setting to return. + + + + + Array of strings of key names in the Setting for which NM thinks + a secrets may be required. + + + + + Indicates whether new secrets should be requested or if the request can be fulfilled from storage. + + + + + + Nested settings maps containing secrets. Each setting MUST contain at least the 'name' field, containing the name of the setting, and one or more secrets. + + + + + + + diff --git a/knetworkmanager-0.8/introspection/nm-ip4-config.xml b/knetworkmanager-0.8/introspection/nm-ip4-config.xml new file mode 100644 index 0000000..8e3bf57 --- /dev/null +++ b/knetworkmanager-0.8/introspection/nm-ip4-config.xml @@ -0,0 +1,25 @@ + + + + + + Tuples of IPv4 address/netmask/gateway. The gateway is optional, if not given should be 0. + + + The hostname associated with this IPv4 address. FIXME: what about multiple hostnames? + + + The nameservers in use. + + + A list of domains this address belongs to. + + + The NIS domain this address belongs to. + + + The NIS servers associated with this address. + + + + diff --git a/knetworkmanager-0.8/introspection/nm-manager-client.xml b/knetworkmanager-0.8/introspection/nm-manager-client.xml new file mode 100644 index 0000000..cf89611 --- /dev/null +++ b/knetworkmanager-0.8/introspection/nm-manager-client.xml @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/knetworkmanager-0.8/introspection/nm-manager.xml b/knetworkmanager-0.8/introspection/nm-manager.xml new file mode 100644 index 0000000..a93ee58 --- /dev/null +++ b/knetworkmanager-0.8/introspection/nm-manager.xml @@ -0,0 +1,227 @@ + + + + + + + + + Get the list of network devices. + + + + + List of object paths of network devices known to the system. + + + + + + + + + Activate a connection using the supplied device. + + + + The D-Bus service name of the settings service that provides this connection. + + + + + The connection to activate the devices with. + + + + + The device to be activated. + + + + + The path of a device-type-specific object this activation should use, for example a WiFi access point. + + + + + The path of the active connection object representing this active connection. + + + + + + + + Another connection is already activating or the same connection is already active. FIXME: check if the error name is correct. FIXME: split into 2 errors? + + + The connection is invalid for this device. + + + + + + + Deactivate an active connection. + + + + + The currently active connection to deactivate. + + + + + + + + Control the NetworkManager daemon's sleep state. When asleep, all interfaces that it manages are deactivated. When awake, devices are available to be activated. + + + + Indicates whether the NetworkManager daemon should sleep or wake. + + + + + + + Indicates if wireless is currently enabled or not. + + + + + + Indicates if the wireless hardware is currently enabled, i.e. the state of the RF kill switch. + + + + + + List of active connection object paths. + + + + + + The overall state of the NetworkManager daemon. + + + + + + NetworkManager's state changed. + + + + The new state of NetworkManager. + + + + + + + NetworkManager's properties changed. + + + + The changed properties. + + + + + + + A device was added to the system + + + + The object path of the newly added device. + + + + + + + A device was removed from the system, and is no longer available. + + + + The object path of the device that was just removed. + + + + + + + Describes the overall state of the daemon. + + + + The NetworkManager daemon is in an unknown state. + + + + + The NetworkManager daemon is asleep and all interfaces managed by it are inactive. + + + + + The NetworkManager daemon is connecting a device. FIXME: What does this mean when one device is active and another is connecting? + + + + + The NetworkManager daemon is connected. + + + + + The NetworkManager daemon is disconnected. + + + + + + + + + DEPRECATED. NetworkManager's state changed. Use the 'StateChanged' signal instead. + + + + The new state of NetworkManager. + + + + + + + DEPRECATED. Control the NetworkManager daemon's sleep state. When asleep, all interfaces that it manages are deactivated. + + + + + + + DEPRECATED. Control the NetworkManager daemon's sleep state. When awake, all known interfaces are available to be activated. + + + + + + + DEPRECATED. The overall state of the NetworkManager daemon. + + + + + + + diff --git a/knetworkmanager-0.8/introspection/nm-ppp-manager.xml b/knetworkmanager-0.8/introspection/nm-ppp-manager.xml new file mode 100644 index 0000000..9e2dfdb --- /dev/null +++ b/knetworkmanager-0.8/introspection/nm-ppp-manager.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/knetworkmanager-0.8/introspection/nm-settings.xml b/knetworkmanager-0.8/introspection/nm-settings.xml new file mode 100644 index 0000000..5e072f2 --- /dev/null +++ b/knetworkmanager-0.8/introspection/nm-settings.xml @@ -0,0 +1,32 @@ + + + + + + The NetworkManagerSettings interface is provided by the service which provides connections to NetworkManager. + + + + + List the connections stored by this Settings object. + + + + + List of connections. + + + + + + + Emitted when a new connection has been configured. + + + + Object path of the new connection. + + + + + diff --git a/knetworkmanager-0.8/introspection/nm-vpn-connection-only.xml b/knetworkmanager-0.8/introspection/nm-vpn-connection-only.xml new file mode 100644 index 0000000..8feee03 --- /dev/null +++ b/knetworkmanager-0.8/introspection/nm-vpn-connection-only.xml @@ -0,0 +1,136 @@ + + + + + + Represents an active connection to a Virtual Private Network. + + + + + + A dictionary mapping property names to variant boxed values + + + + + + The VPN-specific state of the connection. + + + The banner string of the VPN connection. + + + + + Emitted when the state of the VPN connection has changed. + + + + The new state of the VPN connection. + + + + + Reason code describing the change to the new state. + + + + + + + + The state of the VPN connection is unknown. + + + + + The VPN connection is preparing to connect. + + + + + The VPN connection needs authorization credentials. + + + + + The VPN connection is being established. FIXME: Should be CONNECTING or CONNECTED. + + + + + The VPN connection is getting an IP address. FIXME: Should be an -ING + + + + + The VPN connection is active. + + + + + The VPN connection failed. + + + + + The VPN connection is disconnected. + + + + + + + The reason for the VPN connection state change is unknown. + + + + + No reason was given for the VPN connection state change. + + + + + The VPN connection changed state because the user disconnected it. + + + + + The VPN connection changed state because the device it was using was disconnected. + + + + + The service providing the VPN connection was stopped. + + + + + The IP config of the VPN connection was invalid. + + + + + The connection attempt to the VPN service timed out. + + + + + A timeout occurred while starting the service providing the VPN connection. + + + + + Starting the service starting the service providing the VPN connection failed. + + + + + Necessary secrets for the VPN connection were not provided. + + + + + + diff --git a/knetworkmanager-0.8/introspection/nm-vpn-connection.xml b/knetworkmanager-0.8/introspection/nm-vpn-connection.xml new file mode 100644 index 0000000..e5f74e1 --- /dev/null +++ b/knetworkmanager-0.8/introspection/nm-vpn-connection.xml @@ -0,0 +1,163 @@ + + + + + + The D-Bus service name providing this connection. + + + The path of the connection. + + + A specific object associated with the active connection. + + + The D-Bus service name that provides a connection with which this active connection is shared. + + + The path of a connection provided by the D-Bus service SharedServiceName which which this connection is shared. + + + Array of object paths representing devices which are part of this active connection. + + + The state of this active connection. + + + Whether this active connection is the default connection, i.e. whether it currently owns the default route. + + + + + + Represents an active connection to a Virtual Private Network. + + + + + + A dictionary mapping property names to variant boxed values + + + + + + The VPN-specific state of the connection. + + + The banner string of the VPN connection. + + + + + Emitted when the state of the VPN connection has changed. + + + + The new state of the VPN connection. + + + + + Reason code describing the change to the new state. + + + + + + + + The state of the VPN connection is unknown. + + + + + The VPN connection is preparing to connect. + + + + + The VPN connection needs authorization credentials. + + + + + The VPN connection is being established. FIXME: Should be CONNECTING or CONNECTED. + + + + + The VPN connection is getting an IP address. FIXME: Should be an -ING + + + + + The VPN connection is active. + + + + + The VPN connection failed. + + + + + The VPN connection is disconnected. + + + + + + + The reason for the VPN connection state change is unknown. + + + + + No reason was given for the VPN connection state change. + + + + + The VPN connection changed state because the user disconnected it. + + + + + The VPN connection changed state because the device it was using was disconnected. + + + + + The service providing the VPN connection was stopped. + + + + + The IP config of the VPN connection was invalid. + + + + + The connection attempt to the VPN service timed out. + + + + + A timeout occurred while starting the service providing the VPN connection. + + + + + Starting the service starting the service providing the VPN connection failed. + + + + + Necessary secrets for the VPN connection were not provided. + + + + + + diff --git a/knetworkmanager-0.8/introspection/nm-vpn-manager.xml b/knetworkmanager-0.8/introspection/nm-vpn-manager.xml new file mode 100644 index 0000000..57665f6 --- /dev/null +++ b/knetworkmanager-0.8/introspection/nm-vpn-manager.xml @@ -0,0 +1,46 @@ + + + + + + + Establish a VPN connection. + + + + + String describing the connection type. + + + + + Object path of the network connection to establish the VPN connection on. + + + + + Object path of the device to establish the VPN connection on. + + + + + Object path of the newly created VPN connection. + + + + + + + Get the list of active VPN connections. + + + + + List of object paths of active VPN connections. + + + + + + + diff --git a/knetworkmanager-0.8/introspection/nm-vpn-plugin.xml b/knetworkmanager-0.8/introspection/nm-vpn-plugin.xml new file mode 100644 index 0000000..e7647e1 --- /dev/null +++ b/knetworkmanager-0.8/introspection/nm-vpn-plugin.xml @@ -0,0 +1,132 @@ + + + + + + This interface is provided by plugins providing VPN services to the NetworkManager daemon. + + + + Tells the plugin to connect. + + + + + Describes the connection to be established. + + + + + + + + + + + + + + Asks the plugin whether the provided connection will require secrets to connect successfully. + + + + + Describes the connection that may need secrets. + + + + + The setting name within the provided connection that requires secrets, if any. + + + + + + + + + + Disconnect the plugin. + + + + + + + + + + + Set IPv4 details on the connection. + + + + + Ip4Config details for the conneciton. + + + + + + + Indicate a failure to the plugin. + + + + + The reason for the failure. + + + + + + + The state of the plugin. + + + + + + Emitted when the plugin state changes. + + + + The new state of the plugin. + + + + + + + The plugin obtained an IPv4 configuration. + + + + The IPv4 configuration. + + + + + + + Emitted when the plugin receives a login banner from the VPN service. + + + + The login banner string. + + + + + + + Emitted when a failure in the VPN plugin occurs. + + + + Reason code for the failure. + + + + + -- cgit v1.2.3