[VOL-2546] DT: Functional TC: Test Disable and Enable ONU
Change-Id: Ia5a1f4c1a82362d4e803b85393764466ad00fceb
diff --git a/libraries/onos.robot b/libraries/onos.robot
index 98b24ef..3160c6c 100644
--- a/libraries/onos.robot
+++ b/libraries/onos.robot
@@ -104,6 +104,14 @@
Log ${onu_port_enabled}
Should Not Be Empty ${onu_port_enabled}
+Verify ONU Port Is Disabled
+ [Arguments] ${ip} ${port} ${onu_port}
+ [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}
+ Log ${onu_port_disabled}
+ Should Be Empty ${onu_port_disabled}
+
Verify ONU in AAA-Users
[Arguments] ${ip} ${port} ${onu_port}
[Documentation] Verifies that the specified onu_port exists in aaa-users output