- [Arguments] ${controller_index_list}
- [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 ${TOOLS_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 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}
+ [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}.
+ [Arguments] ${ovs_system_ip}=${TOOLS_SYSTEM_IP} ${controller_index_list}=${EMPTY}
+ 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=${RFC8040_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=${RFC8040_OPERATIONAL_TOPO_API}
+ ... dictionary=${dictionary_operational}
+ ... member_index_list=${controller_index_list}