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