blob: 1e9e8d4df38fc84c7d9a4d9e35cea848c14b173d [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}
DR695H910097e2019-05-08 13:55:32 -040016${HB_IPV4_OAM_ADDRESS}
Jerry Flood596db382017-10-27 08:37:37 -040017
18
Jerry Flood36267292017-04-17 18:07:47 -040019*** Test Cases ***
jf986075010a42017-02-22 16:52:54 -050020Initialize Customer And Models
Jerry Flood36267292017-04-17 18:07:47 -040021 [Tags] InitDemo
22 Load Customer And Models Demonstration
jf986075010a42017-02-22 16:52:54 -050023
Jerry Floodbe0fa8e2017-04-21 17:31:05 -040024Initialize Customer
25 [Tags] InitCustomer
26 Load Customer Demonstration
Brian Freemane52bf122018-11-12 11:36:58 -050027 Load Customer SDN-ETHERNET-INTERNET
Jerry Floodbe0fa8e2017-04-21 17:31:05 -040028
29Initialize Models
30 [Tags] InitDistribution
31 Load Models Demonstration
32
jf986075010a42017-02-22 16:52:54 -050033Preload VNF
Jerry Flood36267292017-04-17 18:07:47 -040034 [Tags] PreloadDemo
Jerry Floodbe0fa8e2017-04-21 17:31:05 -040035 Preload User Model ${VNF_NAME} ${MODULE_NAME}
Jerry Flood36267292017-04-17 18:07:47 -040036
jf986075010a42017-02-22 16:52:54 -050037Create APPC Mount Point
Jerry Flood36267292017-04-17 18:07:47 -040038 [Tags] APPCMountPointDemo
39 APPC Mount Point ${MODULE_NAME}
jf986075010a42017-02-22 16:52:54 -050040
Jerry Flood36267292017-04-17 18:07:47 -040041Instantiate VFW
42 [Tags] instantiateVFW
Brian Freemaneea42d42018-10-25 07:41:54 -050043 Instantiate VNF vFW base_vfw
Jerry Flood36267292017-04-17 18:07:47 -040044
Brian Freemancc2623b2018-10-29 09:15:15 -050045Instantiate Demo VFWCL
46 [Tags] instantiateDemoVFWCL
47 Instantiate Demo VNF vFWCL base_vpkg
48
Brian Freeman6737be52018-07-19 17:07:31 -050049Instantiate VFWCL
50 [Tags] instantiateVFWCL
Brian Freemand65e2aa2018-07-26 11:13:46 -050051 Instantiate VNF vFWCL base_vpkg
Brian Freeman6737be52018-07-19 17:07:31 -050052
Brian Freemanee02b312019-02-04 20:36:08 -050053Instantiate VFWDT
54 [Tags] instantiateVFWDT
55 Instantiate VNF vFWDT base_vpkg
56
Brian Freemanca5e32e2018-07-23 12:47:21 -050057
Jerry Flood36267292017-04-17 18:07:47 -040058Delete Instantiated VNF
59 [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 -040060 ... The Teardown VNF needs to be in the teardown step of the test case...
Jerry Flood36267292017-04-17 18:07:47 -040061 [Tags] deleteVNF
62 Setup Browser
63 Login To VID GUI
64 Delete VNF
65 [Teardown] Teardown VNF
66
Jerry Flood596db382017-10-27 08:37:37 -040067Run Heatbridge
68 [Documentation]
69 ... Try to run heatbridge
70 [Tags] heatbridge
Marco Plataniabf2a3ee2018-07-25 15:10:09 -040071 Execute Heatbridge ${HB_STACK} ${HB_SERVICE_INSTANCE_ID} ${HB_SERVICE} ${HB_IPV4_OAM_ADDRESS}
Jerry Flood596db382017-10-27 08:37:37 -040072
Aaron Hayc3f081d2018-08-05 13:01:17 -040073Preload APPC CDT GUI
74 [Documentation]
75 ... APPC CDT Preload Demo
76 [Tags] APPCCDTPreloadDemo
77 Setup Browser
78 Preload APPC CDT GUI
79# 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
80
Yang Xu2ec80382018-11-01 12:30:37 -040081Distribute vFWNG CDS Model
82 [Documentation] Distribute vFWNG for CDS
83 [Tags] DistributeVFWNG
84 [Timeout] 600
85 Model Distribution For Directory service=vFWNG cds=vfwng
86
Brian Freemanee02b312019-02-04 20:36:08 -050087Distribute Demo vFWDT Model
88 [Documentation] Distribute Demo vFWDT (does not delete model after distribution)
89 [Tags] DistributeDemoVFWDT
90 [Timeout] 600
91 Model Distribution For Directory service=vFWDT
92