d522a884fa876d14fdb1fc6d231e8fc68cd841f1
[integration/test.git] / csit / suites / openstack / neutron / 001__reachability.robot
1 *** Settings ***
2 Suite Setup       Create Session    ODL    http://${ODL_SYSTEM_IP}:${PORT}    headers=${HEADERS}    auth=${AUTH}
3 Suite Teardown    Delete All Sessions
4 Library           RequestsLibrary
5 Variables         ../../../variables/Variables.py
6
7 *** Test Cases ***
8 Get the complete list of networks
9     [Documentation]    Get the complete list of networks
10     [Tags]    reachability
11     ${resp}    get request    ODL    ${NEUTRON_NETWORKS_API}
12     Should be Equal As Strings    ${resp.status_code}    200
13
14 Get the complete list of subnets
15     [Documentation]    Get the complete list of subnets
16     [Tags]    reachability
17     ${resp}    get request    ODL    ${NEUTRON_SUBNETS_API}
18     Should be Equal As Strings    ${resp.status_code}    200
19
20 Get the complete list of ports
21     [Documentation]    Get the complete list of ports
22     [Tags]    reachability
23     ${resp}    get request    ODL    ${NEUTRON_PORTS_API}
24     Should be Equal As Strings    ${resp.status_code}    200