NetworkManager/src/devices
Beniamino Galvani aa820e9386 all: add more meaningful error code for unsupported IP method
Add a new device state reason code for unsupported IP method. It is
returned, for example, when users select manual IP configuration for
WWAN connections:

 # nmcli connection mod Gsm ipv4.method manual ipv4.address 1.2.3.4/32
 # nmcli connection up Gsm
 Error: Connection activation failed: The selected IP method is not
 supported

compared to the old:

 Error: Connection activation failed: IP configuration could not be
 reserved (no available address, timeout, etc.)

Note that we could instead fail the connection validation if the
method is not supported by the connection type, but adding such
limitation now could make existing connections invalid.

https://bugzilla.redhat.com/show_bug.cgi?id=1459529
2017-12-21 10:02:07 +01:00
..
adsl build: add initial support for meson build system 2017-12-13 15:48:50 +01:00
bluetooth build: add initial support for meson build system 2017-12-13 15:48:50 +01:00
ovs build: add initial support for meson build system 2017-12-13 15:48:50 +01:00
team build: add initial support for meson build system 2017-12-13 15:48:50 +01:00
tests devices/test: reapply commit 5c6a382d4d 2017-12-14 12:32:18 +01:00
wifi all: get rid of a handful of unused-but-set variables 2017-12-18 13:29:32 +01:00
wwan all: add more meaningful error code for unsupported IP method 2017-12-21 10:02:07 +01:00
meson.build build: add initial support for meson build system 2017-12-13 15:48:50 +01:00
nm-arping-manager.c all: use nm_direct_hash() instead of g_direct_hash() 2017-11-16 11:49:52 +01:00
nm-arping-manager.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-device-bond.c platform: pass string buffer to nm_platform_error_to_string() and print numeric errno 2017-08-24 10:55:45 +02:00
nm-device-bond.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-device-bridge.c platform: pass string buffer to nm_platform_error_to_string() and print numeric errno 2017-08-24 10:55:45 +02:00
nm-device-bridge.h bridge: move the Bluetooth NAP logic to bridge device 2017-06-01 11:57:42 +02:00
nm-device-dummy.c platform: pass string buffer to nm_platform_error_to_string() and print numeric errno 2017-08-24 10:55:45 +02:00
nm-device-dummy.h core: add support for dummy devices 2017-02-22 21:05:04 +01:00
nm-device-ethernet-utils.c device: use NMSettings directly instead of NMConnectionProvider in subclasses 2016-05-24 12:35:58 +02:00
nm-device-ethernet-utils.h device: use NMSettings directly instead of NMConnectionProvider in subclasses 2016-05-24 12:35:58 +02:00
nm-device-ethernet.c all: get rid of a handful of unused-but-set variables 2017-12-18 13:29:32 +01:00
nm-device-ethernet.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-device-factory.c all: use nm_direct_hash() instead of g_direct_hash() 2017-11-16 11:49:52 +01:00
nm-device-factory.h core: device-factory: implement match_connection() 2017-08-05 08:03:16 +02:00
nm-device-generic.c device: don't use platform singleton getter in device subclasses 2017-04-18 15:49:14 +02:00
nm-device-generic.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-device-infiniband.c manager: downgrade error message for missing dependencies 2017-09-20 08:01:02 +02:00
nm-device-infiniband.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-device-ip-tunnel.c device: deduplicate match_parent() 2017-09-28 10:54:01 +02:00
nm-device-ip-tunnel.h device: move tracking of parent device from NMDeviceIPTunnel to NMDevice 2017-01-04 14:18:01 +01:00
nm-device-logging.h Revert "device: log device type too" 2017-10-31 18:48:41 +01:00
nm-device-macsec.c all: get rid of a handful of unused-but-set variables 2017-12-18 13:29:32 +01:00
nm-device-macsec.h core,libnm: introduce NMDeviceMacsec 2017-01-16 17:37:14 +01:00
nm-device-macvlan.c device: deduplicate match_hwaddr() 2017-09-28 10:54:01 +02:00
nm-device-macvlan.h device: move tracking of parent device from NMDeviceMacvlan to NMDevice 2017-01-04 14:18:01 +01:00
nm-device-ppp.c manager: add a method to get a particular device of given type 2017-10-30 17:38:37 +01:00
nm-device-ppp.h device: add NMDevicePPP 2017-08-05 08:03:15 +02:00
nm-device-private.h device: reset MTU when VLAN's parent device changes MTU 2017-10-23 17:53:22 +02:00
nm-device-tun.c platform: pass string buffer to nm_platform_error_to_string() and print numeric errno 2017-08-24 10:55:45 +02:00
nm-device-tun.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-device-veth.c device: remove unused private data for NMDeviceVeth 2017-05-27 23:16:56 +02:00
nm-device-veth.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nm-device-vlan.c device: remove 'force_restart' argument from reactivate functions 2017-12-06 09:53:18 +01:00
nm-device-vlan.h device: move tracking of parent device from NMDeviceVlan to NMDevice 2017-01-04 14:18:01 +01:00
nm-device-vxlan.c device: deduplicate match_parent() 2017-09-28 10:54:01 +02:00
nm-device-vxlan.h device: move tracking of parent device from NMDeviceVxlan to NMDevice 2017-01-04 14:18:01 +01:00
nm-device.c all: add more meaningful error code for unsupported IP method 2017-12-21 10:02:07 +01:00
nm-device.h device: expose nm_device_get_route_metric_default() 2017-12-15 11:36:07 +01:00
nm-lldp-listener.c all: add helper functions for nm_hash_update*() 2017-10-18 13:29:22 +02:00
nm-lldp-listener.h core: refactor private data for NMExportedObject and others 2016-10-03 12:04:14 +02:00