blob: 54129a3bb674379138f5922038494a5d5061ecd8 [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
Yang Xu2ec80382018-11-01 12:30:37 -04007Resource ../resources/asdc_interface.robot
jf986075010a42017-02-22 16:52:54 -05008*** Variables ***
9
10${VNF_NAME} DemoVNF
11${MODULE_NAME} DemoModuleName
12
Jerry Flood596db382017-10-27 08:37:37 -040013${HB_STACK}
14${HB_SERVICE_INSTANCE_ID}
15${HB_SERVICE}
16
17
Jerry Flood36267292017-04-17 18:07:47 -040018*** Test Cases ***
jf986075010a42017-02-22 16:52:54 -050019Initialize Customer And Models
Jerry Flood36267292017-04-17 18:07:47 -040020 [Tags] InitDemo
21 Load Customer And Models Demonstration
jf986075010a42017-02-22 16:52:54 -050022
Jerry Floodbe0fa8e2017-04-21 17:31:05 -040023Initialize Customer
24 [Tags] InitCustomer
25 Load Customer Demonstration
26
27Initialize Models
28 [Tags] InitDistribution
29 Load Models Demonstration
30
jf986075010a42017-02-22 16:52:54 -050031Preload VNF
Jerry Flood36267292017-04-17 18:07:47 -040032 [Tags] PreloadDemo
Jerry Floodbe0fa8e2017-04-21 17:31:05 -040033 Preload User Model ${VNF_NAME} ${MODULE_NAME}
Jerry Flood36267292017-04-17 18:07:47 -040034
jf986075010a42017-02-22 16:52:54 -050035Create APPC Mount Point
Jerry Flood36267292017-04-17 18:07:47 -040036 [Tags] APPCMountPointDemo
37 APPC Mount Point ${MODULE_NAME}
jf986075010a42017-02-22 16:52:54 -050038
Jerry Flood36267292017-04-17 18:07:47 -040039Instantiate VFW
40 [Tags] instantiateVFW
Brian Freemaneea42d42018-10-25 07:41:54 -050041 Instantiate VNF vFW base_vfw
Jerry Flood36267292017-04-17 18:07:47 -040042
Brian Freemancc2623b2018-10-29 09:15:15 -050043Instantiate Demo VFWCL
44 [Tags] instantiateDemoVFWCL
45 Instantiate Demo VNF vFWCL base_vpkg
46
Brian Freeman6737be52018-07-19 17:07:31 -050047Instantiate VFWCL
48 [Tags] instantiateVFWCL
Brian Freemand65e2aa2018-07-26 11:13:46 -050049 Instantiate VNF vFWCL base_vpkg
Brian Freeman6737be52018-07-19 17:07:31 -050050
Brian Freemanca5e32e2018-07-23 12:47:21 -050051
Jerry Flood36267292017-04-17 18:07:47 -040052Delete Instantiated VNF
53 [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 -040054 ... The Teardown VNF needs to be in the teardown step of the test case...
Jerry Flood36267292017-04-17 18:07:47 -040055 [Tags] deleteVNF
56 Setup Browser
57 Login To VID GUI
58 Delete VNF
59 [Teardown] Teardown VNF
60
Jerry Flood596db382017-10-27 08:37:37 -040061Run Heatbridge
62 [Documentation]
63 ... Try to run heatbridge
64 [Tags] heatbridge
Marco Plataniabf2a3ee2018-07-25 15:10:09 -040065 Execute Heatbridge ${HB_STACK} ${HB_SERVICE_INSTANCE_ID} ${HB_SERVICE} ${HB_IPV4_OAM_ADDRESS}
Jerry Flood596db382017-10-27 08:37:37 -040066
Aaron Hayc3f081d2018-08-05 13:01:17 -040067Preload APPC CDT GUI
68 [Documentation]
69 ... APPC CDT Preload Demo
70 [Tags] APPCCDTPreloadDemo
71 Setup Browser
72 Preload APPC CDT GUI
73# 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
74
Yang Xu2ec80382018-11-01 12:30:37 -040075Distribute vFWNG CDS Model
76 [Documentation] Distribute vFWNG for CDS
77 [Tags] DistributeVFWNG
78 [Timeout] 600
79 Model Distribution For Directory service=vFWNG cds=vfwng
80