+Check Switches Generate Slave Connection
+ [Documentation] Check switches are connected to new Slave.
+ ${original_master}= BuiltIn.Set Variable ${ODL_SYSTEM_${original_owner}_IP}
+ FOR ${switch} IN RANGE 1 ${switches+1}
+ BuiltIn.Wait Until Keyword Succeeds
+ ... 50s
+ ... 1s
+ ... OvsManager.Should Be Slave
+ ... s${switch}
+ ... ${original_master}
+ ... update_data=${True}
+ END
+
+Disconnect Mininet From Successor
+ [Documentation] Disconnect mininet from the Successor.
+ MininetKeywords.Disconnect Cluster Mininet break ${new_successor_list}
+
+Check Entity Owner Status And Find New Owner and Successor After Disconnect
+ [Documentation] Check Entity Owner Status and identify owner and successor for first switch s1.
+ ${current_owner} ${current_successor_list}= BuiltIn.Wait Until Keyword Succeeds
+ ... 10s
+ ... 1s
+ ... ClusterOpenFlow.Get OpenFlow Entity Owner Status For One Device
+ ... openflow:1
+ ... 1
+ ... ${owner_list}
+ ... after_stop=True
+ BuiltIn.Set Suite Variable ${current_owner}
+ BuiltIn.Set Suite Variable ${current_successor_list}
+
+Disconnect Mininet From Current Owner
+ [Documentation] Disconnect mininet from the owner
+ ${current_owner_list}= BuiltIn.Create List ${current_owner}
+ MininetKeywords.Disconnect Cluster Mininet break ${current_owner_list}
+
+Check Entity Owner Status And Find Current Owner and Successor After Disconnect
+ [Documentation] Check Entity Owner Status and identify owner and successor for first switch s1.
+ ${current_new_owner} ${current_new_successor_list}= BuiltIn.Wait Until Keyword Succeeds
+ ... 10s
+ ... 1s
+ ... ClusterOpenFlow.Get OpenFlow Entity Owner Status For One Device
+ ... openflow:1
+ ... 1
+ ... ${original_owner_list}
+ ... after_stop=True
+ BuiltIn.Set Suite Variable ${current_new_owner}
+ BuiltIn.Set Suite Variable ${current_new_successor_list}
+
+Check Switch Moves To Current Master
+ [Documentation] Check switch s1 is connected to original Master.
+ ${current_new_master}= BuiltIn.Set Variable ${ODL_SYSTEM_${current_new_owner}_IP}
+ BuiltIn.Wait Until Keyword Succeeds
+ ... 10s
+ ... 1s
+ ... OvsManager.Should Be Master
+ ... s1
+ ... ${current_new_master}
+ ... update_data=${True}
+ BuiltIn.Should Be Equal ${current_new_owner} ${original_owner}
+
+Check Linear Topology After Owner Disconnect
+ [Documentation] Check Linear Topology.
+ BuiltIn.Wait Until Keyword Succeeds 30s 1s ClusterOpenFlow.Check Linear Topology On Member ${SWITCHES}
+
+Check Stats Are Not Frozen After Owner Disconnect
+ [Documentation] Check that duration flow stat is increasing.
+ BuiltIn.Wait Until Keyword Succeeds 30s 1s Check Flow Stats Are Not Frozen
+
+Remove Flows And Groups After Owner Disconnected
+ [Documentation] Remove 1 group 1&2 and 1 flow in every switch.
+ Remove Single Group And Flow On Member
+
+Check Flows In Operational DS After Owner Disconnected
+ [Documentation] Check Flows in Operational DS.
+ BuiltIn.Wait Until Keyword Succeeds
+ ... 30s
+ ... 1s
+ ... ClusterOpenFlow.Check Number Of Flows On Member
+ ... ${less_flows}
+
+Check Groups In Operational DS After Owner Disconnected
+ [Documentation] Check Groups in Operational DS.
+ BuiltIn.Wait Until Keyword Succeeds
+ ... 10s
+ ... 1s
+ ... ClusterOpenFlow.Check Number Of Groups On Member
+ ... ${less_groups}
+
+Check Flows In Switch After Owner Disconnected
+ [Documentation] Check Flows in switch.
+ MininetKeywords.Check Flows In Mininet ${mininet_conn_id} ${less_flows}
+