[VOL-3686][VOL-3687][VOL-3688] Create Reconcile Testsuite for OpenOnu-Go-Adapter and refactoring of existing OpenOnu-Go-Adapter Testsuites and Library
- add new target in Makefile
- implement option to use delete (default) or kill for restart of onu adapter
Change-Id: Icbcbd6e8a74e0f8be2fbeb27f70c11da8a76b6aa
diff --git a/libraries/onos.robot b/libraries/onos.robot
index a1542a4..6e8f6e4 100755
--- a/libraries/onos.robot
+++ b/libraries/onos.robot
@@ -470,6 +470,14 @@
... Should Be Equal As Integers ${rc} 0
END
+Assert ONU Port Is Disabled
+ [Arguments] ${onos_ssh_connection} ${deviceId} ${onu_port}
+ [Documentation] Verifies if the ONU port is disabled in ONOS
+ ${onu_port_disabled}= Execute ONOS CLI Command on open connection ${onos_ssh_connection}
+ ... ports -d ${deviceId} | grep port=${onu_port}
+ Log ${onu_port_disabled}
+ Should Not Be Empty ${onu_port_disabled}
+
Assert Ports in ONOS
[Arguments] ${onos_ssh_connection} ${count} ${deviceId} ${filter}
[Documentation] Check that a certain number of ports are enabled in ONOS