...
BPA Operator: Itohan Ukponmwan (Deactivated) Ramamani Yeleswarapu (Deactivated)
- The BPA operator has unit tests using the go framework. The unit tests check the following;
- Job is created with the right job name for KUD installation.
- The job metadata has the right cluster name
- Expected error is produced when a host with the specified MAC address is not found
- Expected error is produced when no dhcp lease is found for the specified host
BPA Rest Agent: Enyinna Ochulor Tingjie Chen (Deactivated)
...
BPA Operator: Itohan Ukponmwan (Deactivated)
BareMetal host Section
- The bpa_verifier.sh script get the MAC addresses and IP addresses of the 2 VMs 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 the creates an ssh secret key using the ssh keys of the test host, applies the the provisioning CR
- The script busy loops till the KUD installation job completes or fails. If it completes successfully, it does 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 does a teardown where it deletes everything it created.
BPA Operator - Virtlet VM Provisioning
...