X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FVtnMaKeywords.robot;h=7869a1ba3052fb6ff5ee7d274436329fd2d71355;hb=e2c94012be3706110b79ccca3dcb5aceefacfbfb;hp=7df9ed6ee19875c527fd1e4a923c8ddec06c683f;hpb=7c5ffbd057659d846d7b8b13d8af0d0e9f5ae155;p=integration%2Ftest.git diff --git a/csit/libraries/VtnMaKeywords.robot b/csit/libraries/VtnMaKeywords.robot index 7df9ed6ee1..7869a1ba30 100644 --- a/csit/libraries/VtnMaKeywords.robot +++ b/csit/libraries/VtnMaKeywords.robot @@ -168,8 +168,9 @@ Stop PathSuiteVtnMaTest DataFlowsForBridge [Arguments] ${resp} @{BRIDGE_DATAFLOW} [Documentation] Verify whether the required attributes exists. - : FOR ${dataflowElement} IN @{BRIDGE_DATAFLOW} - \ should Contain ${resp.content} ${dataflowElement} + FOR ${dataflowElement} IN @{BRIDGE_DATAFLOW} + should Contain ${resp.text} ${dataflowElement} + END Add a pathmap [Arguments] ${pathmap_data} @@ -180,8 +181,9 @@ Add a pathmap Get a pathmap [Documentation] Get a pathmap for a vtn. ${resp}= RequestsLibrary.Get Request session restconf/operational/vtn-path-map:global-path-maps - : FOR ${pathElement} IN @{PATHMAP_ATTR} - \ should Contain ${resp.content} ${pathElement} + FOR ${pathElement} IN @{PATHMAP_ATTR} + should Contain ${resp.text} ${pathElement} + END Add a pathpolicy [Arguments] ${pathpolicy_data} @@ -193,8 +195,9 @@ Get a pathpolicy [Arguments] ${pathpolicy_id} [Documentation] Get a pathpolicy for a vtn. ${resp}= RequestsLibrary.Get Request session restconf/operational/vtn-path-policy:vtn-path-policies/vtn-path-policy/${pathpolicy_id} - : FOR ${pathpolicyElement} IN @{PATHPOLICY_ATTR} - \ should Contain ${resp.content} ${pathpolicyElement} + FOR ${pathpolicyElement} IN @{PATHPOLICY_ATTR} + should Contain ${resp.text} ${pathpolicyElement} + END Delete a pathmap [Arguments] ${tenant_path} @@ -375,8 +378,9 @@ Verify Actions on Flow Entry [Documentation] check flow action elements by giving dumpflows in mininet write ${dumpflows} ${result} Read Until mininet> - : FOR ${flowElement} IN @{flowfilter_actions} - \ should Contain ${result} ${flowElement} + FOR ${flowElement} IN @{flowfilter_actions} + should Contain ${result} ${flowElement} + END Add a flowcondition [Arguments] ${flowcond_name} ${flowconditiondata}