NetworkManager/src/devices
Dan Williams 4dbaac4ba2 core: create devices first and realize them later
Unrealized devices aren't backed by kernel resources and so won't know
all of their attributes.  That means three things:

1) they must update their attributes when they become realized
2) they must clear those attributes when unrealized
3) they must be looser in checking compatible connections until
they are realized

This requires that the setup() function be split into two parts, start & finish,
because finish must be run after add_device()

Also, we can simplify whether to pay attention to 'recheck-assume', which
is now dependent on priv->is_nm_owned, because the only case where NM should
*not* listen for the 'recheck-assume' signal is when the device is a
software device created by NM itself.  That logic was previously spread
across the callers of add_device() but is now consolidated into
nm-manager.c::device_realized() and nm-device.c::nm_device_create_and_realize().
2015-12-04 12:16:40 +01:00
..
adsl platform: remove NMPlatformReason enum 2015-11-27 15:17:44 +01:00
bluetooth bluetooth: fix missing 'connected' notifications (rh #1255284) 2015-10-25 19:47:43 +01:00
team utils: add @filter_func argument to nm_utils_g_value_set_object_path_array() 2015-12-04 12:15:12 +01:00
tests lldp: add test case 2015-11-10 14:25:05 +01:00
wifi core: create devices first and realize them later 2015-12-04 12:16:40 +01:00
wwan wwan: rework connection flow to send PIN earlier and fix autoconnect 2015-11-18 15:50:53 +01:00
Makefile.am lldp: add test case 2015-11-10 14:25:05 +01:00
nm-device-bond.c utils: add @filter_func argument to nm_utils_g_value_set_object_path_array() 2015-12-04 12:15:12 +01:00
nm-device-bond.h all: rename nm-glib-compat.h to nm-glib.h, use everywhere 2015-07-24 13:25:47 -04:00
nm-device-bridge.c core: create devices first and realize them later 2015-12-04 12:16:40 +01:00
nm-device-bridge.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-device-ethernet-utils.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nm-device-ethernet-utils.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-device-ethernet.c core: create devices first and realize them later 2015-12-04 12:16:40 +01:00
nm-device-ethernet.h device: export S390Subchannels property on Ethernet device 2015-09-29 09:30:01 +02:00
nm-device-factory.c core: fix interface type names 2015-09-10 13:43:47 -04:00
nm-device-factory.h core: fix interface type names 2015-09-10 13:43:47 -04:00
nm-device-generic.c core: create devices first and realize them later 2015-12-04 12:16:40 +01:00
nm-device-generic.h core: split device creation and device setup (bgo #737458) 2015-07-31 14:06:09 -05:00
nm-device-infiniband.c core: create devices first and realize them later 2015-12-04 12:16:40 +01:00
nm-device-infiniband.h all: rename nm-glib-compat.h to nm-glib.h, use everywhere 2015-07-24 13:25:47 -04:00
nm-device-ip-tunnel.c core: create devices first and realize them later 2015-12-04 12:16:40 +01:00
nm-device-ip-tunnel.h device/ip-tunnel: add support for IP6TNL tunnels 2015-12-01 17:39:41 +01:00
nm-device-logging.h logging: declare default logging macros in "nm-logging.h" 2015-08-20 11:15:13 +02:00
nm-device-macvlan.c platform: implement macvlan properties as lnk data 2015-11-01 17:28:09 +01:00
nm-device-macvlan.h all: rename nm-glib-compat.h to nm-glib.h, use everywhere 2015-07-24 13:25:47 -04:00
nm-device-private.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-device-tun.c core: create devices first and realize them later 2015-12-04 12:16:40 +01:00
nm-device-tun.h device/tun: support device creation 2015-11-25 11:39:57 +01:00
nm-device-veth.c platform: refactor nm_platform_veth_get_properties() 2015-11-02 13:57:01 +01:00
nm-device-veth.h all: rename nm-glib-compat.h to nm-glib.h, use everywhere 2015-07-24 13:25:47 -04:00
nm-device-vlan.c core: create devices first and realize them later 2015-12-04 12:16:40 +01:00
nm-device-vlan.h core: split device creation and device setup (bgo #737458) 2015-07-31 14:06:09 -05:00
nm-device-vxlan.c core: create devices first and realize them later 2015-12-04 12:16:40 +01:00
nm-device-vxlan.h all: rename nm-glib-compat.h to nm-glib.h, use everywhere 2015-07-24 13:25:47 -04:00
nm-device.c core: create devices first and realize them later 2015-12-04 12:16:40 +01:00
nm-device.h core: create devices first and realize them later 2015-12-04 12:16:40 +01:00
nm-lldp-listener.c lldp: decouple NMLldpListener from platform 2015-11-10 14:17:42 +01:00
nm-lldp-listener.h lldp: decouple NMLldpListener from platform 2015-11-10 14:17:42 +01:00