(VOL-4968) add uni and optional vlan args to the bbsim igmp keywords
Change-Id: I6f8d62855e6ef27acb6469b2628d5258216a566f
diff --git a/tests/bbsim/Voltha_BBSimTests.robot b/tests/bbsim/Voltha_BBSimTests.robot
index 44dbdcd..fa62cbd 100755
--- a/tests/bbsim/Voltha_BBSimTests.robot
+++ b/tests/bbsim/Voltha_BBSimTests.robot
@@ -64,6 +64,9 @@
# if set to False, comand used is "volt-add-subscriber-access"
${unitag_sub} False
+# Igmp group address to perform join and leave for ONUs
+${igmp_group_address} 224.0.0.22
+
*** Test Cases ***
Test Perform BBSim Sanity
@@ -84,13 +87,13 @@
[Arguments] ${bbsim_pod} ${of_id} ${onu} ${onu_port}
FOR ${Z} IN RANGE 0 ${igmp_join_leave_count}
List Service ${NAMESPACE} ${bbsim_pod}
- JoinOrLeave Igmp ${NAMESPACE} ${bbsim_pod} ${onu} join
+ JoinOrLeave Igmp ${NAMESPACE} ${bbsim_pod} ${onu} 0 join ${igmp_group_address}
Sleep 2s
List Service ${NAMESPACE} ${bbsim_pod}
List ONUs ${NAMESPACE} ${bbsim_pod}
Run Keyword And Continue On Failure Wait Until Keyword Succeeds ${timeout} 2s
... Verify ONU in Groups ${ONOS_SSH_IP} ${ONOS_SSH_PORT} ${of_id} ${onu_port}
- JoinOrLeave Igmp ${NAMESPACE} ${bbsim_pod} ${onu} leave
+ JoinOrLeave Igmp ${NAMESPACE} ${bbsim_pod} ${onu} 0 leave ${igmp_group_address}
Sleep 2s
List Service ${NAMESPACE} ${bbsim_pod}
List ONUs ${NAMESPACE} ${bbsim_pod}