2 Documentation Unset tell-based protocol usage
4 ... Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
6 ... This program and the accompanying materials are made available under the
7 ... terms of the Eclipse Public License v1.0 which accompanies this distribution,
8 ... and is available at http://www.eclipse.org/legal/epl-v10.html
10 ... Suite stops all odl nodes, outcomment usage of tell-based protocol in
11 ... config file (means make it false by default) and starts all nodes again.
12 Suite Setup SetupUtils.Setup_Utils_For_Setup_And_Teardown
13 Suite Teardown SSHLibrary.Close_All_Connections
15 Resource ${CURDIR}/../../../libraries/ClusterManagement.robot
16 Resource ${CURDIR}/../../../libraries/SetupUtils.robot
19 ${DATASTORE_CFG} /${WORKSPACE}/${BUNDLEFOLDER}/etc/org.opendaylight.controller.cluster.datastore.cfg
25 [Documentation] Kill every odl node.
26 ClusterManagement.Kill_Members_From_List_Or_All
28 Unset_Tell_Based_Protocol_Usage
29 [Documentation] Comment out the flag usage in config file.
30 ClusterManagement.Run_Bash_Command_On_List_Or_All sed -ie "s/use-tell-based-protocol=/#use-tell-based-protocol=/g" ${DATASTORE_CFG}
31 ClusterManagement.Run_Bash_Command_On_List_Or_All cat ${DATASTORE_CFG}
34 [Documentation] Start each member and wait for sync.
35 ClusterManagement.Start_Members_From_List_Or_All
36 BuiltIn.Wait_Until_Keyword_Succeeds 30s 5s ClusterManagement.Get_Leader_And_Followers_For_Shard shard_name=${SHARD_NAME} shard_type=${SHARD_TYPE}
37 ClusterManagement.Run_Bash_Command_On_List_Or_All ps -ef | grep java