Skip to content
Snippets Groups Projects
Commit 0513d64e authored by uihassan's avatar uihassan
Browse files

VNF Descriptors added for 7.3.1.12.2

parent 5521fdee
No related branches found
No related tags found
3 merge requests!199Merge "3.3.1 dev" into "release 3" master,!193Merge 2.7.1 dev into Master, for TST010ed271 publication,!145SOL003 - Implementation of additional test steps for checks against VNFD content in v2.7.1
......@@ -30,6 +30,7 @@ Get Individual VNF LCM Operation occurrences
Get Individual VNF LCM Operation occurrences
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is VnfLcmOpOcc
Check HTTP Response Body of Individual VNF LCM Operation occurrences content against VNF Descriptor
PUT Individual VNF LCM Operation occurrences - Method not implemented
[Documentation] Test ID: 7.3.1.12.3
......
......@@ -1244,4 +1244,22 @@ Get key for VNF Descriptor
Log ${key}
${check1}= Run Keyword And Return Status Should Be Equal As Strings ${topology_template.node_templates.${key}.type} tosca.nodes.nfv.VNF
Run Keyword If ${check1} Set Global Variable ${vnfKey} ${key}
END
\ No newline at end of file
END
Check HTTP Response Body of Individual VNF LCM Operation occurrences content against VNF Descriptor
Run Keyword If '${descriptorType}'=='SOL001' Parse SOL001 VNF LCM ELSE Parse SOL006 VNF LCM
Parse SOL001 Individual VNF LCM
Get key for VNF Descriptor
${descriptor_id}= Get Variable Value ${topology_template.node_templates.${vnfKey}.properties.descriptor_id}
${descriptor_version}= Get Variable Value ${topology_template.node_templates.${vnfKey}.properties.descriptor_version}
Should Be Equal As Strings ${response['body']['changedInfo']['vnfdId']} ${descriptor_id}
Should Be Equal As Strings ${response['body']['changedInfo']['vnfdVersion']} ${descriptor_version}
Parse SOL006 Individual VNF LCM
${descriptor_id}= Get Variable Value ${nfv.vnfd[0].id}
${descriptor_version}= Get Variable Value ${nfv.vnfd[0].version}
Should Be Equal As Strings ${response['body']['changedInfo']['vnfdId']} ${descriptor_id}
Should Be Equal As Strings ${response['body']['changedInfo']['vnfdVersion']} ${descriptor_version}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment