Move 'Create Dictionary' calls from tab format to '=' format
[integration/test.git] / tools / Robot_Tool / suites / base / forwarding_manager.txt
index 4ec35fb522aa40ce8c011ae1c9b84935212c74b6..b22e81a128a344276b06ccffd5baa3081effe49b 100644 (file)
@@ -15,9 +15,8 @@ ${REST_CONTEXT}    /controller/nb/v2/staticroute
 Add a static route
     [Documentation]    Add a static route, list to validate the result.
     [Tags]    add
-    ${body}    Create Dictionary    name    ${name}    prefix    192.168.1.0/24    nextHop
-    ...    10.0.0.2
-    ${headers}    Create Dictionary    Content-Type    application/json
+    ${body}    Create Dictionary    name=${name}    prefix=192.168.1.0/24    nextHop=10.0.0.2
+    ${headers}    Create Dictionary    Content-Type=application/json
     Create Session    session    http://${CONTROLLER}:8080    headers=${headers}    auth=${auth}
     ${resp}    Put    session    ${REST_CONTEXT}/${CONTAINER}/route/${name}    data=${body}
     Should Be Equal As Strings    ${resp.status_code}    201    Response status code error
@@ -30,9 +29,8 @@ Add a static route
 Remove a subnet
     [Documentation]    Remove a subnet, list to validate the result.
     [Tags]    remove
-    ${body}    Create Dictionary    name    ${name}    prefix    192.168.1.0/24    nextHop
-    ...    10.0.0.2
-    ${headers}    Create Dictionary    Content-Type    application/json
+    ${body}    Create Dictionary    name=${name}    prefix=192.168.1.0/24    nextHop=10.0.0.2
+    ${headers}    Create Dictionary    Content-Type=application/json
     Create Session    session    http://${CONTROLLER}:8080    headers=${headers}    auth=${auth}
     ${resp}    Delete    session    ${REST_CONTEXT}/${CONTAINER}/route/${name}
     Should Be Equal As Strings    ${resp.status_code}    204    Response status code error