cleaning up system variables
[integration/test.git] / csit / suites / didm / basic / 010_Didm.robot
index 49584053bcd40a86625e6d5a40b180a57bf76fc0..ef3a94e9370745efc4d0e2ecd882275e326a876b 100644 (file)
@@ -13,39 +13,31 @@ Library           Collections
 Library           OperatingSystem
 Library           RequestsLibrary
 Library           ../../../libraries/Common.py
-Resource           ../../../libraries/KarafKeywords.robot
-Resource           ../../../libraries/Utils.robot
+Resource          ../../../libraries/KarafKeywords.robot
+Resource          ../../../libraries/Utils.robot
 Variables         ../../../variables/Variables.py
 
 *** Variables ***
-
-${DIDM_ID}       "didm-identification:device-type"
-${DEVICE_TYPE}       "mininet-didm:mininet-device-type"
+${DIDM_ID}        "didm-identification:device-type"
+${DEVICE_TYPE}    "mininet-didm:mininet-device-type"
 
 *** Test Cases ***
-
 Verify Device Identification
     [Documentation]    Verification of Device type identification feature with device driver installed.
     [Tags]    DIDM
-    ${resp}    RequestsLibrary.Get    session    ${OPERATIONAL_NODES_API}
+    ${resp}    RequestsLibrary.Get Request    session    ${OPERATIONAL_NODES_API}
     Should Be Equal As Strings    ${resp.status_code}    200
     Should Contain    ${resp.content}    ${DIDM_ID}
     Should Contain    ${resp.content}    ${DEVICE_TYPE}
 
 *** Keywords ***
-
 Setup Didm Environment
     [Documentation]    Installing DIDM related features, mininet driver, hp3800 driver
-    ...  creating session to retrieve operational opendaylight inventory nodes
-    Install a Feature  odl-didm-identification-api
-    Install a Feature  odl-didm-identification
-    Install a Feature  odl-didm-drivers-api
-    Install a Feature  odl-didm-mininet
-    Install a Feature  odl-hp3800
+    ...    creating session to retrieve operational opendaylight inventory nodes
+    Install a Feature    odl-didm-identification-api
+    Install a Feature    odl-didm-identification
+    Install a Feature    odl-didm-drivers-api
+    Install a Feature    odl-didm-mininet
+    Install a Feature    odl-hp3800
     Start Suite
-    Create Session    session    http://${CONTROLLER}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS}
-
-
-
-
-
+    Create Session    session    http://${ODL_SYSTEM_IP}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS}