Revert "Checking that no flows are provisioned on a disabled device"
This reverts commit 8b6dc263eca0b35d595f21a1ae62d74e879e95fc.
Revert "fix disable onu reason for all workflows"
This reverts commit 0ec95eb9e0142bc7298133c1334082ce772d184a.
Revert no flows provisioned on disabled device
Change-Id: I96ea99b6ce977d3902216780bcfe01ddcbcfd460
diff --git a/tests/openonu-go-adapter/Voltha_ONUMibAudit.robot b/tests/openonu-go-adapter/Voltha_ONUMibAudit.robot
index 618d0d2..c68a0c0 100755
--- a/tests/openonu-go-adapter/Voltha_ONUMibAudit.robot
+++ b/tests/openonu-go-adapter/Voltha_ONUMibAudit.robot
@@ -116,7 +116,11 @@
... ELSE Perform Sanity Test ${suppressaddsubscriber}
Run Keyword If ${print2console} Log Disable ONUs. console=yes
Disable Onu Device
- Current State Test All Onus tech-profile-config-delete-success
+ ${alternativeonustates}= Create List omci-flows-deleted
+ Run Keyword If "${workflow}"=="DT" Current State Test All Onus omci-admin-lock
+ ... ELSE IF "${workflow}"=="TT" Current State Test All Onus omci-admin-lock
+ ... ELSE Current State Test All Onus omci-admin-lock alternativeonustate=${alternativeonustates}
+ #check all ports are disabled in ONOS
Wait for all ONU Ports in ONOS Disabled ${ONOS_SSH_IP} ${ONOS_SSH_PORT} ${unitag_sub}
Run Keyword If ${print2console} Log Enable ONUs. console=yes
Enable Onu Device