Checking that a UNI is effectively disabled and not just missing
Change-Id: I5109bb86422ce048855fcbffbc8de2e004cd4d68
diff --git a/libraries/onos.robot b/libraries/onos.robot
index 54a631d..a6aac78 100755
--- a/libraries/onos.robot
+++ b/libraries/onos.robot
@@ -552,9 +552,9 @@
[Arguments] ${ip} ${port} ${onu_name} ${onu_uni_id}=1
[Documentation] Verifies if the ONU's UNI port is disabled in ONOS
${onu_port_disabled}= Execute ONOS CLI Command use single connection ${ip} ${port}
- ... ports -e | grep portName=${onu_name}-${onu_uni_id}
+ ... ports | grep portName=${onu_name}-${onu_uni_id} | grep state=disabled
Log ${onu_port_disabled}
- Should Be Empty ${onu_port_disabled}
+ Should Not Be Empty ${onu_port_disabled}
Verify ONU in AAA-Users
[Arguments] ${ip} ${port} ${onu_port}