test updates
Change-Id: I668bf9040e4b91cff9f04ca44a5ce2c3d1e11143
diff --git a/libraries/onos.robot b/libraries/onos.robot
index 31e1c8a..8ec81db 100644
--- a/libraries/onos.robot
+++ b/libraries/onos.robot
@@ -48,7 +48,7 @@
\ ${sn}= Get From Dictionary ${value} serial
\ ${of_id}= Get From Dictionary ${value} id
Should Be Equal As Strings ${sn} ${serial_number}
- Set Suite Variable ${of_id}
+ [Return] ${of_id}
Verify Eapol Flows Added
[Arguments] ${ip} ${port} ${expected_flows}
@@ -59,11 +59,13 @@
Verify Number of AAA-Users
[Arguments] ${ip} ${port} ${expected_onus}
[Documentation] Matches for number of aaa-users authorized based on number of onus
+ ##TODO: filter by onu serial number instead of count
${aaa_users}= Execute ONOS Command ${ip} ${port} aaa-users | grep AUTHORIZED | wc -l
Should Contain ${aaa_users} ${expected_onus}
Validate DHCP Allocations
[Arguments] ${ip} ${port} ${expected_onus}
[Documentation] Matches for number of dhcpacks based on number of onus
+ ##TODO: filter by onu serial number instead of count
${allocations}= Execute ONOS Command ${ip} ${port} dhcpl2relay-allocations | grep DHCPACK | wc -l
Should Contain ${allocations} ${expected_onus}
\ No newline at end of file