aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/ymlFiles/resource-Contrailport-template.yml
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/resources/ymlFiles/resource-Contrailport-template.yml')
-rw-r--r--src/test/resources/ymlFiles/resource-Contrailport-template.yml53
1 files changed, 53 insertions, 0 deletions
diff --git a/src/test/resources/ymlFiles/resource-Contrailport-template.yml b/src/test/resources/ymlFiles/resource-Contrailport-template.yml
new file mode 100644
index 0000000..c9e005e
--- /dev/null
+++ b/src/test/resources/ymlFiles/resource-Contrailport-template.yml
@@ -0,0 +1,53 @@
+tosca_definitions_version: tosca_simple_yaml_1_0
+metadata:
+ invariantUUID: ae87766c-00ff-4973-bcbd-8385fafcd7c9
+ UUID: c8e68dc7-3e0c-44ec-ad06-b7df45e67d2c
+ name: ContrailPort
+ description: Represents a logical entity that associates between Compute and Network normative types for contrail.
+ 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.contrail.Port:
+ derived_from: org.openecomp.resource.cp.nodes.network.Port
+ description: Represents a logical entity that associates between Compute and Network normative types for contrail.
+ properties:
+ static_routes:
+ type: list
+ description: An ordered list of static routes to be added to this interface
+ entry_schema:
+ type: org.openecomp.datatypes.heat.network.contrail.port.StaticRoute
+ virtual_network:
+ type: string
+ description: Virtual Network for this interface
+ static_route:
+ type: boolean
+ default: false
+ description: Static route enabled
+ allowed_address_pairs:
+ type: list
+ description: List of allowed address pair for this interface
+ entry_schema:
+ type: org.openecomp.datatypes.heat.network.contrail.AddressPair
+ shared_ip:
+ type: boolean
+ default: false
+ description: Shared ip enabled
+ interface_type:
+ type: string
+ description: Interface type