aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/getAttr/getAttrUC/inputfiles/ep-jsa_net.yaml
blob: 6a050bcce8ba9c97b802f82b5f81ae49f98a380f (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
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
heat_template_version: 2013-05-23

description: >
  Version 2.0 02-09-2016 (Authors: Paul Phillips, pp2854 PROD)

parameters:
      security_group_name:
        type: comma_delimited_list
        description: CMAUI1, CMAUI2 server names
      pcrf_security_group_name:
        type: comma_delimited_list
        description: CMAUI1, CMAUI2 server names
      volume_type:
        type: string
        label:  volume type
        description: volume type Gold

      volume_size:
        type: number
        label:  volume size
        description: my volume size 320GB

      FSB_1_image:
        type: string
        label: MME_FSB1
        description: MME_FSB1_15B-CP04-r5a01

      FSB1_volume_name:
        type: string
        label: FSB1_volume
        description: FSB1_volume_1

      fsb1-name:
        type: string
        label: FSB1_name
        description: FSB1_name

      fsb1-flavor:
        type: string
        label: FSB1_flavor
        description: FSB1_flavor

      fsb1-zone:
        type: string
        label: FSB1_zone
        description: FSB1_zone

      fsb_zone:
        type: string
        label: FSB1_zone
        description: FSB1_zone

      fsb1-Internal1-mac:
        type: string
        label: FSB1_internal_mac
        description: FSB1_internal_mac

      fsb1-Internal2-mac:
        type: string
        label: FSB1_internal_mac
        description: FSB1_internal_mac

      fsb2-Internal1-mac:
        type: string
        label: FSB1_internal_mac
        description: FSB1_internal_mac

      oam_net_id:
        type: string
        label: oam_net_id
        description: oam_net_id

      jsa_net_name:
        type: string
        label: jsa_net_name
        description: jsa_net_name

      jsa_cidr:
        type: string
        label: jsa_cidr
        description: jsa_cidr

      pcrf_cps_net_name:
        type: string
        label: pcrf_cps_net_name
        description: pcrf_cps_net_name

      pcrf_psm_server_name:
        type: string
        label: pcrf_psm_server_name
        description: pcrf_psm_server_name

      pcrf_psm_image_name:
        type: string
        label: pcrf_psm_image_name
        description: pcrf_psm_image_name

      pcrf_psm_flavor_name:
        type: string
        label: pcrf_psm_flavor_name
        description: pcrf_psm_flavor_name

      availabilityzone_name:
        type: string
        label: availabilityzone_name
        description: availabilityzone_name

      pcm_server_name:
        type: string
        label: pcm_server_name
        description: pcm_server_name

      pcm_image_name:
        type: string
        label: pcm_image_name
        description: pcm_image_name

      pcm_flavor_name:
        type: string
        label: pcm_flavor_name
        description: pcm_flavor_name

      Internal1_net_name:
        type: string
        label: Internal1_net_name
        description: Internal1_net_name

      Internal1_forwarding_mode:
        type: string
        label: Internal1_forwarding_mode
        description: Internal1_forwarding_mode

      Internal1_shared:
        type: string
        label: Internal1_shared
        description: Internal1_shared

      Internal1_external:
        type: string
        label: Internal1_external
        description: Internal1_external

      Internal2_name:
        type: string
        label: Internal2_name
        description: Internal2_name

      Internal2_shared:
        type: string
        label: Internal2_shared
        description: Internal2_shared

      Internal2_external:
        type: string
        label: Internal2_external
        description: Internal2_external

      Internal2_forwarding_mode:
        type: string
        label: Internal2_forwarding_mode
        description: Internal2_forwarding_mode

      cps_net_name:
        type: string
        label: cps_net_name
        description: cps_net_name

      oam_net_name:
        type: string
        label: oam_net_name
        description: oam_net_name
      oam_net_gw:
        type: string
        description: prop
      cps_net_ip:
        type: string
        description: prop
      cps_net_mask:
        type: string
        description: prop
      oam_net_ip:
        type: string
        description: prop
      oam_net_mask:
        type: string
        description: prop
      fsb1-oam-ip:
        type: string
        description: prop
      pcrf_cps_net_ip:
        type: string
        description: prop
      pcrf_vnf_id:
        type: string
        description: prop
      pcm_vol:
        type: string
        description: prop
      pcm_vol_01:
        type: string
        description: prop
      snapshot01:
        type: string
        description: prop
      snapshot02:
        type: string
        description: prop
      VMME_FSB1_boot_volume:
        type: string
      network_name:
        type: string
        description: prop
      port_name:
        type: string
        description: prop
      vipr_atm_name_0:
        type: string
        description: prop


resources:
  VMI1:
      type: OS::ContrailV2::VirtualMachineInterface
      properties:
        name:
          str_replace:
            template: VM_NAME_PORT_3
            params:
              VM_NAME: { get_param: vipr_atm_name_0 }
        virtual_machine_interface_properties:
          {
          virtual_machine_interface_properties_service_interface_type: 'left'
          }
        port_tuple_refs: [{ get_param: port_name }]
        virtual_network_refs: [{ get_param: network_name }]

  FSB1:
      type: OS::Nova::Server
      properties:
        name: { get_attr: [VMI1, name] }
        block_device_mapping: [{device_name: "vda", volume_id : {get_param: VMME_FSB1_boot_volume }, delete_on_termination: "false" }]
        flavor: { get_param: fsb1-flavor }
        availability_zone: { get_param: fsb_zone }
        networks:
          - network: {get_param: network_name}

  FSB2:
      type: OS::Nova::Server
      properties:
        name: { get_attr: [VMI1, virtual_machine_interface_allowed_address_pairs,
        virtual_machine_interface_allowed_address_pairs_allowed_address_pair,
        virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip, virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix] }
        flavor: { get_param: fsb1-flavor }
        availability_zone: { get_param: fsb_zone }
        networks:
          - network: {get_param: network_name}