[VOL-4376] Verify that 2 RG which are connected to the same ONU could join the different channels.
Change-Id: I0b75240e718f115c2bc8b90c024a36d84e3c082f
diff --git a/tests/tt-workflow/Voltha_TT_MulticastTests.robot b/tests/tt-workflow/Voltha_TT_MulticastTests.robot
index fbdca15..81b5eee 100644
--- a/tests/tt-workflow/Voltha_TT_MulticastTests.robot
+++ b/tests/tt-workflow/Voltha_TT_MulticastTests.robot
@@ -84,6 +84,27 @@
Wait Until Keyword Succeeds ${timeout} 15 TT 2 RG MCAST Test ${src_onu1} ${dst_onu1}
... ${channel_ip_1} ${src_onu2} ${dst_onu2} ${channel_ip_1}
+2 RG Same ONU Different Channel Multicast Test
+ [Documentation] Verify that 2 RG which are connected to the same ONU could join the different channel.
+ [Tags] functionalTT 2RGSameOnuDifferentChannel multicastTT
+ [Setup] Start Logging 2RGSameOnuDifferentChannel
+ [Teardown] Run Keywords Run Keyword If ${logging} Collect Logs
+ ... AND Stop Logging 2RGSameOnuDifferentChannel
+ ${test_onus_pon0}= Set Variable ${multicast_test_onu_pon_locations.pon_0[0]}
+ ${test_onu1_sn}= Set Variable ${test_onus_pon0['onu_1']}
+ ${test_onu1_uni}= Set Variable 1
+ ${test_onu2_sn}= Set Variable ${test_onus_pon0['onu_1']}
+ ${test_onu2_uni}= Set Variable 2
+ ${channel_ip_list}= Set Variable ${multicast_ip_addresses[0]}
+ ${channel_ip_1}= Set Variable ${channel_ip_list['channel_1']}
+ ${channel_ip_2}= Set Variable ${channel_ip_list['channel_2']}
+ ${matched} ${src_onu1} ${dst_onu1}= Get ONU details with Given Sn and Service and UNI ${test_onu1_sn} mcast
+ ... ${test_onu1_uni}
+ ${matched} ${src_onu2} ${dst_onu2}= Get ONU details with Given Sn and Service and UNI ${test_onu2_sn} mcast
+ ... ${test_onu2_uni}
+ Wait Until Keyword Succeeds ${timeout} 15 TT 2 RG MCAST Test ${src_onu1} ${dst_onu1}
+ ... ${channel_ip_1} ${src_onu2} ${dst_onu2} ${channel_ip_2}
+
*** Keywords ***
Get ONU details with Given Sn and Service and UNI
[Documentation] This keyword finds the ONU details (as required for multicast test)