ActivitySpec - Correcting logger messages
[sdc.git] / common / onap-sdc-artifact-generator-lib / onap-sdc-artifact-generator-test / src / main / resources / ECA_OAM_VF.yaml
1 tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0
2
3 description: vECA VF Topology Template
4
5 metadata:
6   invariantUUID: 3d4f3d68-d3a3-4f52-127c-ab188c9d4da2 # generated by ASDC
7   UUID: a2c4dc32-9c16-a3df-d2c0-e5ab221c69f0 # generated by ASDC
8   name: vECA VF
9   description: |
10                         Performs intelligent adaptation of Multimedia Messages (MMs), and adaptation of individual media, 
11                         such as videos, audio files, images, animations, and text. Sits on the MM1 downlink path and performs
12                         optimization offline. It intercepts the entire media and completes the optimizations before sending
13                         the message to handsets.
14   type: VF
15   category: Mobility
16   subCategory: MMSC
17   vendor: Nokia
18   vendorVersion: 13
19
20   
21  # reference to template definitions
22 imports:
23   - tosca_simple_profile_for_ecomp_1_0.yml
24   
25 topology_template:
26   
27    # This section provides the parameters which OPENECOMP is not providing values to during instantiation.
28    # It is expected that node template parameters which are not mapped to the Inputs section recieve value from OPENECOMP
29    # during the orchestration
30
31   inputs: 
32     
33   node_templates:
34
35     vECA_OAM: # vECA OAM VFC
36       type: org.openecomp.resource.vfc.Generic
37
38       metadata:
39         invariantUUID: 12243d33-d3a3-4f42-770a-5710009d3baa
40         UUID: ab08dc12-0716-abcf-13c0-afd4111c69a0
41         version: 1.0
42         name: vECA_OAM VFC
43         description: ECA Management
44         type: VFC
45         category: Generic_VFC
46         subCategory: Generic_VFC
47         vendor: Nokia
48         vendorVersion: 13
49       
50       properties:
51         vfc_ecomp_name: true
52         vfc_instance_name: # to be set by OPENECOMP during instantiation
53         vfc_type_tag:  # from HEAT ENV
54         vfc_description: vECA_OAM VFC
55         vfc_image_name: eca-v13-release.qcow2 # from HEAT / HEAT ENV
56         vfc_availability_zone: 
57
58
59       capabilities:
60         nfv_compute:
61           properties:
62             vfc_flavor: eca_oam_flavor # from HEAT ENV
63         scaling:
64           properties:
65             min_instances: 2 # set by service designer
66             max_instances: 2 # set by service designer
67
68     vECA_ARB: # vECA ARB VFC
69       type: org.openecomp.resource.vfc.Generic
70
71       metadata:
72         invariantUUID: 0ab53d33-d3a3-4f42-770a-5710009d301a
73         UUID: 8808dc12-0716-abcf-23c0-afd4111c60d0
74         version: 1.0
75         name: vECA_ARB VFC
76         description: ECA Arbitrator
77         type: VFC
78         category: Generic_VFC
79         subCategory: Generic_VFC
80         vendor: Nokia
81         vendorVersion: 13
82       
83       properties:
84         vfc_ecomp_name: true
85         vfc_instance_name: # to be set by OPENECOMP during instantiation
86         vfc_type_tag:  # from HEAT ENV
87         vfc_description: vECA_ABR VFC
88         vfc_image_name: eca-v13-release.qcow2 # from HEAT / HEAT ENV
89         vfc_availability_zone: 
90
91
92       
93       capabilities:
94         nfv_compute:
95           properties:
96             vfc_flavor: eca_arb_flavor # from HEAT ENV
97         scaling:
98           properties:
99             min_instances: 1 # set by service designer
100             max_instances: 1 # set by service designer
101
102    #  Internal VF Connection Points (VFCs connection points)
103
104     eca_oam_oam:
105       type: org.openecomp.cp.OAM
106       
107       metadata:
108         invariantUUID: 553f8d08-2223-4a97-127c-11ab729d1234 # generated by ASDC
109         UUID: ab14db52-2116-a3af-1240-a236221ca82a # generated by ASDC
110         version: 1.0 # set by ASDC
111         name: VFC CP
112         description: VFC CP
113         type: CP
114         category: CP
115         vendor: AT&T
116       
117       properties:
118         address_info:
119           mac_address: # provided by OPENECOMP (SDNC)
120       
121
122
123     eca_oam_internal:
124       type: org.openecomp.cp.CP
125       
126       metadata:
127         invariantUUID: 55df8d08-2ab3-4a97-127c-11ab729d100a # generated by ASDC
128         UUID: 12b4db52-2116-b5af-1240-a236221ca145 # generated by ASDC
129         version: 1.0 # set by ASDC
130         name: VFC CP
131         description: VFC CP
132         type: CP
133         category: CP
134         vendor: AT&T
135       
136       properties:
137         address_info:
138           mac_address: # provided by OPENECOMP (SDNC)
139       
140
141
142     eca_arb_oam:
143       type: org.openecomp.cp.OAM
144       
145       metadata:
146         invariantUUID: 553f8d08-2223-4a97-127c-11ab729d1234 # generated by ASDC
147         UUID: ab14db52-2116-a3af-1240-a236221ca82a # generated by ASDC
148         version: 1.0 # set by ASDC
149         name: OAM CP
150         description: OAM CP
151         type: CP
152         category: CP
153         vendor: AT&T
154       properties:
155         address_Info:
156           ip_address:  # provided by OPENECOMP (SDNC)
157
158
159     eca_arb_internal:
160       type: org.openecomp.cp.CP
161       
162       metadata:
163         invariantUUID: 55df8d08-2ab3-4a97-127c-11ab729d100a # generated by ASDC
164         UUID: 12b4db52-2116-b5af-1240-a236221ca145 # generated by ASDC
165         version: 1.0 # set by ASDC
166         name: VFC CP
167         description: VFC CP
168         type: CP
169         category: CP
170         vendor: AT&T
171       
172       properties:
173         address_info:
174           mac_address: # provided by OPENECOMP (SDNC)
175       
176
177
178   groups:
179
180     # VF Modules
181
182     VFModuleECA_OAM_Base:
183       type: org.openecomp.groups.VfModule
184
185       metadata:
186         vfModuleModelName: vECA::module-0
187         vfModuleModelInvariantUUID: 13aba10a-f788-492f-9ea7-7ff91dd05aaa
188         vfModuleModelUUID: 1230ed1e-4bc7-4fc0-ba7e-cc7af6da7000
189         vfModuleModelVersion: 1
190
191       properties:
192         vf_module_type: Base # set by service designer
193         vf_module_description: vECA Base VF Module # set by service designer
194         contrail_service_instance: true # from HEAT
195         availability_zone_count: 1 # from HEAT
196         volume_group: false # from HEAT / service Designer
197         artifacts: # HEAT Templates
198           - 099a6909-290f-4293-a347-736f11b8ff18
199           - 0db84f21-d298-4a4b-b11e-37b92a734066
200       
201       members:
202       - vECA_OAM
203       - vECA_ARB
204       - eca_arb_internal
205       - eca_arb_oam
206       - eca_oam_oam
207       - eca_oam_internal
208   policies:
209      # Placement policy
210     - mmsc_anti_affinity_placement_policy:
211       type: org.openecomp.policy.Placement
212
213       properties:
214         conatiner_type: compute
215         policy: anti_affinity
216
217       target: [vECA_OAM, vECA_ARB ]