Updated pom to remove distribution-management section and corrected aai base image...
[aai/babel.git] / src / test / resources / ymlFiles / resource-Neutronport-template.yml
1 tosca_definitions_version: tosca_simple_yaml_1_0
2 metadata:
3   invariantUUID: d4884e14-c033-4f64-96fd-73f26d3e69e1
4   UUID: 7f3d92bc-bc98-4973-a7a6-d6d3ee3fa3fc
5   name: NeutronPort
6   description: Represents a logical entity that associates between Compute and Network normative types.
7   type: CP
8   category: Generic
9   subcategory: Network Elements
10   resourceVendor: ATT (Tosca)
11   resourceVendorRelease: 1.0.0.wd03
12 imports:
13 - nodes:
14     file: nodes.yml
15 - datatypes:
16     file: data.yml
17 - capabilities:
18     file: capabilities.yml
19 - relationships:
20     file: relationships.yml
21 - groups:
22     file: groups.yml
23 - policies:
24     file: policies.yml
25 node_types:
26   org.openecomp.resource.cp.nodes.heat.network.neutron.Port:
27     derived_from: org.openecomp.resource.cp.nodes.network.Port
28     description: Represents a logical entity that associates between Compute and Network normative types.
29     properties:
30       port_security_enabled:
31         type: boolean
32         description: Flag to enable/disable port security on the network
33       device_id:
34         type: string
35         description: Device ID of this port
36       qos_policy:
37         type: string
38         description: The name or ID of QoS policy to attach to this network
39       allowed_address_pairs:
40         type: list
41         description: Additional MAC/IP address pairs allowed to pass through the port
42         entry_schema:
43           type: org.openecomp.datatypes.heat.network.AddressPair
44       binding:vnic_type:
45         type: string
46         description: The vnic type to be bound on the neutron port
47       value_specs:
48         type: map
49         default: {
50           }
51         description: Extra parameters to include in the request
52         entry_schema:
53           type: string
54       device_owner:
55         type: string
56         description: Name of the network owning the port
57       network:
58         type: string
59         description: Network this port belongs to
60       replacement_policy:
61         type: string
62         default: AUTO
63         description: Policy on how to respond to a stack-update for this resource
64       security_groups:
65         type: list
66         description: List of security group names or IDs
67         entry_schema:
68           type: string
69       fixed_ips:
70         type: list
71         description: Desired IPs for this port
72         entry_schema:
73           type: org.openecomp.datatypes.heat.neutron.port.FixedIps
74       mac_address:
75         type: string
76         description: MAC address to give to this port
77       admin_state_up:
78         type: boolean
79         default: true
80         description: A boolean value specifying the administrative status of the network
81       name:
82         type: string
83         description: A symbolic name for this port
84     capabilities:
85       attachment:
86         type: tosca.capabilities.Attachment
87         occurrences:
88         - 1
89         - UNBOUNDED
90       binding:
91         type: tosca.capabilities.network.Bindable
92         occurrences:
93         - 0
94         - UNBOUNDED
95         valid_source_types:
96         - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface