+Check Entity Owner Status And Find Owner and Successor Before Stop
+ [Documentation] Check Entity Owner Status and identify owner and successor for first switch s1.
+ ${original_owner} ${original_successor_list} ClusterOpenFlow.Get OpenFlow Entity Owner Status For One Device openflow:1 1
+ ${original_successor}= Collections.Get From List ${original_successor_list} 0
+ BuiltIn.Set Suite Variable ${original_owner}
+ BuiltIn.Set Suite Variable ${original_successor_list}
+ BuiltIn.Set Suite Variable ${original_successor}
+
+Stop Owner Instance
+ [Documentation] Stop Owner Instance and verify it is shutdown
+ ClusterManagement.Stop Single Member ${original_owner}
+ BuiltIn.Set Suite Variable ${new_cluster_list} ${original_successor_list}
+
+Check Shards Status After Stop
+ [Documentation] Check Status for all shards in OpenFlow application.
+ ClusterOpenFlow.Check OpenFlow Shards Status After Cluster Event ${new_cluster_list}
+
+Check Entity Owner Status And Find Owner and Successor After Stop
+ [Documentation] Check Entity Owner Status and identify owner and successor.
+ ${new_owner} ${new_successor_list} ClusterOpenFlow.Get OpenFlow Entity Owner Status For One Device openflow:1 ${original_successor} ${new_cluster_list} after_stop=True
+ ${new_successor}= Collections.Get From List ${new_successor_list} 0
+ BuiltIn.Set Suite Variable ${new_owner}
+ BuiltIn.Set Suite Variable ${new_successor}
+ BuiltIn.Set Suite Variable ${new_successor_list}
+
+Check Linear Topology After Owner Stop
+ [Documentation] Check Linear Topology.
+ BuiltIn.Wait Until Keyword Succeeds 30s 1s Check Linear Topology ${SWITCHES} ${new_owner}
+
+Add Configuration In Owner and Verify After Fail
+ [Documentation] Add Flow in Owner and verify it gets applied from all instances.
+ Add Single Group And Flow ${new_owner}
+
+Check Flows In Operational DS After Owner Is Stopped
+ [Documentation] Check Flows in Operational DS after Owner is Stopped.
+ BuiltIn.Wait Until Keyword Succeeds 30s 1s Check Number Of Flows ${all_flows} ${new_owner}
+
+Check Groups In Operational DS After Owner Is Stopped
+ [Documentation] Check Groups in Operational DS after Owner is Stopped.
+ Check Number Of Groups ${all_groups} ${new_owner}
+
+Check Flows In Switch After Owner Is Stopped
+ [Documentation] Check Flows in switch after Owner is Stopped
+ MininetKeywords.Check Flows In Mininet ${mininet_conn_id} ${all_flows}
+
+Start Old Owner Instance
+ [Documentation] Start old Owner Instance and verify it is up
+ ClusterManagement.Start Single Member ${original_owner}
+
+Check Linear Topology After Owner Restart
+ [Documentation] Check Linear Topology.
+ BuiltIn.Wait Until Keyword Succeeds 30s 1s Check Linear Topology ${SWITCHES}
+
+Remove Configuration In Owner and Verify After Owner Restart
+ [Documentation] Add Flow in Owner and verify it gets applied from all instances.
+ Remove Single Group And Flow ${new_owner}
+
+Check Flows After Owner Restart In Operational DS
+ [Documentation] Check Flows in Operational DS after owner is restarted.
+ BuiltIn.Wait Until Keyword Succeeds 30s 1s Check Number Of Flows ${less_flows}
+
+Check Groups After Owner Restart In Operational DS
+ [Documentation] Check Groups in Operational DS after owner is restarted.
+ Check Number Of Groups ${less_groups}
+
+Check Flows In Switch After Owner Is Restarted
+ [Documentation] Check Flows in switch after Owner is restarted
+ MininetKeywords.Check Flows In Mininet ${mininet_conn_id} ${less_flows}
+