aboutsummaryrefslogtreecommitdiffstats
path: root/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testAllotedResourceWithDependingSerWithGroups/resource-AllottedResource-template_IpMux_WithGroups.yml
blob: 282750351c747f2fb919204539eac58587194d98 (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
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
#_______________________________________________________________________________________________________________________________________
 #|                                    					    AT&T Proprietary (Restricted)           									 |
 #|                                     Only for use by authorized individuals or any above-designated team(s)                            |
 #|                                          within the AT&T companies and not for general distribution      							 |
 #|_______________________________________________________________________________________________________________________________________|
tosca_definitions_version: tosca_simple_yaml_1_0
metadata:
  invariantUUID: a54a5235-b69d-4f8a-838b-d011e6783fa5
  UUID: f32afdc3-6308-4f0c-a476-0d39c8a1fb4d
  name: Allotted Resource
  description: This is a VF - Allotted resource
  type: VF
  category: Allotted Resource
  subcategory: IP Mux Demux
  resourceVendor: '1'
  resourceVendorRelease: '1'
imports:
- Alloted resource:
    file: resource-AllotedResource-template.yml
topology_template:
  groups:
    vfmoduleVmmeModule-1:
      members:
        - FSB1
        - FSB2
        - NCB1
        - NCB2
        - VLC1
        - VLC2
        - GPB1
        - GPB2
        - Internal1_net
        - Internal2_net
        - fsb1_oam
        - fsb1_internal1
        - fsb1_internal2
        - fsb2_oam
        - fsb2_internal2
        - ncb1_internal1
        - ncb1_internal2
        - ncb2_internal1
        - ncb2_internal2
        - gpb1_internal1
        - gpb1_internal2
        - gpb2_internal1
        - gpb2_internal2
        - vlc1_oam
        - vlc1_internal1
        - vlc1_internal2
        - vlc1_sctp_a
        - vlc1_sctp_b
        - vlc1_gtp
        - vlc2_oam
        - vlc2_internal1
        - vlc2_internal2
        - vlc2_sctp_a
        - vlc2_sctp_b
        - vlc1_gtp
      metadata:
        vfModuleModelInvariantUUID: adf1a10a-f788-492f-9ea7-7ff91dd55f8c
        vfModuleModelName: "vMME::module-1"
        vfModuleModelUUID: x020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc
        vfModuleModelVersion: 1
      properties:
        artifacts:
          - /Artifacts/vmme_small_create_fsb.yml
          - /Artifacts/vmme_small.yml
        availability_zone_count: 2
        contrail_service_instance: true
        vf_module_description: "vMME expansion VF Module"
        vf_module_label: "vMME Expansion VF Module"
        vf_module_type: Expansion
        volume_group: false
      type: org.openecomp.groups.VfModule
  node_templates:
    allotedresource1:
      type: org.openecomp.resource.vfc.AllottedResource
      metadata:
        invariantUUID: 666b409b-5614-41a8-945e-a53d68f5d439
        UUID: df0c1c4d-1756-4b2a-998e-73f9f4d77afa
        customizationUUID: 1c217567-5093-41f5-86e6-22c97ef24e75
        version: '1.0'
        name: Alloted resource
        description: This is a VFC- Allotted resource
        type: VFC
        category: Allotted Resource
        subcategory: Allotted Resource
      properties:
        role: name
        ecomp_naming:
          naming_policy: test
          ecomp_generated_naming: false
          supplemental_data:
            Key1: key1
        providing_service_invariant_uuid: 34a4d119-06bc-4ab4-8c5a-a498d638297c
        min_instances: 1
        max_instances: 1
        providing_service_uuid: e14a509f-b611-4b30-b38c-bc7f11b679aa
        providing_service_name: vVIGaaS
        ecomp_homing:
          instance_node_target: Test
          homing_policy: Test
          supplemental_data:
            Key: key
          ecomp_selected_instance_node_target: false
    FSB1:
      capabilities:
        monitoring_capabilty:
          properties:
            name: high_cpu
        nfv_compute:
          properties:
            vfc_flavor:
              get_input: fsb1_vfc_flavor
        scaling_capability:
          properties:
            init_instances: 1
            max_instances: 1
            min_instances: 1
      metadata:
        category: Generic
        description: "VFC based on OpenStack Nova Server"
        invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2
        name: "Nova Server"
        subcategory: Infrastructure
        type: VFC
        UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0
        resourceVendor: Ericsson
        version: 1.0
      properties:
        vfc_description: FSB1
        vfc_ecomp_name: false
        vfc_image_name:
          get_input: fsb1_vfc_image_name
        vfc_instance_name:
          get_input: fsb1_vfc_instance_name
        vfc_type_tag:
          get_input: fsb1_vfc_type_tag
      requirements:
        -
          binding:
            capability: tosca.capabilities.network.Bindable
            node: fsb1_oam
            relationship: tosca.relationships.network.BindsTo
        -
          binding:
            capability: tosca.capabilities.network.Bindable
            node: fsb1_internal1
            relationship: tosca.relationships.network.BindsTo
        -
          binding:
            capability: tosca.capabilities.network.Bindable
            node: fsb1_internal2
            relationship: tosca.relationships.network.BindsTo
      type: org.openecomp.resource.vfc.nodes.heat.nova.Server
    FSB2:
      capabilities:
        monitoring_capability:
          properties:
            name: cpu_load
        nfv_compute:
          properties:
            vfc_flavor:
              get_input: fsb2_vfc_flavor
        scaling_capability:
          properties:
            init_instances: 1
            max_instances: 1
            min_instances: 1
      metadata:
        category: Generic
        description: "VFC based on OpenStack Nova Server"
        invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2
        name: "Nova Server"
        subcategory: Infrastructure
        type: VFC
        UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0
        resourceVendor: Ericsson
        version: 1.0
      properties:
        vfc_description: FSB2
        vfc_ecomp_name: false
        vfc_image_name:
          get_input: fsb2_vfc_image_name
        vfc_instance_name:
          get_input: fsb2_vfc_instance_name
        vfc_type_tag:
          get_input: fsb2_vfc_type_tag
      requirements:
        -
          binding:
            capability: tosca.capabilities.network.Bindable
            node: fsb2_oam
            relationship: tosca.relationships.network.BindsTo
        -
          binding:
            capability: tosca.capabilities.network.Bindable
            node: fsb2_internal1
            relationship: tosca.relationships.network.BindsTo
        -
          binding:
            capability: tosca.capabilities.network.Bindable
            node: fsb2_internal2
            relationship: tosca.relationships.network.BindsTo
      type: org.openecomp.resource.vfc.nodes.heat.nova.Server
    NCB1:
      capabilities:
        monitoring_capability:
          properties:
            name: cpu_load
        nfv_compute:
          properties:
            vfc_flavor:
              get_input: ncb1_vfc_flavor
        scaling_capability:
          properties:
            init_instances: 1
            max_instances: 1
            min_instances: 1
      metadata:
        category: Generic
        description: "VFC based on OpenStack Nova Server"
        invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2
        name: "Nova Server"
        subcategory: Infrastructure
        type: VFC
        UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0
        resourceVendor: Ericsson
        version: 1.0
      properties:
        vfc_description: NCB1
        vfc_ecomp_name: false
        vfc_image_name:
          get_input: ncb1_vfc_image_name
        vfc_instance_name:
          get_input: ncb1_vfc_instance_name
        vfc_type_tag:
          get_input: ncb1_vfc_type_tag
      requirements:
        -
          binding:
            capability: tosca.capabilities.network.Bindable
            node: ncb1_oam
            relationship: tosca.relationships.network.BindsTo
        -
          binding:
            capability: tosca.capabilities.network.Bindable
            node: ncb1_internal1
            relationship: tosca.relationships.network.BindsTo
        -
          binding:
            capability: tosca.capabilities.network.Bindable
            node: ncb1_internal2
            relationship: tosca.relationships.network.BindsTo
      type: org.openecomp.resource.vfc.nodes.heat.nova.Server
  substitution_mappings:
    node_type: org.openecomp.resource.vf.AllottedResource
    capabilities:
      Alloted resource 1.feature:
        type: tosca.capabilities.Node
        occurrences:
        - 1
        - UNBOUNDED
    requirements:
      Alloted resource 1.dependency:
        occurrences:
        - 0
        - UNBOUNDED
        capability: tosca.capabilities.Node
        node: tosca.nodes.Root
        relationship: tosca.relationships.DependsOn
      Alloted resource 1.service_dependency:
        occurrences:
        - 1
        - 1
        capability: org.openecomp.capabilities.AllottedResource
        node: tosca.services.Root
        relationship: tosca.relationships.DependsOn
#_______________________________________________________________________________________________________________________________________
 #|                                    					    AT&T Proprietary (Restricted)           									 |
 #|                                     Only for use by authorized individuals or any above-designated team(s)                            |
 #|                                          within the AT&T companies and not for general distribution      							 |
 #|_______________________________________________________________________________________________________________________________________|