NetworkManager/src/nm-cloud-setup
Íñigo Huguet 55812963fd cloud-setup: azure: ensure that primary address is placed first
The primary address is that placed at position 0 of all the IP Addresses
of the interface. Sometimes we put it in a different position in the
ipv4s array because we insert them in the order we receive, but it might
happen that the HTTP responses comes back in wrong order.

In order to solve this, we pass the index of the IPv4 address to the
callback and the address is added in the right position directly.

Co-authored-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
(cherry picked from commit 72014db629)
(cherry picked from commit c976e21237)
2024-08-30 13:10:01 +02:00
..
tests format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
90-nm-cloud-setup.sh cloud-setup: add pre-up event to prevent reaching network-online.target 2023-06-09 09:18:20 -04:00
main.c cloud-setup: log a warning when no provider is detected 2023-06-14 16:24:21 +02:00
meson.build cloud-setup: add pre-up event to prevent reaching network-online.target 2023-06-09 09:18:20 -04:00
nm-cloud-setup-utils.c cloud-setup: clear error variable in nmcs_device_reapply() 2023-06-12 10:38:00 +02:00
nm-cloud-setup-utils.h cloud-setup: debug log when URL is mocked 2023-05-22 17:26:18 +02:00
nm-cloud-setup.service.in cloud-setup: allow bigger restart bursts 2024-08-30 13:09:53 +02:00
nm-cloud-setup.timer cloud-setup: move from "clients/cloud-setup/" to "src/nm-cloud-setup/" 2021-03-15 17:10:53 +01:00
nm-http-client.c doc: replace all (allow-none) annotations by (optional) and/or (nullable) 2023-03-27 11:49:43 +02:00
nm-http-client.h cloud-setup: make nm_http_client_req() accept a method argument 2023-03-07 13:54:03 +01:00
nmcs-provider-aliyun.c cloud-setup: move implementation of getters for base URL to macro 2023-05-22 17:26:18 +02:00
nmcs-provider-aliyun.h all: use _NM_G_TYPE_CHECK_INSTANCE_CAST() for internal uses 2022-12-16 10:55:03 +01:00
nmcs-provider-azure.c cloud-setup: azure: ensure that primary address is placed first 2024-08-30 13:10:01 +02:00
nmcs-provider-azure.h all: use _NM_G_TYPE_CHECK_INSTANCE_CAST() for internal uses 2022-12-16 10:55:03 +01:00
nmcs-provider-ec2.c cloud-setup: move implementation of getters for base URL to macro 2023-05-22 17:26:18 +02:00
nmcs-provider-ec2.h all: use _NM_G_TYPE_CHECK_INSTANCE_CAST() for internal uses 2022-12-16 10:55:03 +01:00
nmcs-provider-gcp.c cloud-setup: move implementation of getters for base URL to macro 2023-05-22 17:26:18 +02:00
nmcs-provider-gcp.h all: use _NM_G_TYPE_CHECK_INSTANCE_CAST() for internal uses 2022-12-16 10:55:03 +01:00
nmcs-provider.c cloud-setup: log a warning when no provider is detected 2023-06-14 16:24:21 +02:00
nmcs-provider.h cloud-init: fix leaking iproutes for GCP provider 2023-05-12 12:42:54 +02:00
README.md all: add some README.md files describing the purpose of our sources 2021-08-19 17:51:11 +02:00

nm-cloud-setup

A NetworkManager client application that aims to automatically configure the network in a cloud environment.

See:

  • man 8 nm-cloud-setup ([www])