summaryrefslogtreecommitdiffstats
path: root/robot/resources/demo_preload.robot
diff options
context:
space:
mode:
authorDaniel Rose <dr695h@att.com>2018-04-19 17:40:01 +0000
committerGerrit Code Review <gerrit@onap.org>2018-04-19 17:40:01 +0000
commit3a0b317460e3a7a31e9b5afdbc002df676bb8c6b (patch)
treed02bc498defded62d5b07c203914c62ded7a5af2 /robot/resources/demo_preload.robot
parente546f7efd8cc3ad48a6a118293ea153391223fa8 (diff)
parent76bc74f47aaae4064f836b351074e3db07180c91 (diff)
Merge "Fix vFW Closed Loop robot test case"
Diffstat (limited to 'robot/resources/demo_preload.robot')
-rw-r--r--robot/resources/demo_preload.robot6
1 files changed, 6 insertions, 0 deletions
diff --git a/robot/resources/demo_preload.robot b/robot/resources/demo_preload.robot
index 406f8f0e..1a0e034b 100644
--- a/robot/resources/demo_preload.robot
+++ b/robot/resources/demo_preload.robot
@@ -98,6 +98,12 @@ Get Relationship Data
\ Return From Keyword If '${status}' == 'PASS' ${relationship_data}
+Get Generic VNF By ID
+ [Arguments] ${vnf_id}
+ ${resp}= Run A&AI Get Request ${AAI_INDEX PATH}/network/generic-vnfs/generic-vnf?vnf-id=${vnf_id}
+ Should Be Equal As Strings ${resp.status_code} 200
+ [Return] ${resp.json()}
+
Get Service Instance
[Arguments] ${vnf_name}
${resp}= Run A&AI Get Request ${AAI_INDEX PATH}/network/generic-vnfs/generic-vnf?vnf-name=${vnf_name}