...
- The
bpa_verifier.sh
script get the MAC addresses and IP addresses of the 2 VMs nodes provisioned by metal3, then creates a fake DHCP lease file using the IP address and MAC address information. It also creates a provisioning CR using the MAC address information. - The script creates an ssh secret key using the ssh keys of the test host, applies the provisioning CR.
- The script busy loops until the KUD installation job completes or fails. If it completes successfully, it runs a curl command using the authentication info of the new cluster to confirm if it was successful or not. On completing all the steps, it runs a teardown where it deletes everything it created.
...