summaryrefslogtreecommitdiffstats
path: root/src/test/resources/ymlFiles/resource-Contrailv2virtualnetwork-template.yml
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/resources/ymlFiles/resource-Contrailv2virtualnetwork-template.yml')
-rw-r--r--src/test/resources/ymlFiles/resource-Contrailv2virtualnetwork-template.yml61
1 files changed, 61 insertions, 0 deletions
diff --git a/src/test/resources/ymlFiles/resource-Contrailv2virtualnetwork-template.yml b/src/test/resources/ymlFiles/resource-Contrailv2virtualnetwork-template.yml
new file mode 100644
index 0000000..bf407d7
--- /dev/null
+++ b/src/test/resources/ymlFiles/resource-Contrailv2virtualnetwork-template.yml
@@ -0,0 +1,61 @@
+tosca_definitions_version: tosca_simple_yaml_1_0
+metadata:
+ invariantUUID: 2375178f-4060-4049-8414-cd743bd68c3b
+ UUID: cf99547a-d390-4674-ae65-2244d5b1087c
+ name: ContrailV2VirtualNetwork
+ description: Represents a network service with optional subnets and advanced configurations for contrail V2.
+ type: VL
+ category: Generic
+ subcategory: Network Elements
+ resourceVendor: ATT (Tosca)
+ resourceVendorRelease: 1.0.0.wd03
+ resourceVendorModelNumber: ''
+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.vl.nodes.heat.network.contrailV2.VirtualNetwork:
+ derived_from: org.openecomp.resource.vl.nodes.network.Network
+ description: Represents a network service with optional subnets and advanced configurations for contrail V2.
+ properties:
+ network_ipam_refs_data:
+ type: list
+ description: IPAM references Data
+ entry_schema:
+ type: org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.IpamRefData
+ network_policy_refs_data:
+ type: list
+ description: Policy references data
+ entry_schema:
+ type: org.openecomp.datatypes.heat.contrailV2.virtual.network.rule.RefData
+ network_ipam_refs:
+ type: list
+ description: IPAM references
+ entry_schema:
+ type: string
+ network_policy_refs:
+ type: list
+ description: Policy references
+ entry_schema:
+ type: string
+ subnets:
+ type: map
+ description: Network related subnets
+ entry_schema:
+ type: org.openecomp.datatypes.heat.network.neutron.Subnet
+ capabilities:
+ attachment:
+ type: tosca.capabilities.Attachment
+ occurrences:
+ - 1
+ - UNBOUNDED