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