diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2016-06-28 15:43:44 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2016-06-28 15:51:51 +0200 |
commit | 0fbe33b58e8b2ef9ffc7c44d57e97424f4fa0431 (patch) | |
tree | 0928cf87163db7dac22cbe8a36f432dc9c7d747d /testcases/Controllers/ODL/custom_tests/neutron/020__subnets.robot | |
parent | a0f23ff8022734786f1f411974da9c8973a72450 (diff) |
Switch to ODL_SYSTEM_IP and OPENSTACK vars
It follows the last updates of ODL's robotframework files [1].
Useless Set Suite Variable calls are also removed.
[1] https://git.opendaylight.org/gerrit/#/c/36569/
Change-Id: I98ec20ded7978cd56e6de6b62bce04b8c6ba1e9a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'testcases/Controllers/ODL/custom_tests/neutron/020__subnets.robot')
-rw-r--r-- | testcases/Controllers/ODL/custom_tests/neutron/020__subnets.robot | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/testcases/Controllers/ODL/custom_tests/neutron/020__subnets.robot b/testcases/Controllers/ODL/custom_tests/neutron/020__subnets.robot index 2d093236..fa7c1e67 100644 --- a/testcases/Controllers/ODL/custom_tests/neutron/020__subnets.robot +++ b/testcases/Controllers/ODL/custom_tests/neutron/020__subnets.robot @@ -1,6 +1,6 @@ *** Settings *** Documentation Checking Subnets created in OpenStack are pushed to OpenDaylight -Suite Setup Create Session OSSession http://${NEUTRON}:9696 headers=${X-AUTH} +Suite Setup Create Session OSSession http://${OPENSTACK}:9696 headers=${X-AUTH} Suite Teardown Delete All Sessions Library Collections Library RequestsLibrary @@ -19,17 +19,15 @@ Check OpenStack Subnets ${resp} get request OSSession ${OSREST} Should be Equal As Strings ${resp.status_code} 200 ${OSResult} To Json ${resp.content} - Set Suite Variable ${OSResult} Log ${OSResult} Check OpenDaylight subnets [Documentation] Checking OpenDaylight Neutron API for known subnets [Tags] Subnets Neutron OpenDaylight - Create Session ODLSession http://${CONTROLLER}:${PORT} headers=${HEADERS} auth=${AUTH} + Create Session ODLSession http://${ODL_SYSTEM_IP}:${PORT} headers=${HEADERS} auth=${AUTH} ${resp} get request ODLSession ${ODLREST} Should be Equal As Strings ${resp.status_code} 200 ${ODLResult} To Json ${resp.content} - Set Suite Variable ${ODLResult} Log ${ODLResult} Create New subnet |