Migrate bgpcep suites restconf calls to rfc8040
[integration/test.git] / csit / libraries / WorkflowsL2switch.robot
index 0ae972c8c364476836d474714cb0380bed52b6f0..ef71212b4d093936dbb60d507045d7870c6bbd13 100644 (file)
@@ -6,6 +6,9 @@ Resource          FlowLib.robot
 Resource          MininetKeywords.robot
 Resource          ../variables/Variables.robot
 
+*** Variables ***
+${log_level}      ERROR
+
 *** Keywords ***
 Workflow Single Switch Multiple Hosts
     [Arguments]    ${hosts}    ${sustain_time}=0
@@ -57,7 +60,7 @@ Workflow Single Switch Multiple Hosts
 
 Workflow Setup
     RequestsLibrary.Create Session    session    http://${ODL_SYSTEM_IP}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS_XML}
-    BuiltIn.Wait Until Keyword Succeeds    3x    1s    KarafKeywords.Issue Command On Karaf Console    log:set ERROR
+    BuiltIn.Wait Until Keyword Succeeds    3x    1s    KarafKeywords.Issue Command On Karaf Console    log:set ${log_level}
 
 Workflow Teardown
     [Documentation]    Cleanup when workflow is interrupt