grepping for correct states for aaa-user and dhcp-l2allocations in bbsim tests
Change-Id: I6f2c02d4b876ab0211315e50595ff07730d8afac
diff --git a/src/test/cord-api/Tests/BBSim/BBSIMScale.robot b/src/test/cord-api/Tests/BBSim/BBSIMScale.robot
index 4f07a08..bb8a540 100644
--- a/src/test/cord-api/Tests/BBSim/BBSIMScale.robot
+++ b/src/test/cord-api/Tests/BBSim/BBSIMScale.robot
@@ -179,7 +179,7 @@
Verify Number of AAA-Users
[Arguments] ${expected_onus}
- ${aaa_users}= Execute ONOS Command aaa-users | wc -l
+ ${aaa_users}= Execute ONOS Command aaa-users | grep AUTHORIZED | wc -l
Should Contain ${aaa_users} ${expected_onus}
Validate Hosts in ONOS
@@ -189,7 +189,7 @@
Validate DHCP Allocations
[Arguments] ${expected_onus}
- ${allocations}= Execute ONOS Command dhcpl2relay-allocations | wc -l
+ ${allocations}= Execute ONOS Command dhcpl2relay-allocations | grep DHCPACK | wc -l
Should Contain ${allocations} ${expected_onus}
OLT Device in ONOS