First Pass Automated vFW control setup
[testsuite.git] / robot / testsuites / demo.robot
1 *** Settings ***
2 Documentation     Executes the VNF Orchestration Test cases including setup and teardown
3 ...
4 Library   Collections
5 Library    HTTPUtils
6 Resource         ../resources/demo_preload.robot
7 *** Variables ***
8
9 ${VNF_NAME}       DemoVNF
10 ${MODULE_NAME}    DemoModuleName
11
12 ${HB_STACK}
13 ${HB_SERVICE_INSTANCE_ID}
14 ${HB_SERVICE}
15
16
17 *** Test Cases ***
18 Initialize Customer And Models
19     [Tags]   InitDemo
20     Load Customer And Models   Demonstration
21
22 Initialize Customer
23     [Tags]   InitCustomer
24     Load Customer   Demonstration
25
26 Initialize Models
27     [Tags]   InitDistribution
28     Load Models   Demonstration
29
30 Preload VNF
31     [Tags]   PreloadDemo
32     Preload User Model   ${VNF_NAME}   ${MODULE_NAME}
33
34 Create APPC Mount Point
35     [Tags]   APPCMountPointDemo
36     APPC Mount Point    ${MODULE_NAME}
37
38 Instantiate VFW
39     [Tags]   instantiateVFW
40     Instantiate VNF   vFW
41
42 Instantiate VFWCL
43     [Tags]   instantiateVFWCL
44     Instantiate VNF   vFWCL
45
46
47 Delete Instantiated VNF
48     [Documentation]   This test assumes all necessary variables are loaded via the variable file create in  Save For Delete
49     ...    The Teardown VNF needs to be in the teardown step of the test case...
50     [Tags]   deleteVNF
51     Setup Browser
52     Login To VID GUI
53     Delete VNF
54     [Teardown]   Teardown VNF
55
56 Run Heatbridge
57     [Documentation]
58     ...    Try to run heatbridge
59     [Tags]   heatbridge
60     Execute Heatbridge   ${HB_STACK}   ${HB_SERVICE_INSTANCE_ID}    ${HB_SERVICE}
61