This script tries to be smart in updating some fields in the GDM YAML file.
It tries to:
derive VPC network names from their Subnets
derive the region from the availabilityZone1 (GCP Zone)
set the ntpServer to 169.254.169.254 if not configured
reserve IP addresses in GCP and populate all *Address fields
the following fields must be configured in the yaml template before running this script:
availabilityZone1
mgmtSubnet
subnet1
subnet2
What issues does this address?
It eases template configuration and automatically reserves IP addresses for the BIG-IP in GCP
What's this change do?
add contrib/yaml-smart-update.sh
Where should the reviewer start?
Review wether the functionality described above makes sense to implement in the GDM template (especially reserving IP addresses automatically).
Any background context?
Reservation of IP addresses is highly advised when using the 1nic deployment, as dynamic IP addresses for management also applies to the self IP address, which can lead to stability issues on tmm/mcpd service restart.
description:
This script tries to be smart in updating some fields in the GDM YAML file. It tries to:
ntpServer
to 169.254.169.254 if not configuredthe following fields must be configured in the yaml template before running this script:
availabilityZone1
mgmtSubnet
subnet1
subnet2
What issues does this address?
It eases template configuration and automatically reserves IP addresses for the BIG-IP in GCP
What's this change do?
add contrib/yaml-smart-update.sh
Where should the reviewer start?
Review wether the functionality described above makes sense to implement in the GDM template (especially reserving IP addresses automatically).
Any background context?
Reservation of IP addresses is highly advised when using the 1nic deployment, as dynamic IP addresses for management also applies to the self IP address, which can lead to stability issues on tmm/mcpd service restart.