This change moves the check of the cluster creation to the testsuite.
In that way, the test can change depending on whether the juju controller
exists or doesn't exist.
Change-Id: I072c27061745ca8d8766d0dc1ded71a252cceef2
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Log ${stdout}
Should Be Equal As Integers ${rc} ${SUCCESS_RETURN_CODE}
Wait Until Keyword Succeeds ${K8SCLUSTER_LAUNCH_MAX_WAIT_TIME} ${K8SCLUSTER_LAUNCH_POL_TIME} Check For K8s Cluster To Be Ready ${k8scluster_name}
- Check For K8s Cluster To Be Enabled ${k8scluster_name}
RETURN ${stdout}
Delete K8s Cluster
Add K8s Cluster To OSM
[Documentation] Register K8s cluster in OSM.
Create K8s Cluster %{K8S_CREDENTIALS} ${K8SCLUSTER_VERSION} %{VIM_TARGET} %{VIM_MGMT_NET} ${K8SCLUSTER_NAME}
+ Check For K8s Cluster To Be Enabled ${K8SCLUSTER_NAME}
Instantiate Charm Network Service
[Documentation] Instantiate NS for the testsuite.
Add K8s Cluster To OSM
[Documentation] Creates a VIM for the K8s cluster to be anchored against
Create K8s Cluster %{K8S_CREDENTIALS} ${K8SCLUSTER_VERSION} ${VIM_NAME} %{VIM_MGMT_NET} ${K8SCLUSTER_NAME}
+ Check For K8s Cluster To Be Ready ${K8SCLUSTER_NAME}
Remove K8s Cluster from OSM
[Documentation] Delete K8s cluster.
Add K8s Cluster To OSM
[Documentation] Register a K8s cluster associated to the dummy VIM.
Create K8s Cluster %{K8S_CREDENTIALS} ${K8SCLUSTER_VERSION} ${VIM_NAME} ${K8SCLUSTER_NET} ${K8SCLUSTER_NAME}
+ Check For K8s Cluster To Be Ready ${K8SCLUSTER_NAME}
Create Network Service Instance
[Documentation] Instantiate NS for the testsuite.
Add K8s Cluster To OSM
[Documentation] Register K8s cluster in OSM.
Create K8s Cluster %{K8S_CREDENTIALS} ${K8SCLUSTER_VERSION} %{VIM_TARGET} %{VIM_MGMT_NET} ${K8SCLUSTER_NAME}
+ Check For K8s Cluster To Be Ready ${K8SCLUSTER_NAME}
Create Network Service Instance
[Documentation] Instantiate NS for the testsuite.
Add K8s Cluster To OSM
[Documentation] Register K8s cluster in OSM.
Create K8s Cluster %{K8S_CREDENTIALS} ${K8SCLUSTER_VERSION} %{VIM_TARGET} %{VIM_MGMT_NET} ${K8SCLUSTER_NAME}
+ Check For K8s Cluster To Be Enabled ${K8SCLUSTER_NAME}
Create Network Service Instance
[Documentation] Instantiate NS for the testsuite.