diff options
author | DR695H <dr695h@att.com> | 2019-09-16 13:21:47 -0400 |
---|---|---|
committer | Brian Freeman <bf1936@att.com> | 2019-09-17 14:40:35 +0000 |
commit | cccad65a0c963240df76dde1944c9e7da25cc4da (patch) | |
tree | 344f1423b8676e5a95aa221c7bfa323d24400f19 /robot/resources/test_templates | |
parent | 6d269fdcbcf374a273f7ac0b68559951ea336654 (diff) |
add needed import and move cds to common folder
Issue-ID: TEST-214
Change-Id: I7356bd28230adbdd7e56f6488000da71719469d8
Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/resources/test_templates')
-rw-r--r-- | robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot b/robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot index b8b753ee..21a07fc4 100644 --- a/robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot +++ b/robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot @@ -51,14 +51,16 @@ Orchestrate VNF With CDS ${lcp_region}= Get Openstack Region ${dict}= Create Dictionary Set To Dictionary ${dict} service_instance_name=${service_instance_name} - + Set To Dictionary ${dict} owning_entity=${owning_entity} + Set To Dictionary ${dict} owning_entity_id=67f2e84c-734d-4e90-a1e4-d2ffa2e75849 ${templatedata}= Template Yaml To Json ${service_template} ${jsondata}= Evaluate json.loads('''${templatedata}''') json Set To Dictionary ${dict} service_type=${jsondata['metadata']['type']} Set To Dictionary ${dict} service_model_name=${jsondata['metadata']['name']} Set To Dictionary ${dict} service_model_UUID=${jsondata['metadata']['UUID']} Set To Dictionary ${dict} service_model_invariantUUID=${jsondata['metadata']['invariantUUID']} - + Set To Dictionary ${dict} cloud_owner=${GLOBAL_AAI_CLOUD_OWNER} + Set To Dictionary ${dict} homing_solution=none ${envdata}= Env Yaml To Json ${env} ${envjson}= Evaluate json.loads('''${envdata}''') json Set To Dictionary ${dict} subscriber_id=${envjson['subscriber_id']} |