Add validation of Calico upgrade possibility
In order to verify Calico upgrade possibility, the following validation
steps are added before starting the upgrade:
1. Verify current Calico version (must be >= v2.6.5).
2. Verify whether Calico is turned on. Try to turn it on if it is not.
3. Perform Calico data upgrade dry-run, verify dry-run success.
An error is thrown in case of validation failure.
Related-Prod: PROD-25014 (PROD:25014)
Change-Id: I53038afd6fde9225772223e19064c367ec0644f9
1 file changed