Replace deprecated variables in suites/openflowplugin (1).
[integration/test.git] / csit / suites / openflowplugin / Longevity / 010__longevity_switches.robot
index 2de30ddd657e740e70518ce74904df044abb48fe..b17dedde9caf223610b2f2fe3c7fe83d2907d7f1 100644 (file)
@@ -36,8 +36,8 @@ Check If There Is A Reason To Exit Test Or If Duration Has Expired
     ...    indicate if the requested duration of the longevity test has elapsed. The caller does not have to use
     ...    that return value.
     Should Be Equal    ${comparator1}    ${comparator2}    ${comparator_failure_message}
-    Verify Controller Is Not Dead    ${CONTROLLER}
-    Verify Controller Has No Null Pointer Exceptions    ${CONTROLLER}
+    Verify Controller Is Not Dead    ${ODL_SYSTEM_IP}
+    Verify Controller Has No Null Pointer Exceptions    ${ODL_SYSTEM_IP}
     ${is_expired}=    Check If Test Duration Is Expired
     [Return]    ${is_expired}
 
@@ -53,7 +53,7 @@ Check If Test Duration Is Expired
 Longevity Suite Setup
     [Documentation]    In addtion to opening the REST session to the controller, the ${end_time} that this
     ...    test should not exceed is calculated and made in to a suite wide variable.
-    Create Session    session    http://${CONTROLLER}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS_XML}
+    Create Session    session    http://${ODL_SYSTEM_IP}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS_XML}
     ${start_time}=    Get Current Date
     ${end_time}=    Add Time To Date    ${start_time}    ${TEST_LENGTH}
     ${end_time}=    Convert Date    ${end_time}    epoch