aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-impl/src/test/resources/org/openecomp/validation/validators/heat_validator/generated_artifact_exist/negative_test/input/base_vIECCF_volume.yml
blob: b21379b47da818dd8310c6fdc81c1d2fabf63398 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
heat_template_version: 2014-10-16

description: Volume creation template for vCCF

## Note: Nokia Volume HOT file for vCCF
## Copyright: Nokia 2016
## Name: "base_vIECCF_volume.yml"
## Date: 20 Dec 2016
## Juno Version
## Version History
##  12/20/2016 
##      - Initial version for IECCF R30.3.3
##  01/06/2017
##      - Updated vCCF package to address removal of shared volume for IO VMs
##  01/19/2017
##      - Updated vCCF package to address ICE feedback reviewed on 1/13/2017
##      - Updated to remove Nokia related values and match AT&T environment
##  02/17/2017
##      - Updated vCCF package from Nokia
##  06/23/2017
##      - Updated vCCF package from Nokia to add output parameter for OAM IP address
##  07/05/2017
##      - Modified servicedata2 and app volume sizes to include space for eccfdata and incoming4cdrsch
##  11/16/2017
##      - Nokia update to replace ':' in VIP port names with '_'
##  01/08/2018
##      - Address AAP issue
##  06/06/2018
##      - Nokia update to the template package for CR418 (internal security group creation in the template)
##      - Includes updates to comply with the 1Q2018 AT&T Heat guidelines


parameters:
    vnf_name:
        type: string
        description: Unique name for this VF instance
        
    plt_servicedata1_volume_size_0:
        type: number
        description: Size of Service Data 1 Volume for plt VMs
        constraints:
          - range: { min: 1, max: 9999 }
            description: "Must be between 1 and 9999 GB"
            
    plt_servicedata2_volume_size_0:
        type: number
        description: Size of Service Data 2 Volume for plt VMs
        constraints:
          - range: { min: 1, max: 9999 }
            description: "Must be between 1 and 9999 GB"
            
    app_volume_size_0: 
        type: number
        description: Size of Service Data 1 Volume for app VMs
        constraints:
          - range: { min: 1, max: 9999 }
            description: "Must be between 1 and 9999 GB"

resources:
    plt_volume_2:
        type: OS::Cinder::Volume
        properties:
            size: { get_param: plt_servicedata2_volume_size_0 }
            name: 
                str_replace:
                    template: $vnf_name-plt_volume_2
                    params:
                        $vnf_name:
                            get_param: vnf_name

    plt_volume_0:
        type: OS::Cinder::Volume
        properties:
            size: { get_param: plt_servicedata1_volume_size_0 }
            name: 
                str_replace:
                    template: $vnf_name-plt_volume_0
                    params:
                        $vnf_name:
                            get_param: vnf_name

    plt_volume_1:
        type: OS::Cinder::Volume
        properties:
            size: { get_param: plt_servicedata1_volume_size_0 }
            name: 
                str_replace:
                    template: $vnf_name-plt_volume_1
                    params:
                        $vnf_name:
                            get_param: vnf_name

    app_volume_0:
        type: OS::Cinder::Volume
        properties:
            size: { get_param: app_volume_size_0 }
            name: 
                str_replace:
                    template: $vnf_name-app_volume_0
                    params:
                        $vnf_name:
                            get_param: vnf_name

    app_volume_1:
        type: OS::Cinder::Volume
        properties:
            size: { get_param: app_volume_size_0 }
            name: 
                str_replace:
                    template: $vnf_name-app_volume_1
                    params:
                        $vnf_name:
                            get_param: vnf_name

    app_volume_2:
        type: OS::Cinder::Volume
        properties:
            size: { get_param: app_volume_size_0 }
            name: 
                str_replace:
                    template: $vnf_name-app_volume_2
                    params:
                        $vnf_name:
                            get_param: vnf_name

    app_volume_3:
        type: OS::Cinder::Volume
        properties:
            size: { get_param: app_volume_size_0 }
            name: 
                str_replace:
                    template: $vnf_name-app_volume_3
                    params:
                        $vnf_name:
                            get_param: vnf_name

    app_volume_4:
        type: OS::Cinder::Volume
        properties:
            size: { get_param: app_volume_size_0 }
            name: 
                str_replace:
                    template: $vnf_name-app_volume_4
                    params:
                        $vnf_name:
                            get_param: vnf_name

    app_volume_5:
        type: OS::Cinder::Volume
        properties:
            size: { get_param: app_volume_size_0 }
            name: 
                str_replace:
                    template: $vnf_name-app_volume_5
                    params:
                        $vnf_name:
                            get_param: vnf_name

    app_volume_6:
        type: OS::Cinder::Volume
        properties:
            size: { get_param: app_volume_size_0 }
            name: 
                str_replace:
                    template: $vnf_name-app_volume_6
                    params:
                        $vnf_name:
                            get_param: vnf_name

outputs:
    plt_volume_shared_id_0:
        description: ServiceData2 volume for plt VMs
        value: {get_resource: plt_volume_2}

    plt_volume_id_0:
        description: ServiceData1 volume for first plt VM
        value: {get_resource: plt_volume_0}

    plt_volume_id_1:
        description: ServiceData1 volume for second plt VM
        value: {get_resource: plt_volume_1}

    app_volume_id_0:
        description: ServiceData1 volume for first app VM
        value: {get_resource: app_volume_0}

    app_volume_id_1:
        description: ServiceData1 volume for second app VM
        value: {get_resource: app_volume_1}

    app_volume_id_2:
        description: ServiceData1 volume for third app VM
        value: {get_resource: app_volume_2}

    app_volume_id_3:
        description: ServiceData1 volume for fourth app VM
        value: {get_resource: app_volume_3}

    app_volume_id_4:
        description: ServiceData1 volume for fifth app VM
        value: {get_resource: app_volume_4}

    app_volume_id_5:
        description: ServiceData1 volume for sixth app VM
        value: {get_resource: app_volume_5}

    app_volume_id_6:
        description: ServiceData1 volume for seventh app VM
        value: {get_resource: app_volume_6}