push addional code
[sdc.git] / openecomp-be / lib / openecomp-tosca-lib / src / test / resources / mock / globalServiceTemplates / NeutronNetGlobalTypesServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: NeutronNetGlobalTypes
4   template_version: 1.0.0
5 description: Neutron Network TOSCA Global Types
6 imports:
7   common_definitions:
8     file: CommonGlobalTypesServiceTemplate.yaml
9 node_types:
10   org.openecomp.resource.vl.nodes.heat.network.neutron.Net:
11     derived_from: tosca.nodes.network.Network
12     properties:
13       dhcp_agent_ids:
14         type: list
15         description: The IDs of the DHCP agent to schedule the network
16         required: false
17         status: SUPPORTED
18         entry_schema:
19           type: string
20       tenant_id:
21         type: string
22         description: The ID of the tenant which will own the network
23         required: false
24         status: SUPPORTED
25       port_security_enabled:
26         type: boolean
27         description: Flag to enable/disable port security on the network
28         required: false
29         status: SUPPORTED
30       shared:
31         type: boolean
32         description: Whether this network should be shared across all tenants
33         required: false
34         default: false
35         status: SUPPORTED
36       admin_state_up:
37         type: boolean
38         description: A boolean value specifying the administrative status of the network
39         required: false
40         default: true
41         status: SUPPORTED
42       qos_policy:
43         type: string
44         description: The name or ID of QoS policy to attach to this network
45         required: false
46         status: SUPPORTED
47       subnets:
48         type: map
49         description: Network related subnets
50         required: false
51         status: SUPPORTED
52         entry_schema:
53           type: org.openecomp.datatypes.heat.network.neutron.Subnet
54       value_specs:
55         type: map
56         description: Extra parameters to include in the request
57         required: false
58         default: {
59           }
60         status: SUPPORTED
61         entry_schema:
62           type: string
63     attributes:
64       qos_policy_id:
65         type: string
66         description: The QoS policy ID attached to this network
67         status: SUPPORTED
68       show:
69         type: string
70         description: Detailed information about resource
71         status: SUPPORTED
72       subnets_name:
73         type: list
74         description: Subnets name of this network
75         status: SUPPORTED
76         entry_schema:
77           type: string
78       subnets:
79         type: map
80         description: Network related subnets
81         status: SUPPORTED
82         entry_schema:
83           type: org.openecomp.datatypes.heat.network.neutron.Subnet
84       mtu:
85         type: scalar-unit.size
86         description: The maximum transmission unit size(in bytes) for the network
87         status: SUPPORTED
88       status:
89         type: string
90         description: The status of the network
91         status: SUPPORTED
92     capabilities:
93       attachment:
94         type: tosca.capabilities.Attachment
95         occurrences:
96         - 1
97         - UNBOUNDED