NetworkManager/introspection
Pantelis Koukousoulas 0e6f5ce38e adsl: settings and initial "scaffolding"
This patch adds the settings code (NMSettingAdsl) and the initial
"scaffolding" i.e., a tiny stub version of NMDeviceAdsl and the
udev handler code to get the device detected.

With this patch you should be able to see an atm device being detected
by networkmanager in the logs, although of course it doesn't
do anything useful yet.

Extract from the logs:

 [1304668252.341354] [nm-udev-manager.c:562] adsl_add(): adsl_add: ATM Device detected from udev. Adding ..
(ueagle-atm0): failed to look up interface index
(ueagle-atm0): new ADSL device (driver: 'ueagle-atm' ifindex: -1)
(ueagle-atm0): exported as /org/freedesktop/NetworkManager/Devices/2
(ueagle-atm0): now managed
(ueagle-atm0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
(ueagle-atm0): deactivating device (reason: 2).
 [1304668252.345102] [nm-system.c:1349] flush_routes(): (ueagle-atm0) failed to lookup interface index
 [1304668252.347821] [nm-device.c:3912] nm_device_state_changed(): (ueagle-atm0): device is available,

In this version, we hack the nm-device.c:nm_device_get_priority() to get better priority
instead of changing the DeviceType enum.

Signed-off-by: Pantelis Koukousoulas <pktoss@gmail.com>
2012-05-18 15:42:55 -05:00
..
all.xml.in adsl: settings and initial "scaffolding" 2012-05-18 15:42:55 -05:00
errors.xml DBus API: removing user settings support 2010-08-06 13:05:46 -04:00
generic-types.xml 2008-04-15 Dan Williams <dcbw@redhat.com> 2008-04-15 20:39:34 +00:00
Makefile.am adsl: settings and initial "scaffolding" 2012-05-18 15:42:55 -05:00
nm-access-point.xml Doc updates 2008-11-06 16:04:49 +00:00
nm-active-connection.xml core: use active connection dependency master instead of manually setting it 2012-03-01 17:40:18 -06:00
nm-agent-manager.xml api: fix up node names 2011-08-06 10:46:21 +02:00
nm-device-adsl.xml adsl: settings and initial "scaffolding" 2012-05-18 15:42:55 -05:00
nm-device-bond.xml bond: move bond master interfaces to NMDeviceBond 2012-02-16 15:20:50 -06:00
nm-device-bt.xml bluetooth: fixes and addition of NMDeviceBt to libnm-glib 2009-07-10 10:45:24 -04:00
nm-device-ethernet.xml core: MAC address spoofing/cloning (rh #447827) (bgo #553771) 2010-06-22 14:21:25 +02:00
nm-device-infiniband.xml wired: split NMDeviceWired out of NMDeviceEthernet and add NMDeviceInfiniband 2011-12-02 13:09:16 -06:00
nm-device-modem.xml core: consolidate mobile broadband device types 2011-02-25 10:16:17 -06:00
nm-device-olpc-mesh.xml olpc-mesh: fix companion path and active channel property types 2010-01-14 14:30:02 -08:00
nm-device-vlan.xml core: convert VLAN interfaces to a device subclass 2012-03-01 17:40:17 -06:00
nm-device-wifi.xml core: MAC address spoofing/cloning (rh #447827) (bgo #553771) 2010-06-22 14:21:25 +02:00
nm-device-wimax.xml wimax: add Center Frequency, RSSI, CINR, TX Power, and BSID properties 2011-01-06 15:18:19 -06:00
nm-device.xml Fix capitalization of "InfiniBand" 2012-03-06 13:23:29 -05:00
nm-dhcp4-config.xml 2008-07-17 Dan Williams <dcbw@redhat.com> 2008-07-17 17:04:13 +00:00
nm-dhcp6-config.xml dhcp: add the NMDHCP6Config object 2010-01-13 22:30:40 -08:00
nm-ip4-config.xml introspection: document ip4-config argument formats 2009-10-23 15:38:06 -07:00
nm-ip6-config.xml core: fix Address property type of IP6Config objects 2010-04-17 17:19:30 -07:00
nm-manager.xml api: fix up node names 2011-08-06 10:46:21 +02:00
nm-ppp-manager.xml Implement PPPoE. 2008-03-11 16:37:41 +00:00
nm-secret-agent.xml api: update documentation about secret agents and SaveSecrets() 2011-07-01 15:38:38 -05:00
nm-settings-connection.xml trivial: whitespace fix 2011-03-04 12:51:05 -06:00
nm-settings.xml api: fix up node names 2011-08-06 10:46:21 +02:00
nm-vpn-connection.xml api: document more VPN connection failure codes (bgo #643324) 2011-02-25 14:00:01 -06:00
nm-vpn-plugin.xml 2008-09-22 Tambet Ingo <tambet@gmail.com> 2008-09-22 15:29:00 +00:00
nm-wimax-nsp.xml wimax: Implement WiMAX support 2009-12-18 15:41:27 +02:00
vpn-errors.xml 2008-02-27 Dan Williams <dcbw@redhat.com> 2008-02-28 02:07:21 +00:00