summaryrefslogtreecommitdiffstats
path: root/testcases/Controllers/ODL/custom_tests/neutron/030__ports.robot
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/Controllers/ODL/custom_tests/neutron/030__ports.robot')
-rw-r--r--testcases/Controllers/ODL/custom_tests/neutron/030__ports.robot6
1 files changed, 2 insertions, 4 deletions
diff --git a/testcases/Controllers/ODL/custom_tests/neutron/030__ports.robot b/testcases/Controllers/ODL/custom_tests/neutron/030__ports.robot
index 384f607ab..17a469210 100644
--- a/testcases/Controllers/ODL/custom_tests/neutron/030__ports.robot
+++ b/testcases/Controllers/ODL/custom_tests/neutron/030__ports.robot
@@ -1,6 +1,6 @@
*** Settings ***
Documentation Checking Port 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 ports
${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 ports
[Documentation] Checking OpenDaylight Neutron API for known ports
[Tags] Ports 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 Port