SEBA-458 waiting for xconnect in onos to be removed in siab tests
Change-Id: I7081f032a4a5c07ecb8ef7b599b8fb22f0e854e7
diff --git a/src/test/cord-api/Tests/WorkflowValidations/SIAB.robot b/src/test/cord-api/Tests/WorkflowValidations/SIAB.robot
index 23c14c2..be9531a 100644
--- a/src/test/cord-api/Tests/WorkflowValidations/SIAB.robot
+++ b/src/test/cord-api/Tests/WorkflowValidations/SIAB.robot
@@ -335,6 +335,7 @@
No Subscriber Service Chain
Wait Until Keyword Succeeds 60s 2s Validate Subscriber Service Chain ${onu_device} False
Wait Until Keyword Succeeds 60s 2s Validate Fabric CrossConnect SI ${s_tag} False
+ Wait Until Keyword Succeeds 60s 2s Validate XConnect Removed from ONOS
Simple Setup
${datetime}= Get Current Datetime On Kubernetes Node ${kube_node_ip} ${local_user} ${local_pass}
@@ -399,3 +400,7 @@
Subscriber Ready to Authenticate
${RG_CONTAINER}= Run kubectl -n voltha get pod|grep "^rg-"|cut -d' ' -f1
Set Suite Variable ${RG_CONTAINER}
+
+Validate XConnect Removed from ONOS
+ ${output}= Run http -a karaf:karaf GET http://127.0.0.1:30120/onos/segmentrouting/xconnect
+ Should Contain ${output} {"xconnects":[]}
\ No newline at end of file