X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tools%2FRobot_Tool%2Fsuites%2Fbase%2Ftopology_manager.txt;h=2ce0569b710520fede54cbfbec8a93723a50913c;hb=0d4874becdf588ab44f8666ad6078926f3e3f1ee;hp=10566b33d76bb636143f9859bd18d5e94f51e32a;hpb=dcbc38233a9734d048d19e43bf7ccfd54fa38344;p=integration%2Ftest.git diff --git a/tools/Robot_Tool/suites/base/topology_manager.txt b/tools/Robot_Tool/suites/base/topology_manager.txt index 10566b33d7..2ce0569b71 100644 --- a/tools/Robot_Tool/suites/base/topology_manager.txt +++ b/tools/Robot_Tool/suites/base/topology_manager.txt @@ -15,9 +15,10 @@ ${REST_CONTEXT} /controller/nb/v2/topology Add a userlink [Documentation] Add a userlink, list to validate the result. [Tags] add - ${body} Create Dictionary name ${name} status Success srcNodeConnector - ... OF|1@OF|00:00:00:00:00:00:00:02 dstNodeConnector OF|1@OF|00:00:00:00:00:00:00:03 - ${headers} Create Dictionary Content-Type application/json + ${body} Create Dictionary name=${name} status=Success + ... srcNodeConnector=OF|1@OF|00:00:00:00:00:00:00:02 + ... dstNodeConnector=OF|1@OF|00:00:00:00:00:00:00:03 + ${headers} Create Dictionary Content-Type=application/json Create Session session http://${CONTROLLER}:8080 headers=${headers} auth=${auth} ${resp} Put session ${REST_CONTEXT}/${CONTAINER}/userLink/${name} data=${body} Should Be Equal As Strings ${resp.status_code} 201 Response status code error @@ -30,9 +31,10 @@ Add a userlink Remove a userlink [Documentation] Remove a userlink, list to validate the result. [Tags] remove - ${body} Create Dictionary name ${name} status Success srcNodeConnector - ... OF|1@OF|00:00:00:00:00:00:00:02 dstNodeConnector OF|1@OF|00:00:00:00:00:00:00:03 - ${headers} Create Dictionary Content-Type application/json + ${body} Create Dictionary name=${name} status=Success + ... srcNodeConnector=OF|1@OF|00:00:00:00:00:00:00:02 + ... dstNodeConnector=OF|1@OF|00:00:00:00:00:00:00:03 + ${headers} Create Dictionary Content-Type=application/json Create Session session http://${CONTROLLER}:8080 headers=${headers} auth=${auth} ${resp} Delete session ${REST_CONTEXT}/${CONTAINER}/userLink/${name} Should Be Equal As Strings ${resp.status_code} 204 Response status code error