blob: a6c6cb8fd2a37cddd79a5e0ee14800931ece7dd7 [file] [log] [blame]
jf986075010a42017-02-22 16:52:54 -05001*** Settings ***
2Documentation Executes the VNF Orchestration Test cases including setup and teardown
3...
Jerry Floodbe0fa8e2017-04-21 17:31:05 -04004Library Collections
Jerry Flood596db382017-10-27 08:37:37 -04005Library HTTPUtils
jf986075010a42017-02-22 16:52:54 -05006Resource ../resources/demo_preload.robot
7*** Variables ***
8
9${VNF_NAME} DemoVNF
10${MODULE_NAME} DemoModuleName
11
Jerry Flood596db382017-10-27 08:37:37 -040012${HB_STACK}
13${HB_SERVICE_INSTANCE_ID}
14${HB_SERVICE}
15
16
Jerry Flood36267292017-04-17 18:07:47 -040017*** Test Cases ***
jf986075010a42017-02-22 16:52:54 -050018Initialize Customer And Models
Jerry Flood36267292017-04-17 18:07:47 -040019 [Tags] InitDemo
20 Load Customer And Models Demonstration
jf986075010a42017-02-22 16:52:54 -050021
Jerry Floodbe0fa8e2017-04-21 17:31:05 -040022Initialize Customer
23 [Tags] InitCustomer
24 Load Customer Demonstration
25
26Initialize Models
27 [Tags] InitDistribution
28 Load Models Demonstration
29
jf986075010a42017-02-22 16:52:54 -050030Preload VNF
Jerry Flood36267292017-04-17 18:07:47 -040031 [Tags] PreloadDemo
Jerry Floodbe0fa8e2017-04-21 17:31:05 -040032 Preload User Model ${VNF_NAME} ${MODULE_NAME}
Jerry Flood36267292017-04-17 18:07:47 -040033
jf986075010a42017-02-22 16:52:54 -050034Create APPC Mount Point
Jerry Flood36267292017-04-17 18:07:47 -040035 [Tags] APPCMountPointDemo
36 APPC Mount Point ${MODULE_NAME}
jf986075010a42017-02-22 16:52:54 -050037
Jerry Flood36267292017-04-17 18:07:47 -040038Instantiate VFW
39 [Tags] instantiateVFW
Jerry Floodbe0fa8e2017-04-21 17:31:05 -040040 Instantiate VNF vFW
Jerry Flood36267292017-04-17 18:07:47 -040041
Brian Freeman6737be52018-07-19 17:07:31 -050042Instantiate VFWCL
43 [Tags] instantiateVFWCL
Brian Freemand65e2aa2018-07-26 11:13:46 -050044 Instantiate VNF vFWCL base_vpkg
Brian Freeman6737be52018-07-19 17:07:31 -050045
Brian Freemanca5e32e2018-07-23 12:47:21 -050046
Jerry Flood36267292017-04-17 18:07:47 -040047Delete Instantiated VNF
48 [Documentation] This test assumes all necessary variables are loaded via the variable file create in Save For Delete
Jerry Floodbe0fa8e2017-04-21 17:31:05 -040049 ... The Teardown VNF needs to be in the teardown step of the test case...
Jerry Flood36267292017-04-17 18:07:47 -040050 [Tags] deleteVNF
51 Setup Browser
52 Login To VID GUI
53 Delete VNF
54 [Teardown] Teardown VNF
55
Jerry Flood596db382017-10-27 08:37:37 -040056Run Heatbridge
57 [Documentation]
58 ... Try to run heatbridge
59 [Tags] heatbridge
Marco Plataniabf2a3ee2018-07-25 15:10:09 -040060 Execute Heatbridge ${HB_STACK} ${HB_SERVICE_INSTANCE_ID} ${HB_SERVICE} ${HB_IPV4_OAM_ADDRESS}
Jerry Flood596db382017-10-27 08:37:37 -040061
Aaron Hayc3f081d2018-08-05 13:01:17 -040062Preload APPC CDT GUI
63 [Documentation]
64 ... APPC CDT Preload Demo
65 [Tags] APPCCDTPreloadDemo
66 Setup Browser
67 Preload APPC CDT GUI
68# Preload APPC CDT GUI demo reference_AllAction_vLoadBalancer_vLoadBalancer-test0_0.0.1V.json ${EXECDIR}/robot/assets/templates/appc/reference_AllAction_vLoadBalancer_vLoadBalancer-test0_0.0.1V.json ${EXECDIR}/robot/assets/templates/appc/template_ConfigScaleOut_vLoadBalancer_vLoadBalancer-test0_0.0.1V_vLB.xml ${EXECDIR}/robot/assets/templates/appc/pd_ConfigScaleOut_vLoadBalancer_vLoadBalancer-test0_0.0.1V_vLB.yaml
69