Adding EAPOL flow validation to ATT Sanity Test
Change-Id: I6be2b837564a0a49480deeb2b3c7937802775345
diff --git a/libraries/onos.robot b/libraries/onos.robot
index d5a859c..54a631d 100755
--- a/libraries/onos.robot
+++ b/libraries/onos.robot
@@ -532,10 +532,12 @@
Should Be Empty ${pending_flows}
Verify Eapol Flows Added For ONU
- [Arguments] ${ip} ${port} ${onu_port}
+ [Arguments] ${ip} ${port} ${olt_of_id} ${onu_port} ${c_tag}=4091
[Documentation] Verifies if the Eapol Flows are added in ONOS for the ONU
- ${eapol_flows_added}= Execute ONOS CLI Command use single connection ${ip} ${port}
- ... flows -s -f ADDED | grep eapol | grep IN_PORT:${onu_port}
+ ${eapol_flow_cmd}= Catenate SEPARATOR=
+ ... flows -s ADDED ${olt_of_id} | grep IN_PORT:${onu_port} | grep ETH_TYPE:eapol |
+ ... grep VLAN_ID:${c_tag} | grep OUTPUT:CONTROLLER
+ ${eapol_flows_added}= Execute ONOS CLI Command use single connection ${ip} ${port} ${eapol_flow_cmd}
Should Not Be Empty ${eapol_flows_added}
Verify UNI Port Is Enabled