Merge "Changed the body of flows."
[integration/test.git] / test / csit / suites / clustering / datastore / 001_start_cluster.txt
1 *** Settings ***
2 Documentation     Start the controllers
3 Default Tags  3-node-cluster
4
5 Library           Collections
6 Library           ../../../libraries/RequestsLibrary.py
7 Library           ../../../libraries/Common.py
8 Library           ../../../libraries/CrudLibrary.py
9 Library           ../../../libraries/SettingsLibrary.py
10 Library           ../../../libraries/UtilLibrary.py
11 Variables         ../../../variables/Variables.py
12
13 *** Variables ***
14 ${REST_CONTEXT}    /restconf/config/
15
16 *** Test Cases *** 
17 Stop All Controllers
18     [Documentation]    Stop all the controllers in the cluster
19     StopAllControllers    ${USER_NAME}    ${PASSWORD}    ${KARAF_HOME}    ${MEMBER1}    ${MEMBER2}    ${MEMBER3}
20
21
22 Clean All Journals
23     [Documentation]    Clean the journals of all the controllers in the cluster
24     CleanJournal    ${MEMBER1}    ${USER_NAME}    ${PASSWORD}    ${KARAF_HOME}
25     CleanJournal    ${MEMBER2}    ${USER_NAME}    ${PASSWORD}    ${KARAF_HOME}
26     CleanJournal    ${MEMBER3}    ${USER_NAME}    ${PASSWORD}    ${KARAF_HOME}
27     Sleep    5
28
29 Start All Controllers
30     [Documentation]    Start all the controllers in the cluster
31     ${rc}    StartAllControllers    ${USER_NAME}    ${PASSWORD}    ${KARAF_HOME}    ${RESTCONFPORT}
32     ...    ${MEMBER1}    ${MEMBER2}    ${MEMBER3}
33     Should Be True    ${rc}