blob: 412c9cd1d2e134d8abfe860f0f1f0be9725898b9 [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
jf986075010a42017-02-22 16:52:54 -05005Resource ../resources/demo_preload.robot
Yang Xu2ec80382018-11-01 12:30:37 -04006Resource ../resources/asdc_interface.robot
jf986075010a42017-02-22 16:52:54 -05007*** 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}
DR695H910097e2019-05-08 13:55:32 -040015${HB_IPV4_OAM_ADDRESS}
Jerry Flood596db382017-10-27 08:37:37 -040016
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
Brian Freemane52bf122018-11-12 11:36:58 -050026 Load Customer SDN-ETHERNET-INTERNET
Jerry Floodbe0fa8e2017-04-21 17:31:05 -040027
28Initialize Models
29 [Tags] InitDistribution
30 Load Models Demonstration
31
jf986075010a42017-02-22 16:52:54 -050032Preload VNF
Jerry Flood36267292017-04-17 18:07:47 -040033 [Tags] PreloadDemo
Jerry Floodbe0fa8e2017-04-21 17:31:05 -040034 Preload User Model ${VNF_NAME} ${MODULE_NAME}
Jerry Flood36267292017-04-17 18:07:47 -040035
jf986075010a42017-02-22 16:52:54 -050036Create APPC Mount Point
Jerry Flood36267292017-04-17 18:07:47 -040037 [Tags] APPCMountPointDemo
38 APPC Mount Point ${MODULE_NAME}
jf986075010a42017-02-22 16:52:54 -050039
Jerry Flood36267292017-04-17 18:07:47 -040040Instantiate VFW
41 [Tags] instantiateVFW
Brian Freemaneea42d42018-10-25 07:41:54 -050042 Instantiate VNF vFW base_vfw
Jerry Flood36267292017-04-17 18:07:47 -040043
Brian Freemancc2623b2018-10-29 09:15:15 -050044Instantiate Demo VFWCL
45 [Tags] instantiateDemoVFWCL
46 Instantiate Demo VNF vFWCL base_vpkg
47
Brian Freeman6737be52018-07-19 17:07:31 -050048Instantiate VFWCL
49 [Tags] instantiateVFWCL
Brian Freemand65e2aa2018-07-26 11:13:46 -050050 Instantiate VNF vFWCL base_vpkg
Brian Freeman6737be52018-07-19 17:07:31 -050051
Brian Freemanee02b312019-02-04 20:36:08 -050052Instantiate VFWDT
53 [Tags] instantiateVFWDT
54 Instantiate VNF vFWDT base_vpkg
55
Brian Freemanca5e32e2018-07-23 12:47:21 -050056
Jerry Flood36267292017-04-17 18:07:47 -040057Delete Instantiated VNF
58 [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 -040059 ... The Teardown VNF needs to be in the teardown step of the test case...
Jerry Flood36267292017-04-17 18:07:47 -040060 [Tags] deleteVNF
61 Setup Browser
62 Login To VID GUI
63 Delete VNF
64 [Teardown] Teardown VNF
65
Jerry Flood596db382017-10-27 08:37:37 -040066Run Heatbridge
67 [Documentation]
68 ... Try to run heatbridge
69 [Tags] heatbridge
Marco Plataniabf2a3ee2018-07-25 15:10:09 -040070 Execute Heatbridge ${HB_STACK} ${HB_SERVICE_INSTANCE_ID} ${HB_SERVICE} ${HB_IPV4_OAM_ADDRESS}
Jerry Flood596db382017-10-27 08:37:37 -040071
Aaron Hayc3f081d2018-08-05 13:01:17 -040072Preload APPC CDT GUI
73 [Documentation]
74 ... APPC CDT Preload Demo
75 [Tags] APPCCDTPreloadDemo
76 Setup Browser
77 Preload APPC CDT GUI
78# 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
79
Yang Xu2ec80382018-11-01 12:30:37 -040080Distribute vFWNG CDS Model
81 [Documentation] Distribute vFWNG for CDS
82 [Tags] DistributeVFWNG
83 [Timeout] 600
84 Model Distribution For Directory service=vFWNG cds=vfwng
85
Brian Freemanee02b312019-02-04 20:36:08 -050086Distribute Demo vFWDT Model
87 [Documentation] Distribute Demo vFWDT (does not delete model after distribution)
88 [Tags] DistributeDemoVFWDT
89 [Timeout] 600
90 Model Distribution For Directory service=vFWDT
91