aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/ymlFiles/resource-Neutronport-template-1.yml
diff options
context:
space:
mode:
authorPolavarapu, Chaitanya (cp8128) <cp8128@att.com>2021-02-12 13:32:33 -0500
committerPolavarapu, Chaitanya (cp8128) <cp8128@att.com>2021-02-23 15:54:08 -0500
commit7f592e87a5ba61a8538d6f399f3778b884a9b3ce (patch)
treee08612504770b164d28b70a9008cae04d37738a7 /src/test/resources/ymlFiles/resource-Neutronport-template-1.yml
parentde97feac66e234a0ebea9bf0774aa01136f3c04f (diff)
Updated pom to remove distribution-management section and corrected aai base image version
Issue-ID: AAI-2996 Change-Id: I28da9ccf5618e180e04e3f29b0440bab5e3ffc3f Signed-off-by: Polavarapu, Chaitanya (cp8128) <cp8128@att.com>
Diffstat (limited to 'src/test/resources/ymlFiles/resource-Neutronport-template-1.yml')
-rw-r--r--src/test/resources/ymlFiles/resource-Neutronport-template-1.yml96
1 files changed, 96 insertions, 0 deletions
diff --git a/src/test/resources/ymlFiles/resource-Neutronport-template-1.yml b/src/test/resources/ymlFiles/resource-Neutronport-template-1.yml
new file mode 100644
index 0000000..2abfc1b
--- /dev/null
+++ b/src/test/resources/ymlFiles/resource-Neutronport-template-1.yml
@@ -0,0 +1,96 @@
+tosca_definitions_version: tosca_simple_yaml_1_0
+metadata:
+ invariantUUID: e929eb25-c82d-4dac-9a9c-0193ccc131c8
+ UUID: b88ab067-a684-4c44-bdd1-80fb859cbcdd
+ name: NeutronPort
+ description: Represents a logical entity that associates between Compute and Network normative types.
+ type: CP
+ category: Generic
+ subcategory: Network Elements
+ resourceVendor: ATT (Tosca)
+ resourceVendorRelease: 1.0.0.wd03
+imports:
+- nodes:
+ file: nodes.yml
+- datatypes:
+ file: data.yml
+- capabilities:
+ file: capabilities.yml
+- relationships:
+ file: relationships.yml
+- groups:
+ file: groups.yml
+- policies:
+ file: policies.yml
+node_types:
+ org.openecomp.resource.cp.nodes.heat.network.neutron.Port:
+ derived_from: org.openecomp.resource.cp.nodes.network.Port
+ description: Represents a logical entity that associates between Compute and Network normative types.
+ properties:
+ port_security_enabled:
+ type: boolean
+ description: Flag to enable/disable port security on the network
+ device_id:
+ type: string
+ description: Device ID of this port
+ qos_policy:
+ type: string
+ description: The name or ID of QoS policy to attach to this network
+ allowed_address_pairs:
+ type: list
+ description: Additional MAC/IP address pairs allowed to pass through the port
+ entry_schema:
+ type: org.openecomp.datatypes.heat.network.AddressPair
+ binding:vnic_type:
+ type: string
+ description: The vnic type to be bound on the neutron port
+ value_specs:
+ type: map
+ default: {
+ }
+ description: Extra parameters to include in the request
+ entry_schema:
+ type: string
+ device_owner:
+ type: string
+ description: Name of the network owning the port
+ network:
+ type: string
+ description: Network this port belongs to
+ replacement_policy:
+ type: string
+ default: AUTO
+ description: Policy on how to respond to a stack-update for this resource
+ security_groups:
+ type: list
+ description: List of security group names or IDs
+ entry_schema:
+ type: string
+ fixed_ips:
+ type: list
+ description: Desired IPs for this port
+ entry_schema:
+ type: org.openecomp.datatypes.heat.neutron.port.FixedIps
+ mac_address:
+ type: string
+ description: MAC address to give to this port
+ admin_state_up:
+ type: boolean
+ default: true
+ description: A boolean value specifying the administrative status of the network
+ name:
+ type: string
+ description: A symbolic name for this port
+ capabilities:
+ attachment:
+ type: tosca.capabilities.Attachment
+ occurrences:
+ - 1
+ - UNBOUNDED
+ binding:
+ type: tosca.capabilities.network.Bindable
+ occurrences:
+ - 0
+ - UNBOUNDED
+ valid_source_types:
+ - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface