[VOL-3243] Updates to onu port enabled/disabled checks in ONOS
Change-Id: I9ce9982593c765f053c27a73e73eca2736c91ca4
diff --git a/libraries/onos.robot b/libraries/onos.robot
index 2847d7f..7d020d2 100644
--- a/libraries/onos.robot
+++ b/libraries/onos.robot
@@ -165,18 +165,18 @@
Should Not Be Empty ${eapol_flows_added}
Verify ONU Port Is Enabled
- [Arguments] ${ip} ${port} ${onu_port}
+ [Arguments] ${ip} ${port} ${onu_name}
[Documentation] Verifies if the ONU port is enabled in ONOS
${onu_port_enabled}= Execute ONOS CLI Command ${ip} ${port}
- ... ports -e | grep port=${onu_port}
+ ... ports -e | grep portName=${onu_name}
Log ${onu_port_enabled}
Should Not Be Empty ${onu_port_enabled}
Verify ONU Port Is Disabled
- [Arguments] ${ip} ${port} ${onu_port}
+ [Arguments] ${ip} ${port} ${onu_name}
[Documentation] Verifies if the ONU port is disabled in ONOS
${onu_port_disabled}= Execute ONOS CLI Command ${ip} ${port}
- ... ports -e | grep port=${onu_port}
+ ... ports -e | grep portName=${onu_name}
Log ${onu_port_disabled}
Should Be Empty ${onu_port_disabled}