[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / buildconsolidationdata / dependsonresource / invalidDependencyCandidate / expectedoutputfiles / MainServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Main
4 imports:
5 - openecomp_heat_index:
6     file: openecomp-heat/_index.yml
7 node_types:
8   org.openecomp.resource.vfc.nodes.heat.QRouter:
9     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
10 topology_template:
11   inputs:
12     tenant_name:
13       hidden: false
14       immutable: false
15       type: string
16       description: Name of tenant to be used
17     oam_private_net_name:
18       hidden: false
19       immutable: false
20       type: string
21       description: A string specifying a symbolic name for the network
22     packet_internal_network_name:
23       hidden: false
24       immutable: false
25       type: string
26       description: A string specifying a symbolic name for the network
27     packet_mirror_network_subnet_alloc_start:
28       hidden: false
29       immutable: false
30       type: string
31       description: Start address for the allocation pool
32     packet_mirror_network_name:
33       hidden: false
34       immutable: false
35       type: string
36       description: A string specifying a symbolic name for the network
37     base_image_name:
38       hidden: false
39       immutable: false
40       type: string
41       description: The base ID or name of the image to boot with
42     cdr_network:
43       hidden: false
44       immutable: false
45       type: string
46       description: A string specifying a symbolic name for the network
47     packet_internal_network_subnet_alloc_start:
48       hidden: false
49       immutable: false
50       type: string
51       description: Start address for the allocation pool
52     packet_internal_network_subnet_alloc_end:
53       hidden: false
54       immutable: false
55       type: string
56       description: End address for the allocation pool
57     domain_name:
58       hidden: false
59       immutable: false
60       type: string
61       description: The servers domain
62     packet_mirror_network_subnet_alloc_end:
63       hidden: false
64       immutable: false
65       type: string
66       description: End address for the allocation pool
67     packet_internal_network_subnet_name:
68       hidden: false
69       immutable: false
70       type: string
71       description: The name of the subnet
72     packet_mirror_network_subnet_cidr:
73       hidden: false
74       immutable: false
75       type: string
76       description: The Classless Inter-Domain Routing
77     availability_zone_0:
78       hidden: false
79       immutable: false
80       type: string
81       description: Name of the availability zone for server placement
82     packet_internal_network_subnet_cidr:
83       hidden: false
84       immutable: false
85       type: string
86       description: The Classless Inter-Domain Routing
87     region_name:
88       hidden: false
89       immutable: false
90       type: string
91       description: Name of region to be used
92     availability_zone_1:
93       hidden: false
94       immutable: false
95       type: string
96       description: Name of the availability zone for server placement
97     manager_name_0:
98       hidden: false
99       immutable: false
100       type: string
101       description: VM Name for Manager VM 0
102     manager_oam_direct_ip_0:
103       hidden: false
104       immutable: false
105       type: string
106       description: The public ip address of the manager
107     packet_mirror_network_subnet_name:
108       hidden: false
109       immutable: false
110       type: string
111       description: The name of the subnet
112     rpmrepository_ip_0:
113       hidden: false
114       immutable: false
115       type: string
116       description: The public ip address of the repository
117   node_templates:
118     packet_mirror_network:
119       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
120       properties:
121         network_name:
122           get_input: packet_mirror_network_name
123     QRouter:
124       type: org.openecomp.resource.vfc.nodes.heat.QRouter
125       properties:
126         flavor: FLAVOR-test
127         availability_zone: Availability-test
128         image: Image-test
129         config_drive: true
130         name: QRouter-name
131     packet_internal_network:
132       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
133       properties:
134         network_name:
135           get_input: packet_internal_network_name
136     cdr_network_port:
137       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
138       properties:
139         ip_requirements:
140         - ip_version: 4
141           ip_count_required:
142             is_required: false
143           floating_ip_count_required:
144             is_required: false
145         mac_requirements:
146           mac_count_required:
147             is_required: false
148         network:
149           get_input: cdr_network
150       requirements:
151       - binding:
152           capability: tosca.capabilities.network.Bindable
153           node: QRouter
154           relationship: tosca.relationships.network.BindsTo
155     oam_private_net_network_port:
156       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
157       properties:
158         ip_requirements:
159         - ip_version: 4
160           ip_count_required:
161             is_required: false
162           floating_ip_count_required:
163             is_required: false
164         mac_requirements:
165           mac_count_required:
166             is_required: false
167         network_role_tag: oam_private
168         network:
169           get_input: oam_private_net_name
170       requirements:
171       - binding:
172           capability: tosca.capabilities.network.Bindable
173           node: QRouter
174           relationship: tosca.relationships.network.BindsTo
175   groups:
176     input_group:
177       type: org.openecomp.groups.heat.HeatStack
178       properties:
179         heat_file: ../Artifacts/input.yaml
180       members:
181       - packet_mirror_network
182       - QRouter
183       - packet_internal_network
184       - cdr_network_port
185       - oam_private_net_network_port