52d0ef42e6bb98c5f086fd7e5f4df9cba64c1984
[integration/test.git] / csit / suites / cardinal / basic / 020_FeatureInstallation.robot
1 *** Settings ***
2 Suite Setup       Create Session    session    http://${CONTROLLER}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS}
3 Suite Teardown    Delete All Sessions
4 Library           RequestsLibrary
5 Library           OperatingSystem
6 Library           String
7 Resource          ../../../libraries/KarafKeywords.robot
8 Variables         ../../../variables/Variables.py
9
10 *** Test Cases ***
11 Centinel Feature Installation
12     Install a Feature    odl-cardinal    ${ODL_SYSTEM_IP}    ${KARAF_SHELL_PORT}    120
13     Verify Feature Is Installed    odl-cardinal
14     ${strings_to_verify}=    Create List    CardinalProvider Session Initiated
15     Wait Until Keyword Succeeds    180s    1s    Check For Elements On Karaf Command Output Message    log:display | grep "CardinalProvider Session Initiated"    ${strings_to_verify}