aboutsummaryrefslogtreecommitdiffstats
path: root/robot/testsuites
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2019-11-05 15:39:34 -0500
committerBrian Freeman <bf1936@att.com>2019-11-05 15:57:57 -0500
commit7fee2e6355c5fe80d177b603526d849adf4adfdf (patch)
tree499ed33ecf2a52fdfae2b9360c378c67294cb489 /robot/testsuites
parentbc98e3cf002b3013760fe45f376acb4c71d5163f (diff)
Fix VNF_API global variable
Issue-ID: INT-1345 Change-Id: I623fc3bc3de7eeb34a13e630f3234fd57cb341e5 Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'robot/testsuites')
-rw-r--r--robot/testsuites/demo.robot7
-rw-r--r--robot/testsuites/vnf-orchestration.robot4
2 files changed, 11 insertions, 0 deletions
diff --git a/robot/testsuites/demo.robot b/robot/testsuites/demo.robot
index 4278be15..c1877e71 100644
--- a/robot/testsuites/demo.robot
+++ b/robot/testsuites/demo.robot
@@ -24,6 +24,8 @@ ${CATALOG_RESOURCE_IDS}
${REVERSE_HEATBRIDGE}
${HB_VNF}
+${API_TYPE} VNF_API
+
*** Test Cases ***
Initialize Customer And Models
[Tags] InitDemo
@@ -49,6 +51,11 @@ Preload VNF
[Tags] PreloadDemo
Preload User Model ${VNF_NAME} ${MODULE_NAME} ${SERVICE} ${SERVICE_INSTANCE_ID}
+Preload VNF GRA
+ [Tags] PreloadDemoGRA
+ Set Global Variable ${API_TYPE} GRA_API
+ Preload User Model ${VNF_NAME} ${MODULE_NAME} ${SERVICE} ${SERVICE_INSTANCE_ID}
+
Create APPC Mount Point
[Tags] APPCMountPointDemo
APPC Mount Point ${MODULE_NAME}
diff --git a/robot/testsuites/vnf-orchestration.robot b/robot/testsuites/vnf-orchestration.robot
index 3e550313..8706f2e5 100644
--- a/robot/testsuites/vnf-orchestration.robot
+++ b/robot/testsuites/vnf-orchestration.robot
@@ -6,6 +6,10 @@ Resource ../resources/test_templates/vnf_orchestration_test_template.rob
Test Template Orchestrate VNF Template
+*** Variables ***
+${API_TYPE} VNF_API
+
+
*** Test Cases *** CUSTOMER SERVICE PRODUCT_FAMILY
Instantiate Virtual DNS ETE_Customer vLB vLB
[Tags] instantiate stability72hr stability72hrvLB