005b41000990bb2dd18532f2ca64c07ef9ac56e8
[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 Delete Instantiated VNF
47     [Documentation]   This test assumes all necessary variables are loaded via the variable file create in  Save For Delete
48     ...    The Teardown VNF needs to be in the teardown step of the test case...
49     [Tags]   deleteVNF
50     Setup Browser
51     Login To VID GUI
52     Delete VNF
53     [Teardown]   Teardown VNF
54
55 Run Heatbridge
56     [Documentation]
57     ...    Try to run heatbridge
58     [Tags]   heatbridge
59     Execute Heatbridge   ${HB_STACK}   ${HB_SERVICE_INSTANCE_ID}    ${HB_SERVICE}
60