[sdc] docker file fix for cassandra
[sdc.git] / openecomp-be / backend / openecomp-sdc-vendor-software-product-manager / src / test / resources / extractServiceComposition / toscaGlobalServiceTemplates / NeutronPortGlobalTypesServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: NeutronPortGlobalTypes
4   template_version: 1.0.0
5 description: Neutron Port TOSCA Global Types
6 imports:
7   common_definitions:
8     file: CommonGlobalTypesServiceTemplate.yaml
9 data_types:
10   org.openecomp.datatypes.heat.neutron.port.FixedIps:
11     derived_from: tosca.datatypes.Root
12     description: subnet/ip_address
13     properties:
14       subnet:
15         type: string
16         description: Subnet in which to allocate the IP address for this port
17         required: false
18         status: SUPPORTED
19       ip_address:
20         type: string
21         description: IP address desired in the subnet for this port
22         required: false
23         status: SUPPORTED
24 node_types:
25   org.openecomp.resource.cp.nodes.heat.network.neutron.Port:
26     derived_from: tosca.nodes.network.Port
27     properties:
28       port_security_enabled:
29         type: boolean
30         description: Flag to enable/disable port security on the network
31         required: false
32         status: SUPPORTED
33       device_id:
34         type: string
35         description: Device ID of this port
36         required: false
37         status: SUPPORTED
38       qos_policy:
39         type: string
40         description: The name or ID of QoS policy to attach to this network
41         required: false
42         status: SUPPORTED
43       allowed_address_pairs:
44         type: list
45         description: Additional MAC/IP address pairs allowed to pass through the port
46         required: false
47         status: SUPPORTED
48         entry_schema:
49           type: org.openecomp.datatypes.heat.network.AddressPair
50       binding:vnic_type:
51         type: string
52         description: The vnic type to be bound on the neutron port
53         required: false
54         status: SUPPORTED
55         constraints:
56         - valid_values:
57           - macvtap
58           - direct
59           - normal
60       value_specs:
61         type: map
62         description: Extra parameters to include in the request
63         required: false
64         default: {
65           }
66         status: SUPPORTED
67         entry_schema:
68           type: string
69       device_owner:
70         type: string
71         description: Name of the network owning the port
72         required: false
73         status: SUPPORTED
74       network:
75         type: string
76         description: Network this port belongs to
77         required: false
78         status: SUPPORTED
79       replacement_policy:
80         type: string
81         description: Policy on how to respond to a stack-update for this resource
82         required: false
83         default: AUTO
84         status: SUPPORTED
85         constraints:
86         - valid_values:
87           - REPLACE_ALWAYS
88           - AUTO
89       security_groups:
90         type: list
91         description: List of security group names or IDs
92         required: false
93         status: SUPPORTED
94         entry_schema:
95           type: string
96       fixed_ips:
97         type: list
98         description: Desired IPs for this port
99         required: false
100         status: SUPPORTED
101         entry_schema:
102           type: org.openecomp.datatypes.heat.neutron.port.FixedIps
103       mac_address:
104         type: string
105         description: MAC address to give to this port
106         required: false
107         status: SUPPORTED
108       admin_state_up:
109         type: boolean
110         description: A boolean value specifying the administrative status of the network
111         required: false
112         default: true
113         status: SUPPORTED
114       name:
115         type: string
116         description: A symbolic name for this port
117         required: false
118         status: SUPPORTED
119     attributes:
120       tenant_id:
121         type: string
122         description: Tenant owning the port
123         status: SUPPORTED
124       network_id:
125         type: string
126         description: Unique identifier for the network owning the port
127         status: SUPPORTED
128       qos_policy_id:
129         type: string
130         description: The QoS policy ID attached to this network
131         status: SUPPORTED
132       show:
133         type: string
134         description: Detailed information about resource
135         status: SUPPORTED
136       subnets:
137         type: list
138         description: Subnets of this network
139         status: SUPPORTED
140         entry_schema:
141           type: string
142       status:
143         type: string
144         description: The status of the network
145         status: SUPPORTED
146     capabilities:
147       attachment:
148         type: tosca.capabilities.Attachment
149         occurrences:
150         - 1
151         - UNBOUNDED