Add log for REST response 19/33819/1
authorLuis Gomez <ecelgp@gmail.com>
Sat, 30 Jan 2016 21:33:07 +0000 (13:33 -0800)
committerLuis Gomez <ecelgp@gmail.com>
Sat, 30 Jan 2016 21:33:07 +0000 (13:33 -0800)
This is useful in case we get REST error status code.

Change-Id: I2235afbc0b0d51c56bceb52ce689822541f4cb5b
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
csit/libraries/OVSDB.robot

index 4aba2decf7e62d7975553c4afb1f5ab1df4acc35..8174fb97f03935eca68c4b5e9d0b818733b3600f 100644 (file)
@@ -74,6 +74,7 @@ Get OVSDB UUID
     ...    node-id stripped of "ovsdb://uuid/". If not found, ${EMPTY} will be returned.
     ${uuid}=    Set Variable    ${EMPTY}
     ${resp}=    RequestsLibrary.Get Request    ${controller_http_session}    ${OPERATIONAL_TOPO_API}/topology/ovsdb:1
+    Log    ${resp.content}
     Should Be Equal As Strings    ${resp.status_code}    200
     ${resp_json}=    To Json    ${resp.content}
     ${topologies}=    Get From Dictionary    ${resp_json}    topology