${uri} = BuiltIn.Set_Variable /jolokia/read/org.opendaylight.controller:Category=Shards,name=member-${member_index}-shard-${shard_name}-${shard_type},type=${type_class}
${text} TemplatedRequests.Get_From_Uri uri=${uri} session=${session}
BuiltIn.Should_Contain ${text} "status":404 javax.management.InstanceNotFoundException
+
+Restart_Test_Templ
+ [Documentation] Kill every odl node and start again.
+ ClusterManagement.Kill_Members_From_List_Or_All
+ ClusterManagement.Clean_Directories_On_List_Or_All tmp_dir=/tmp
+ ClusterManagement.Start_Members_From_List_Or_All
+ BuiltIn.Wait_Until_Keyword_Succeeds 300s 10s ShardStability.Shards_Stability_Get_Details ${DEFAULT_SHARD_LIST} verify_restconf=True
+ ClusterManagement.Run_Bash_Command_On_List_Or_All ps -ef | grep java
[Documentation] Client isolation with producer on shard leader with chained transactions.
leader ${CHAINED_TX}
+Restart1
+ [Documentation] Restart odl
+ [Template]
+ DdbCommons.Restart_Test_Templ
+
Producer_On_Shard_Leader_Node_SimpleTx
[Documentation] Client isolation with producer on shard leader with simple transactions.
leader ${SIMPLE_TX}
+Restart2
+ [Documentation] Restart odl
+ [Template]
+ DdbCommons.Restart_Test_Templ
+
Producer_On_Shard_Non_Leader_Node_ChainedTx
[Documentation] Client isolation with producer on shard non-leader with chained transactions.
non-leader ${CHAINED_TX}
+Restart3
+ [Documentation] Restart odl
+ [Template]
+ DdbCommons.Restart_Test_Templ
+
Producer_On_Shard_Non_Leader_Node_SimpleTx
[Documentation] Client isolation with producer on shard non-leader with simple transactions.
non-leader ${SIMPLE_TX}
[Documentation] Client isolation with producer on shard leader with isolated transactions flag set.
leader ${ISOLATED_TRANS_TRUE}
+Restart1
+ [Documentation] Restart odl
+ [Template]
+ DdbCommons.Restart_Test_Templ
+
Producer_On_Shard_Leader_Node_Nonisolated_Transactions
[Documentation] Client isolation with producer on shard leader with isolated transactions flag unset.
leader ${ISOLATED_TRANS_FALSE}
+Restart2
+ [Documentation] Restart odl
+ [Template]
+ DdbCommons.Restart_Test_Templ
+
Producer_On_Shard_Non_Leader_Node_Isolated_Transactions
[Documentation] Client isolation with producer on shard non-leader with isolated transactions flag set.
non-leader ${ISOLATED_TRANS_TRUE}
+Restart3
+ [Documentation] Restart odl
+ [Template]
+ DdbCommons.Restart_Test_Templ
+
Producer_On_Shard_Non_Leader_Node_Nonisolated_Transactions
[Documentation] Client isolation with producer on shard non-leader with isolated transactions flag unset.
non-leader ${ISOLATED_TRANS_FALSE}
[Documentation] Listener runs on leader node when leader changed.
leader
+Restart
+ [Documentation] Restart odl
+ [Template]
+ DdbCommons.Restart_Test_Templ
+
Listener_On_Shard_Non_Leader_Node
[Documentation] Listener runs on non-leader node when leader changed.
non-leader
[Documentation] Listener runs on leader node when leader changed.
leader
+Restart
+ [Documentation] Restart odl
+ [Template]
+ DdbCommons.Restart_Test_Templ
+
Listener_On_Shard_Non_Leader_Node
[Documentation] Listener runs on non-leader node when leader changed.
non-leader