mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-14 20:18:39 +00:00
0e6f5ce38e
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>
67 lines
2.4 KiB
XML
67 lines
2.4 KiB
XML
<tp:spec
|
|
xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
|
|
<tp:title>NetworkManager D-Bus Interface Specification</tp:title>
|
|
<tp:version>@VERSION@</tp:version>
|
|
|
|
|
|
<tp:copyright>Copyright (C) 2008 - 2011 Red Hat, Inc.</tp:copyright>
|
|
<tp:copyright>Copyright (C) 2008 - 2009 Novell, Inc.</tp:copyright>
|
|
|
|
<tp:license xmlns="http://www.w3.org/1999/xhtml">
|
|
<p>This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
(at your option) any later version.</p>
|
|
|
|
<p>This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
General Public License for more details.</p>
|
|
|
|
<p>You should have received a copy of the GNU Lesser General Public
|
|
License along with this library; if not, write to the Free Software
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</p>
|
|
</tp:license>
|
|
|
|
<xi:include href="nm-manager.xml"/>
|
|
<xi:include href="nm-access-point.xml"/>
|
|
<xi:include href="nm-device.xml"/>
|
|
<xi:include href="nm-device-ethernet.xml"/>
|
|
<xi:include href="nm-device-wifi.xml"/>
|
|
<xi:include href="nm-device-modem.xml"/>
|
|
<xi:include href="nm-device-bt.xml"/>
|
|
<xi:include href="nm-device-olpc-mesh.xml"/>
|
|
<xi:include href="nm-device-wimax.xml"/>
|
|
<xi:include href="nm-device-infiniband.xml"/>
|
|
<xi:include href="nm-device-bond.xml"/>
|
|
<xi:include href="nm-device-vlan.xml"/>
|
|
<xi:include href="nm-device-adsl.xml"/>
|
|
<xi:include href="nm-wimax-nsp.xml"/>
|
|
<xi:include href="nm-ip4-config.xml"/>
|
|
<xi:include href="nm-ip6-config.xml"/>
|
|
<xi:include href="nm-dhcp4-config.xml"/>
|
|
<xi:include href="nm-dhcp6-config.xml"/>
|
|
<xi:include href="nm-settings.xml"/>
|
|
<xi:include href="nm-settings-connection.xml"/>
|
|
<xi:include href="nm-active-connection.xml"/>
|
|
<xi:include href="nm-agent-manager.xml"/>
|
|
<xi:include href="nm-secret-agent.xml"/>
|
|
<xi:include href="nm-vpn-connection.xml"/>
|
|
<xi:include href="nm-vpn-plugin.xml"/>
|
|
|
|
<xi:include href="errors.xml"/>
|
|
<xi:include href="vpn-errors.xml"/>
|
|
<xi:include href="generic-types.xml"/>
|
|
|
|
<!--
|
|
<xi:include href="extensions.xml">
|
|
<xi:fallback>
|
|
<!- - absence of non-spec extensions is OK - ->
|
|
</xi:fallback>
|
|
</xi:include>
|
|
-->
|
|
|
|
</tp:spec>
|