summaryrefslogtreecommitdiffstats
path: root/testcases/Controllers/ODL/custom_tests/neutron/020__subnets.robot
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-06-28 14:49:19 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-06-28 14:49:19 +0000
commit130111453725c2155dce0be8ebdd210fa2aa2dff (patch)
tree003cc87fe6e96f1113a30bb505f772adcda9d9e2 /testcases/Controllers/ODL/custom_tests/neutron/020__subnets.robot
parentb27154b2f82eb94a2ccf514a94562ce5c7d7935e (diff)
parent0fbe33b58e8b2ef9ffc7c44d57e97424f4fa0431 (diff)
Merge "Switch to ODL_SYSTEM_IP and OPENSTACK vars"
Diffstat (limited to 'testcases/Controllers/ODL/custom_tests/neutron/020__subnets.robot')
-rw-r--r--testcases/Controllers/ODL/custom_tests/neutron/020__subnets.robot6
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 2d0932366..fa7c1e679 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