aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/demo_preload.robot
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2018-10-29 09:15:15 -0500
committerBrian Freeman <bf1936@att.com>2018-10-29 09:45:28 -0500
commitcc2623baa0b64da8d441ead586416807e3e16faa (patch)
tree500b7757e5c0d1fb616764c2876d12b1cf833f8e /robot/resources/demo_preload.robot
parent855a5a548be91923333ba15bf7c64ae8ae64db05 (diff)
Distribute Demo VNF from existing model
Firt version that uses a static file of the vnf-type and vf-module-id SDC query can be used to get these but that will be a second pass. Issue-ID: INT-704 Change-Id: Icf4571a0ad11d59f7985a253e55fcb5894a3e82f Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'robot/resources/demo_preload.robot')
-rw-r--r--robot/resources/demo_preload.robot15
1 files changed, 12 insertions, 3 deletions
diff --git a/robot/resources/demo_preload.robot b/robot/resources/demo_preload.robot
index ff7e9bf3..5b03a0b5 100644
--- a/robot/resources/demo_preload.robot
+++ b/robot/resources/demo_preload.robot
@@ -164,9 +164,18 @@ Instantiate VNF
Log to Console ModelInvariantID=${model_invariant_id}
${status} ${value}= Run Keyword And Ignore Error Update vVFWCL Policy ${model_invariant_id}
${status} ${value}= Run Keyword And Ignore Error APPC Mount Point ${vf_module_name}
-
-
-
+
+Instantiate Demo VNF
+ [Arguments] ${service} ${vf_module_label}=NULL
+ Setup Orchestrate VNF ${GLOBAL_AAI_CLOUD_OWNER} SharedNode OwnerType v1 CloudZone
+ ${vf_module_name} ${service}= Orchestrate Demo VNF Demonstration ${service} ${service} ${TENANT_NAME}
+ #Save For Delete
+ Log to Console Customer Name=${CUSTOMER_NAME}
+ Log to Console VNF Module Name=${vf_module_name}
+ ${model_invariant_id}= Run MSO Get ModelInvariantId ${SUITE_SERVICE_MODEL_NAME} ${vf_module_label}
+ Log to Console ModelInvariantID=${model_invariant_id}
+ ${status} ${value}= Run Keyword And Ignore Error Update vVFWCL Policy ${model_invariant_id}
+ ${status} ${value}= Run Keyword And Ignore Error APPC Mount Point ${vf_module_name}
Save For Delete