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 Library           Collections
4 Library           ../../../libraries/RequestsLibrary.py
5 Library           ../../../libraries/Common.py
6 Library           ../../../libraries/CrudLibrary.py
7 Library           ../../../libraries/SettingsLibrary.py
8 Library           ../../../libraries/UtilLibrary.py
9 Variables         ../../../variables/Variables.py
10
11 *** Variables ***
12 ${REST_CONTEXT}    /restconf/config/
13
14 *** Test Cases *** 
15 Stop All Controllers
16     [Documentation]    Stop all the controllers in the cluster
17     StopAllControllers    ${USER_NAME}    ${PASSWORD}    ${KARAF_HOME}    ${MEMBER1}    ${MEMBER2}    ${MEMBER3}
18
19
20 Clean All Journals
21     [Documentation]    Clean the journals of all the controllers in the cluster
22     CleanJournal    ${MEMBER1}    ${USER_NAME}    ${PASSWORD}    ${KARAF_HOME}
23     CleanJournal    ${MEMBER2}    ${USER_NAME}    ${PASSWORD}    ${KARAF_HOME}
24     CleanJournal    ${MEMBER3}    ${USER_NAME}    ${PASSWORD}    ${KARAF_HOME}
25     Sleep    5
26
27 Start All Controllers
28     [Documentation]    Start all the controllers in the cluster
29     ${rc}    StartAllControllers    ${USER_NAME}    ${PASSWORD}    ${KARAF_HOME}    ${RESTCONFPORT}
30     ...    ${MEMBER1}    ${MEMBER2}    ${MEMBER3}
31     Should Be True    ${rc}