push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / heat / nested / resourceGroupMDNS / expectedoutputfiles / GlobalSubstitutionTypesServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: GlobalSubstitutionTypes
4 imports:
5   ContrailComputeGlobalTypes:
6     file: ContrailComputeGlobalTypesServiceTemplate.yaml
7   CinderVolumeGlobalTypes:
8     file: CinderVolumeGlobalTypesServiceTemplate.yaml
9   ContrailVirtualNetworkGlobalType:
10     file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
11   AbstractSubstituteGlobalTypes:
12     file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
13   ContrailPortGlobalTypes:
14     file: ContrailPortGlobalTypesServiceTemplate.yaml
15   NeutronPortGlobalTypes:
16     file: NeutronPortGlobalTypesServiceTemplate.yaml
17   NeutronNetGlobalTypes:
18     file: NeutronNetGlobalTypesServiceTemplate.yaml
19   CommonGlobalTypes:
20     file: CommonGlobalTypesServiceTemplate.yaml
21   ContrailAbstractSubstituteGlobalTypes:
22     file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
23   ContrailNetworkRuleGlobalType:
24     file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
25   NeutronSecurityRulesGlobalTypes:
26     file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
27   NovaServerGlobalTypes:
28     file: NovaServerGlobalTypesServiceTemplate.yaml
29   ContrailV2VirtualMachineInterfaceGlobalType:
30     file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
31 node_types:
32   org.openecomp.resource.abstract.nodes.heat.dns_nested_01:
33     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
34     properties:
35       vf_module_id:
36         type: string
37         description: Unique ID for this VF module instance
38       name_with_index:
39         type: string
40         description: name parameter which will include the index value
41       dns_int_bearer_ips:
42         type: list
43         description: DNS Bearer IP list
44         entry_schema:
45           type: string
46       vnf_name:
47         type: string
48         description: Unique name for this VF instance
49       index:
50         type: float
51         description: index parameter
52       security_group:
53         type: string
54         description: security group
55       oam_protected_net_name:
56         type: string
57         description: OAM network where instaces will connect
58       dns_oam_protected_ips:
59         type: list
60         description: DNS OAM IP list
61         entry_schema:
62           type: string
63       dns_key:
64         type: string
65         description: server key
66       int_bearer_net_name:
67         type: string
68         description: Bearer network where instaces will connect
69       route_eth0:
70         type: string
71         description: OAM network routes
72       dns_names:
73         type: list
74         description: server name
75         entry_schema:
76           type: string
77       vnf_id:
78         type: string
79         description: Unique ID for this VF instance
80       availability_zone_0:
81         type: string
82         description: availability zone ID or Name
83       dns_image_name:
84         type: string
85         description: server image
86       dns_int_bearer_ipv6_ips:
87         type: list
88         description: fixed IPv6 assignment for VM's on the Bearer network
89         entry_schema:
90           type: string
91       dns_flavor_name:
92         type: string
93         description: server flavor
94     requirements:
95     - link_dns_oam_protected_0_port:
96         capability: tosca.capabilities.network.Linkable
97         node: tosca.nodes.Root
98         relationship: tosca.relationships.network.LinksTo
99         occurrences:
100         - 1
101         - 1
102     - link_dns_int_bearer_0_port:
103         capability: tosca.capabilities.network.Linkable
104         node: tosca.nodes.Root
105         relationship: tosca.relationships.network.LinksTo
106         occurrences:
107         - 1
108         - 1
109     - local_storage_dns_servers:
110         capability: tosca.capabilities.Attachment
111         node: tosca.nodes.BlockStorage
112         relationship: tosca.relationships.AttachesTo
113         occurrences:
114         - 0
115         - UNBOUNDED
116     capabilities:
117       host_dns_servers:
118         type: tosca.capabilities.Container
119         valid_source_types:
120         - tosca.nodes.SoftwareComponent
121         occurrences:
122         - 1
123         - UNBOUNDED
124       attachment_dns_int_bearer_0_port:
125         type: tosca.capabilities.Attachment
126         occurrences:
127         - 1
128         - UNBOUNDED
129       attachment_dns_oam_protected_0_port:
130         type: tosca.capabilities.Attachment
131         occurrences:
132         - 1
133         - UNBOUNDED
134       os_dns_servers:
135         type: tosca.capabilities.OperatingSystem
136         occurrences:
137         - 1
138         - UNBOUNDED
139       endpoint_dns_servers:
140         type: tosca.capabilities.Endpoint.Admin
141         occurrences:
142         - 1
143         - UNBOUNDED
144       binding_dns_servers:
145         type: tosca.capabilities.network.Bindable
146         occurrences:
147         - 1
148         - UNBOUNDED
149       scalable_dns_servers:
150         type: tosca.capabilities.Scalable
151         occurrences:
152         - 1
153         - UNBOUNDED