X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fsuites%2Fopenflowplugin%2FMD_SAL_NSF_OF13%2F020_restconf_topology.robot;h=85023db7d58e4ece73e9b18e7b0688c08a8a611c;hb=refs%2Fchanges%2F82%2F90582%2F22;hp=9e4d8cd31572670b34c4dc0d8329f6bc90b7500a;hpb=c08b0daa07b26e37c6981c0f1f61c241d7ed8bf3;p=integration%2Ftest.git diff --git a/csit/suites/openflowplugin/MD_SAL_NSF_OF13/020_restconf_topology.robot b/csit/suites/openflowplugin/MD_SAL_NSF_OF13/020_restconf_topology.robot index 9e4d8cd315..85023db7d5 100644 --- a/csit/suites/openflowplugin/MD_SAL_NSF_OF13/020_restconf_topology.robot +++ b/csit/suites/openflowplugin/MD_SAL_NSF_OF13/020_restconf_topology.robot @@ -16,7 +16,7 @@ Get RESTCONF Topology [Documentation] Get RESTCONF Topology and validate the result. Wait Until Keyword Succeeds 10s 2s Check For Elements At URI ${OPERATIONAL_TOPO_API} ${node_list} ${resp} RequestsLibrary.Get Request session ${OPERATIONAL_TOPO_API} - Log ${resp.content} + Log ${resp.text} List all the links [Documentation] List all the links in the topology. @@ -83,12 +83,13 @@ Add Port Verify Links [Arguments] ${expected_links} ${resp} RequestsLibrary.Get Request session ${OPERATIONAL_TOPO_API}/topology/flow:1 - Log ${resp.content} + Log ${resp.text} Should Be Equal As Strings ${resp.status_code} 200 - ${result} To JSON ${resp.content} + ${result} To JSON ${resp.text} Log ${result} ${content} Get From Dictionary ${result} topology ${topology} Get From List ${content} 0 - ${link} Get From Dictionary ${topology} link - Sort List ${link} - Lists Should be Equal ${link} ${expected_links} + ${links} Get From Dictionary ${topology} link + FOR ${expected_link} IN @{expected_links} + Should Contain ${links} ${expected_link} + END