Migrate Get Requests invocations(libraries)
[integration/test.git] / csit / suites / centinel / basic / 020_FeatureInstallation.robot
1 *** Settings ***
2 Library             RequestsLibrary
3 Library             OperatingSystem
4 Library             String
5 Library             Collections
6 Library             DateTime
7 Resource            ../../../libraries/KarafKeywords.robot
8 Variables           ../../../variables/Variables.py
9
10 Suite Setup         Create Session    session    http://${CONTROLLER}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS}
11 Suite Teardown      Delete All Sessions
12
13
14 *** Test Cases ***
15 Centinel Feature Installation
16     Install a Feature    odl-centinel-all    ${ODL_SYSTEM_IP}    ${KARAF_SHELL_PORT}    120
17     Verify Feature Is Installed    odl-centinel-all
18     ${strings_to_verify}=    Create List    Stream handler provider initated
19     Wait Until Keyword Succeeds
20     ...    180s
21     ...    1s
22     ...    Check For Elements On Karaf Command Output Message
23     ...    log:display | grep "Stream handler provider initated"
24     ...    ${strings_to_verify}