push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / contrail2serviceinstance / sharedNetworkNested / 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.vfc.nodes.heat.st_image:
33     derived_from: org.openecomp.resource.vfc.nodes.heat.contrail.Compute
34   org.openecomp.resource.abstract.nodes.heat.service_template:
35     derived_from: org.openecomp.resource.abstract.nodes.contrail.AbstractSubstitute
36     requirements:
37     - link_port_0:
38         capability: tosca.capabilities.network.Linkable
39         node: tosca.nodes.Root
40         relationship: tosca.relationships.network.LinksTo
41         occurrences:
42         - 1
43         - 1
44   org.openecomp.resource.abstract.nodes.heat.OCS-fw:
45     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
46     properties:
47       service_policy_name:
48         type: string
49         description: Policy Name
50       st_static_routes_list:
51         type: string
52         description: List of static routes enabled-disabled
53       st_type:
54         type: string
55         description: service type
56       st_service_interface_type_list:
57         type: string
58         description: List of interface types
59       st_mode:
60         type: string
61         description: service mode
62       Cricket_OCS_protected_net_id:
63         type: string
64         description: Name of Cricket OCS network
65       oam_mgmt_net_0_id:
66         type: string
67         description: Name of OAM network
68       start_dst_ports:
69         type: float
70         description: Start of dst port
71       st_flavor:
72         type: string
73         description: Flavor
74       availability_zone_1:
75         type: string
76         description: availability zone
77       service_instance_name:
78         type: string
79         description: Service instance name
80       st_scaling:
81         type: string
82         description: Indicates whether service scaling is enabled
83       max_num_fw_instances:
84         type: float
85         description: maximum number of firewall instances for scaling
86       start_src_ports:
87         type: float
88         description: Start of src port
89       service_policy_direction:
90         type: string
91         description: Direction of Policy
92       st_name:
93         type: string
94         description: Name of service template
95       hsl_direct_net3:
96         type: string
97       hsl_direct_net4:
98         type: string
99       HSL_direct_net_gateway:
100         type: string
101         description: HSL (Logging) network gateway address
102       hsl_direct_net1:
103         type: string
104       hsl_direct_net2:
105         type: string
106       st_image:
107         type: string
108         description: Name of the image
109       st_shared_ip_list:
110         type: string
111         description: List of shared ip enabled-disabled
112       Cricket_OCS_direct_net_id:
113         type: string
114         description: Name of Cricket OCS network
115       network_param:
116         type: string
117       end_src_ports:
118         type: float
119         description: End of src port
120       end_dst_ports:
121         type: float
122         description: End of dst port
123       HSL_direct_net_id:
124         type: string
125         description: Name of HSL (Logging) network
126       HSL_direct_net_cidr:
127         type: string
128         description: HSL (Logging) network address (CIDR notation)
129     requirements:
130     - link_port_0_service_instance:
131         capability: tosca.capabilities.network.Linkable
132         node: tosca.nodes.Root
133         relationship: tosca.relationships.network.LinksTo
134         occurrences:
135         - 1
136         - 1
137     - network_service_policy:
138         capability: tosca.capabilities.Attachment
139         node: tosca.nodes.network.Network
140         relationship: org.openecomp.relationships.AttachesTo
141         occurrences:
142         - 0
143         - UNBOUNDED
144     capabilities:
145       link_hsl_direct_net:
146         type: tosca.capabilities.network.Linkable
147         occurrences:
148         - 1
149         - UNBOUNDED
150       attachment_hsl_direct_net:
151         type: tosca.capabilities.Attachment
152         occurrences:
153         - 1
154         - UNBOUNDED