[VOL-2113] fix to sanity test
Change-Id: Idfeb7f9f1b40f8a604f89a08002a2e853569c6e1
diff --git a/libraries/onos.robot b/libraries/onos.robot
index 6f06062..9e3ba18 100644
--- a/libraries/onos.robot
+++ b/libraries/onos.robot
@@ -93,6 +93,12 @@
${eapol_flows_added}= Execute ONOS CLI Command ${ip} ${port} flows -s -f ADDED | grep eapol | grep IN_PORT | wc -l
Should Contain ${eapol_flows_added} ${expected_flows}
+Verify Eapol Flows Added For ONU
+ [Arguments] ${ip} ${port} ${onu_port}
+ [Documentation] Verifies if the Eapol Flows are added in ONOS for the ONU
+ ${eapol_flows_added}= Execute ONOS CLI Command ${ip} ${port} flows -s -f ADDED | grep eapol | grep IN_PORT:${onu_port}
+ Should Not Be Empty ${eapol_flows_added}
+
Verify Number of AAA-Users
[Arguments] ${ip} ${port} ${expected_onus}
[Documentation] Matches for number of aaa-users authorized based on number of onus