Replace deprecated variables in suites/openflowplugin (1).
[integration/test.git] / csit / suites / openflowplugin / Flows_Stats_OF13 / 010__SM_add_upd_del_flows.robot
index 8ce8cb33dfa2ce4abe75beceaac8ce9ab54ae0de..ea715903e153f3db32f7168908601dc0b1684f03 100644 (file)
@@ -238,7 +238,7 @@ Check Config Flow Presence
     Should Be Equal    ${expected}    ${presence_flow}    msg=${msgf}
 
 Flow Presence Config Flow
-    ${headers}=    Create Dictionary    Accept    application/xml
+    ${headers}=    Create Dictionary    Accept=application/xml
     ${resp}=    RequestsLibrary.Get    session    /restconf/config/opendaylight-inventory:nodes/node/openflow:${switch_idx}/table/${table_id}/flow/${flow_id}    headers=${headers}
     Log    ${resp}
     Log    ${resp.content}
@@ -258,7 +258,7 @@ Check Operational Table Presence
     Should Be Equal    ${expected}    ${presence_table}    msg=${msgf}
 
 Flow Presence Operational Table
-    ${headers}=    Create Dictionary    Accept    application/xml
+    ${headers}=    Create Dictionary    Accept=application/xml
     ${resp}=    RequestsLibrary.Get    session    /restconf/operational/opendaylight-inventory:nodes/node/openflow:${switch_idx}/table/${table_id}    headers=${headers}
     Log    ${resp}
     Log    ${resp.content}
@@ -287,7 +287,7 @@ Delete All Flows
 
 Initialization Phase
     [Documentation]    Initiate tcp connection with controller
-    Create Session    session    http://${CONTROLLER}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS_XML}
+    Create Session    session    http://${ODL_SYSTEM_IP}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS_XML}
 
 Teardown Phase
     [Documentation]    Closes tcp connection with controller and removes flows