diff options
author | Jerry Flood <jf9860@att.com> | 2017-12-09 16:20:42 -0500 |
---|---|---|
committer | Jerry Flood <jf9860@att.com> | 2017-12-09 16:20:59 -0500 |
commit | 19345a71787aa318c05a4aa04c1abb014ad37704 (patch) | |
tree | e29fbef81b6f4caebc5c6434575b4652c8855f73 /robot/resources/sdngc_interface.robot | |
parent | b74b2d957d09b15ea75b3ddccc84293a26c213bb (diff) |
Implement VFW policy update for demo.sh (trial)
Issue-ID: TEST-72
Change-Id: I16eb3eee84dfef6dde430e4ed73b4cbcc0059757
Signed-off-by: Jerry Flood <jf9860@att.com>
Diffstat (limited to 'robot/resources/sdngc_interface.robot')
-rw-r--r-- | robot/resources/sdngc_interface.robot | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/robot/resources/sdngc_interface.robot b/robot/resources/sdngc_interface.robot index c4dadc2d..794c0772 100644 --- a/robot/resources/sdngc_interface.robot +++ b/robot/resources/sdngc_interface.robot @@ -122,7 +122,8 @@ Preload One Vnf Topology [Arguments] ${service_type_uuid} ${generic_vnf_name} ${generic_vnf_type} ${vf_module_name} ${vf_module_type} ${service} ${filename} ${uuid} ${servers} Return From Keyword If '${filename}' == '' ${data_template}= OperatingSystem.Get File ${PRELOAD_VNF_TOPOLOGY_OPERATION_BODY}/preload.template - ${robot_values}= Create Dictionary generic_vnf_name=${generic_vnf_name} generic_vnf_type=${generic_vnf_type} service_type=${service_type_uuid} vf_module_name=${vf_module_name} vf_module_type=${vf_module_type} + ${pub_key}= OperatingSystem.Get File ${GLOBAL_VM_PUBLIC_KEY} + ${robot_values}= Create Dictionary pub_key=${pub_key} generic_vnf_name=${generic_vnf_name} generic_vnf_type=${generic_vnf_type} service_type=${service_type_uuid} vf_module_name=${vf_module_name} vf_module_type=${vf_module_type} ${parameters}= Get Template Parameters ${filename} ${uuid} ${servers} ${robot_values} ${data}= Fill JSON Template ${data_template} ${parameters} ${put_resp}= Run SDNGC Post Request ${SDNGC_INDEX_PATH}${PRELOAD_VNF_TOPOLOGY_OPERATION_PATH} ${data} @@ -146,7 +147,7 @@ Get Template Parameters :for ${key} in @{robot_keys} \ ${value}= Get From Dictionary ${robot_values} ${key} \ Set To Dictionary ${valuemap} ${key} ${value} - + # These should be deprecated by the above.... Set To Dictionary ${valuemap} artifacts_version=${GLOBAL_INJECTED_ARTIFACTS_VERSION} Set To Dictionary ${valuemap} network=${GLOBAL_INJECTED_NETWORK} |