-
- Open Connection ${osm_host}
- Login With Public Key ${osm_username} keyfile=${osm_privatekey}
- ${pod}= Execute Remote Command Check Rc Return Output ${osm_host} ${osm_username} ${osm_password} ${osm_privatekey} kubectl get pod -n ${ns_id} --no-headers -o custom-columns=":metadata.name"
- ${svc}= Execute Remote Command Check Rc Return Output ${osm_host} ${osm_username} ${osm_password} ${osm_privatekey} kubectl get svc -n ${ns_id} -l app.kubernetes.io/name=eechart -o jsonpath='{.items[0].spec.clusterIP}'
- Set Suite Variable ${pod_name} ${pod}
- Set Suite Variable ${svc_ip} ${svc}
-
+ [Documentation] Retrieve pod name and service IP address of the helm-based EE running in OSM cluster and store as suite variables to be used later on.
+ Open Connection ${OSM_HOST}
+ Login With Public Key ${OSM_USERNAME} keyfile=${OSM_PRIVATEKEY}
+ ${pod}= Execute Remote Command Check Rc Return Output ${OSM_HOST} ${OSM_USERNAME} ${OSM_PASSWORD} ${OSM_PRIVATEKEY} kubectl get pod -n ${NS_ID} --no-headers -o custom-columns=":metadata.name"
+ ${svc}= Execute Remote Command Check Rc Return Output ${OSM_HOST} ${OSM_USERNAME} ${OSM_PASSWORD} ${OSM_PRIVATEKEY} kubectl get svc -n ${NS_ID} -l app.kubernetes.io/name=eechart -o jsonpath='{.items[0].spec.clusterIP}'
+ Set Suite Variable ${POD_NAME} ${pod}
+ Set Suite Variable ${SVC_IP} ${svc}