- Wait Until Keyword Succeeds 5s 1s ClusterKeywords.Check Item Occurrence At URI In Cluster ${controller_index_list} ${dictionary_config} ${CONFIG_TOPO_API}
- Wait Until Keyword Succeeds 5s 1s ClusterKeywords.Check Item Occurrence At URI In Cluster ${controller_index_list} ${dictionary_operational} ${OPERATIONAL_TOPO_API}
+ Wait Until Keyword Succeeds 5s 1s ClusterManagement.Check_Item_Occurrence_Member_List_Or_All uri=${CONFIG_TOPO_API} dictionary=${dictionary_config} member_index_list=${controller_index_list}
+ Wait Until Keyword Succeeds 5s 1s ClusterManagement.Check_Item_Occurrence_Member_List_Or_All uri=${OPERATIONAL_TOPO_API} dictionary=${dictionary_operational} member_index_list=${controller_index_list}
+
+Create Sample Tap Device
+ [Arguments] ${ovs_system_ip}=${TOOLS_SYSTEM_IP}
+ [Documentation] Create Tap Device vport1 and vport2 to add to the bridge br-s1 using OVS command.
+ Utils.Run Command On Mininet ${ovs_system_ip} ip tuntap add mode tap vport1
+ Utils.Run Command On Mininet ${ovs_system_ip} ip tuntap add mode tap vport2
+ Utils.Run Command On Mininet ${ovs_system_ip} ifconfig vport1 up
+ Utils.Run Command On Mininet ${ovs_system_ip} ifconfig vport2 up
+
+Add Sample Tap Device To The Manual Bridge And Verify
+ [Arguments] ${ovs_system_ip}=${TOOLS_SYSTEM_IP} ${controller_index_list}=${EMPTY}
+ [Documentation] Add Tap Device vport1 and vport2 to br-s1 using OVS command and verify it gets added in all instances in ${controller_index_list}.
+ Utils.Run Command On Mininet ${ovs_system_ip} sudo ovs-vsctl add-port br-s1 vport1 -- add-port br-s1 vport2
+ ${dictionary_operational}= Create Dictionary vport1=2 vport2=2
+ ${dictionary_config}= Create Dictionary vport1=0 vport2=0
+ Wait Until Keyword Succeeds 5s 1s ClusterManagement.Check_Item_Occurrence_Member_List_Or_All uri=${CONFIG_TOPO_API} dictionary=${dictionary_config} member_index_list=${controller_index_list}
+ Wait Until Keyword Succeeds 5s 1s ClusterManagement.Check_Item_Occurrence_Member_List_Or_All uri=${OPERATIONAL_TOPO_API} dictionary=${dictionary_operational} member_index_list=${controller_index_list}