diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2018-03-30 15:29:13 -0700 |
---|---|---|
committer | Gary Wu <gary.i.wu@huawei.com> | 2018-03-30 15:29:13 -0700 |
commit | ab7a67bb4a2fa3bc49cfcdfdcd3e869309924466 (patch) | |
tree | f979fe813984839a38d4ab1ca902cad9d687f8d3 | |
parent | 847429642e3c198cce44f44838a376232b726963 (diff) |
Fix vLBCL AAI API call parametersamsterdam
Change-Id: I19ade9e02a9088f509620e43e1f241a1900cfb71
Issue-ID: INT-407
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
-rw-r--r-- | robot/assets/templates/aai/vlb_closed_loop_hack.template | 4 | ||||
-rw-r--r-- | robot/resources/aai/service_instance.robot | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/robot/assets/templates/aai/vlb_closed_loop_hack.template b/robot/assets/templates/aai/vlb_closed_loop_hack.template index 8bee7867..9103e3c4 100644 --- a/robot/assets/templates/aai/vlb_closed_loop_hack.template +++ b/robot/assets/templates/aai/vlb_closed_loop_hack.template @@ -1,7 +1,7 @@ { "is-base-vf-module": false, - "model-invariant-id": "${model-invariant-id}", - "model-version-id": "${model-version-id}", + "model-invariant-id": "${model_invariant_id}", + "model-version-id": "${model_version_id}", "vf-module-id": "${vf_module_id}", "vf-module-name": "${vf_module_id}" } diff --git a/robot/resources/aai/service_instance.robot b/robot/resources/aai/service_instance.robot index 875067c4..1b8b0eba 100644 --- a/robot/resources/aai/service_instance.robot +++ b/robot/resources/aai/service_instance.robot @@ -62,10 +62,10 @@ VLB Closed Loop Hack ${vf_modules}= Get From Dictionary ${generic_vnf} vf-modules ${list}= Get From Dictionary ${vf_modules} vf-module ${vfmodule}= Get From List ${list} 0 - ${model-invariant-id}= Get From Dictionary ${closedloop_vf_module} invariantUUID - ${model-version-id}= Get From Dictionary ${closedloop_vf_module} groupUUID + ${model_invariant_id}= Get From Dictionary ${closedloop_vf_module} invariantUUID + ${model_version_id}= Get From Dictionary ${closedloop_vf_module} groupUUID ${dummy}= Catenate dummy_${vnf_id} - ${dict}= Create Dictionary vnf_id=${vnf_id} vf_module_id=${dummy} model-invariant-id=${model-invariant-id} model-version-id=${model-version-id} + ${dict}= Create Dictionary vnf_id=${vnf_id} vf_module_id=${dummy} model_invariant_id=${model_invariant_id} model_version_id=${model_version_id} ${datapath}= Template String ${GENERIC_VNF_PATH_TEMPLATE} ${dict} ${data}= Fill JSON Template File ${VLB_CLOSED_LOOP_HACK_BODY} ${dict} ${put_resp}= Run A&AI Put Request ${INDEX PATH}${datapath} ${data} |