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