aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-03-30 10:47:57 -0700
committerGary Wu <gary.i.wu@huawei.com>2018-03-30 10:47:57 -0700
commit6f43c7acadcdec1b8ae0313aff64ce409afa02a4 (patch)
tree252b13ed88353194db7b49c0e0e74a21fb08a271
parent157f13c50159daf87ad544415b71ba6e1006f99d (diff)
Fix vLBCL AAI API call parameters
Change-Id: Iafc4370d0fd57232e170e1d6c8d6ce9af9c130d1 Issue-ID: INT-407 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
-rw-r--r--robot/resources/aai/service_instance.robot6
1 files changed, 3 insertions, 3 deletions
diff --git a/robot/resources/aai/service_instance.robot b/robot/resources/aai/service_instance.robot
index 8713313b..875067c4 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
- ${persona_model_id}= Get From Dictionary ${closedloop_vf_module} invariantUUID
- ${persona_model_version}= Get From Dictionary ${closedloop_vf_module} version
+ ${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} persona_model_id=${persona_model_id} persona_model_version=${persona_model_version}
+ ${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}