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}