nmcs-gcp: add support for Google Cloud Platform load balancers

System Internals / NetworkManager - Antonio Cardace [redhat.com] - 26 June 2020 14:47 UTC

This add a provider implementation for GCP that when detected fetches the ip addresses of configured internal load balancers.

Once this information is fetched from the metadata server it instructs NetworkManager to add local routes for each found forwarded-ip.

https://bugzilla.redhat.com/show_bug.cgi?id=1821787

a2b699f40 nmcs-gcp: add support for Google Cloud Platform load balancers
Makefile.am | 2 +
clients/cloud-setup/main.c | 2 +
clients/cloud-setup/meson.build | 1 +
clients/cloud-setup/nm-cloud-setup.service.in | 1 +
clients/cloud-setup/nmcs-provider-gcp.c | 520 ++++++++++++++++++++++++++
clients/cloud-setup/nmcs-provider-gcp.h | 24 ++
6 files changed, 550 insertions(+)

Upstream: cgit.freedesktop.org


  • Share