- [Documentation] Test SXP binding propagation only if Controller without SCS are isolated
- Check Shards Status
- Setup Custom SXP Cluster speaker
- : FOR ${i} IN RANGE 0 ${SAMPLES}
- \ ${controller_index} Get Inactive Controller
- \ Isolate SXP Controller ${controller_index} ${CLUSTER_NODE_ID}
+ [Documentation] Test SXP binding propagation from device to cluster after cluster (not owner) node is isolated
+ [Setup] Setup Custom SXP Cluster speaker
+ ${controller_index} = SxpClusterLib.Get Not Owner Controller
+ BuiltIn.Wait Until Keyword Succeeds 30 1 Check Bindings ${INADDR_ANY} ClusterManagement__session_${controller_index}
+ Isolate SXP Controller ${controller_index} ${INADDR_ANY}
+ BuiltIn.Wait Until Keyword Succeeds 30 1 Check Bindings ${INADDR_ANY} ClusterManagement__session_${RUNNING_MEMBER}
+ UnIsolate SXP Controller ${controller_index}
+ BuiltIn.Wait Until Keyword Succeeds 30 1 Check Bindings ${INADDR_ANY} ClusterManagement__session_${controller_index}
+ [Teardown] SxpClusterLib.Clean SXP Cluster
+
+Isolation of SXP service follower Test Listener Part
+ [Documentation] Test SXP binding propagation from cluster to device after cluster owner is isolated
+ [Setup] Setup Custom SXP Cluster listener ${INADDR_ANY} ${CONTROLLER_SESSION}
+ ${controller_index} = SxpClusterLib.Get Owner Controller
+ BuiltIn.Wait Until Keyword Succeeds 30 1 Check Bindings ${DEVICE_NODE_ID} ${DEVICE_SESSION}
+ Isolate SXP Controller ${controller_index} ${DEVICE_NODE_ID} ${DEVICE_SESSION}
+ BuiltIn.Wait Until Keyword Succeeds 30 1 Check Bindings ${DEVICE_NODE_ID} ${DEVICE_SESSION}
+ UnIsolate SXP Controller ${controller_index}
+ BuiltIn.Wait Until Keyword Succeeds 30 1 Check Bindings ${DEVICE_NODE_ID} ${DEVICE_SESSION}
+ [Teardown] SxpClusterLib.Clean SXP Cluster
+
+Isolation of SXP noservice follower Test Listener Part
+ [Documentation] Test SXP binding propagation from cluster to device after cluster (not owner) node is isolated
+ [Setup] Setup Custom SXP Cluster listener ${INADDR_ANY} ${CONTROLLER_SESSION}
+ ${controller_index} = SxpClusterLib.Get Not Owner Controller
+ BuiltIn.Wait Until Keyword Succeeds 30 1 Check Bindings ${DEVICE_NODE_ID} ${DEVICE_SESSION}
+ Isolate SXP Controller ${controller_index} ${DEVICE_NODE_ID} ${DEVICE_SESSION}
+ BuiltIn.Wait Until Keyword Succeeds 30 1 Check Bindings ${DEVICE_NODE_ID} ${DEVICE_SESSION}
+ UnIsolate SXP Controller ${controller_index}
+ BuiltIn.Wait Until Keyword Succeeds 30 1 Check Bindings ${DEVICE_NODE_ID} ${DEVICE_SESSION}
+ [Teardown] SxpClusterLib.Clean SXP Cluster