blob: e270c631130af7d9abdacc60bf2ba6adba5301ab [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
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 Freemanca5e32e2018-07-23 12:47:21 -050052
Jerry Flood36267292017-04-17 18:07:47 -040053Delete Instantiated VNF
54 [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 -040055 ... The Teardown VNF needs to be in the teardown step of the test case...
Jerry Flood36267292017-04-17 18:07:47 -040056 [Tags] deleteVNF
57 Setup Browser
58 Login To VID GUI
59 Delete VNF
60 [Teardown] Teardown VNF
61
Jerry Flood596db382017-10-27 08:37:37 -040062Run Heatbridge
63 [Documentation]
64 ... Try to run heatbridge
65 [Tags] heatbridge
Marco Plataniabf2a3ee2018-07-25 15:10:09 -040066 Execute Heatbridge ${HB_STACK} ${HB_SERVICE_INSTANCE_ID} ${HB_SERVICE} ${HB_IPV4_OAM_ADDRESS}
Jerry Flood596db382017-10-27 08:37:37 -040067
Aaron Hayc3f081d2018-08-05 13:01:17 -040068Preload APPC CDT GUI
69 [Documentation]
70 ... APPC CDT Preload Demo
71 [Tags] APPCCDTPreloadDemo
72 Setup Browser
73 Preload APPC CDT GUI
74# 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
75
Yang Xu2ec80382018-11-01 12:30:37 -040076Distribute vFWNG CDS Model
77 [Documentation] Distribute vFWNG for CDS
78 [Tags] DistributeVFWNG
79 [Timeout] 600
80 Model Distribution For Directory service=vFWNG cds=vfwng
81