[sdc] docker file fix for cassandra
[sdc.git] / openecomp-be / lib / openecomp-sdc-enrichment-lib / openecomp-sdc-enrichment-core / src / test / resources / extractServiceComposition / toscaGlobalServiceTemplates / NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: NeutronSecurityRulesGlobalTypes
4   template_version: 1.0.0
5 description: Neutron Security Rules TOSCA Global Types
6 imports:
7   common_definitions:
8     file: CommonGlobalTypesServiceTemplate.yaml
9 data_types:
10   org.openecomp.datatypes.heat.network.neutron.SecurityRules.Rule:
11     derived_from: tosca.datatypes.Root
12     description: Rules Pairs
13     properties:
14       remote_group_id:
15         type: string
16         description: The remote group ID to be associated with this security group rule
17         required: false
18         status: SUPPORTED
19       protocol:
20         type: string
21         description: The protocol that is matched by the security group rule
22         required: false
23         status: SUPPORTED
24         constraints:
25         - valid_values:
26           - tcp
27           - udp
28           - icmp
29       ethertype:
30         type: string
31         description: Ethertype of the traffic
32         required: false
33         default: IPv4
34         status: SUPPORTED
35         constraints:
36         - valid_values:
37           - IPv4
38           - IPv6
39       port_range_max:
40         type: integer
41         description: 'The maximum port number in the range that is matched by the
42           security group rule. '
43         required: false
44         status: SUPPORTED
45         constraints:
46         - in_range:
47           - 0
48           - 65535
49       remote_ip_prefix:
50         type: string
51         description: The remote IP prefix (CIDR) to be associated with this security group rule
52         required: false
53         status: SUPPORTED
54       remote_mode:
55         type: string
56         description: Whether to specify a remote group or a remote IP prefix
57         required: false
58         default: remote_ip_prefix
59         status: SUPPORTED
60         constraints:
61         - valid_values:
62           - remote_ip_prefix
63           - remote_group_id
64       direction:
65         type: string
66         description: The direction in which the security group rule is applied
67         required: false
68         default: ingress
69         status: SUPPORTED
70         constraints:
71         - valid_values:
72           - egress
73           - ingress
74       port_range_min:
75         type: integer
76         description: The minimum port number in the range that is matched by the security group rule.
77         required: false
78         status: SUPPORTED
79         constraints:
80         - in_range:
81           - 0
82           - 65535
83 node_types:
84   org.openecomp.resource.nodes.heat.network.neutron.SecurityRules:
85     derived_from: tosca.nodes.Root
86     properties:
87       description:
88         type: string
89         description: Description of the security group
90         required: false
91         status: SUPPORTED
92       name:
93         type: string
94         description: A symbolic name for this security group, which is not required to be unique.
95         required: false
96         status: SUPPORTED
97       rules:
98         type: list
99         description: List of security group rules
100         required: false
101         status: SUPPORTED
102         entry_schema:
103           type: org.openecomp.datatypes.heat.network.neutron.SecurityRules.Rule
104     attributes:
105       show:
106         type: string
107         description: Detailed information about resource
108         status: SUPPORTED
109     requirements:
110     - port:
111         capability: tosca.capabilities.Attachment
112         node: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
113         relationship: org.openecomp.relationships.AttachesTo
114         occurrences:
115         - 0
116         - UNBOUNDED