[CORD-2893] Data plane validation to scale test
Change-Id: Iae70d39167f1629d93e4d8743d47e300a107501a
diff --git a/src/test/cord-api/Tests/Soak_ScaleVCPE.txt b/src/test/cord-api/Tests/Soak_ScaleVCPE.txt
index 448bf4a..8d2f18a 100644
--- a/src/test/cord-api/Tests/Soak_ScaleVCPE.txt
+++ b/src/test/cord-api/Tests/Soak_ScaleVCPE.txt
@@ -71,7 +71,14 @@
\ ${getVSG_result}= restApi.ApiChameleonGet VSG_TENANT ${VSGTenant}
\ ${instance_id}= Get From Dictionary ${getVSG_result} instance_id
\ Append To List ${instanceList} ${instance_id}
- \ Log ${instanceList}
+ # Wait for container to be created
+ \ Sleep 420
+ # Verify container creation within the VSG
+ \ ${nova_id}= Run . /opt/cord_profile/admin-openrc.sh; nova list --all-tenants | grep mysite_vsg-${instance_id} | awk '{print $2}'
+ \ ${compute_node}= Run . /opt/cord_profile/admin-openrc.sh; nova show ${nova_id} | grep :host | awk '{print $4}'
+ \ ${vsg_ip}= Run . /opt/cord_profile/admin-openrc.sh; nova show ${nova_id} | grep management | awk '{print $5}'
+ \ ${docker_container}= Run ssh -o ProxyCommand="ssh -W %h:%p -l ubuntu ${compute_node}" ubuntu@${vsg_ip} sudo docker ps | grep vsg-${s_tag}-${c_tag} | wc -l
+ \ Should Not Contain ${docker_container} 0
Log ${c_tag}
Log ${service_specific_id}
diff --git a/src/test/cord-api/Tests/data/Soak_ScaleVCPE.json b/src/test/cord-api/Tests/data/Soak_ScaleVCPE.json
index ade3e3f..1289700 100644
--- a/src/test/cord-api/Tests/data/Soak_ScaleVCPE.json
+++ b/src/test/cord-api/Tests/data/Soak_ScaleVCPE.json
@@ -1,5 +1,5 @@
{
- "s_tag" : 900
- "c_tag" : 500
+ "s_tag" : 900,
+ "c_tag" : 500,
"service_specific_id" : 500
}