NetworkManager/clients/cloud-setup
Thomas Haller bf2a3ff277 cloud-setup: track config-task-data in iface-data
Let NMCSProviderGetConfigIfaceData.get_config_data have a pointer to the
NMCSProviderGetConfigTaskData. This will allow two things:

- at several places we pass on `nm_utils_user_data_pack(get_config_data,
  config_iface_data)` as user data. We can avoid that, by just letting
  config_iface_data have a pointer to get_config_data.

- NMCSProviderGetConfigIfaceData contains a provider specific field
  "priv". That may also require special initialization or destruction,
  depending on the type. We thus need access to the provider type,
  which we have via iface_data->get_config_data->self.

Also let NMCSProviderGetConfigTaskData have a pointer "self" to the
NMCSProvider. While there was already the "task", which contains the
provider as source-object, this is more convenient.

Conflicts: missing nmcs-provider-aliyun

(cherry picked from commit 069946cda1)
(cherry picked from commit 061c05ca39)
(cherry picked from commit 1cf4fd0235)
(cherry picked from commit be1dce951e)
(cherry picked from commit 646bc7a10e)
2023-09-18 08:48:59 +02:00
..
tests cloud-setup/tests: add test for nmcs_setting_ip_replace_ipv4_addresses() 2021-02-10 18:35:13 +01:00
90-nm-cloud-setup.sh cloud-setup: let dispatcher script run tool only if service is enabled 2019-12-03 16:18:33 +01:00
main.c cloud-setup: use suppress_prefixlength rule to honor non-default-routes in the main table 2021-10-05 09:35:48 +02:00
meson.build cloud-setup/tests: add unit test for nm-cloud-setup 2021-02-10 18:23:44 +01:00
nm-cloud-setup-utils.c cloud-setup: fix replacing IPv4 addresses during update 2021-02-10 18:23:44 +01:00
nm-cloud-setup-utils.h cloud-setup: add nmcs_utils_ipaddr_normalize*() helper 2021-01-08 16:32:49 +01:00
nm-cloud-setup.service.in cloud-setup: add Documentation link to "nm-cloud-setup.service" 2021-02-02 18:13:02 +01:00
nm-cloud-setup.timer cloud-setup: add tool for automatic IP configuration in cloud 2019-11-28 19:52:18 +01:00
nm-http-client.c all: add "libnm/nm-default-client.h" as replacement for "nm-default.h" 2021-02-09 12:38:17 +01:00
nm-http-client.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nmcs-provider-azure.c cloud-setup: track config-task-data in iface-data 2023-09-18 08:48:59 +02:00
nmcs-provider-azure.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nmcs-provider-ec2.c cloud-setup: track config-task-data in iface-data 2023-09-18 08:48:59 +02:00
nmcs-provider-ec2.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nmcs-provider-gcp.c cloud-setup: track config-task-data in iface-data 2023-09-18 08:48:59 +02:00
nmcs-provider-gcp.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nmcs-provider.c cloud-setup: track config-task-data in iface-data 2023-09-18 08:48:59 +02:00
nmcs-provider.h cloud-setup: track config-task-data in iface-data 2023-09-18 08:48:59 +02:00