summaryrefslogtreecommitdiffstats
path: root/asdc-tests/src/test/resources/CI/importResource-VCE-Brocade/tosca.nodes.nfv.VDU
diff options
context:
space:
mode:
Diffstat (limited to 'asdc-tests/src/test/resources/CI/importResource-VCE-Brocade/tosca.nodes.nfv.VDU')
-rw-r--r--asdc-tests/src/test/resources/CI/importResource-VCE-Brocade/tosca.nodes.nfv.VDU/tosca.nodes.nfv.VDU.json11
-rw-r--r--asdc-tests/src/test/resources/CI/importResource-VCE-Brocade/tosca.nodes.nfv.VDU/tosca.nodes.nfv.VDU.yaml28
-rw-r--r--asdc-tests/src/test/resources/CI/importResource-VCE-Brocade/tosca.nodes.nfv.VDU/tosca.nodes.nfv.VDU.zipbin0 -> 502 bytes
3 files changed, 39 insertions, 0 deletions
diff --git a/asdc-tests/src/test/resources/CI/importResource-VCE-Brocade/tosca.nodes.nfv.VDU/tosca.nodes.nfv.VDU.json b/asdc-tests/src/test/resources/CI/importResource-VCE-Brocade/tosca.nodes.nfv.VDU/tosca.nodes.nfv.VDU.json
new file mode 100644
index 0000000000..2ab0340e59
--- /dev/null
+++ b/asdc-tests/src/test/resources/CI/importResource-VCE-Brocade/tosca.nodes.nfv.VDU/tosca.nodes.nfv.VDU.json
@@ -0,0 +1,11 @@
+{
+ "payloadName": "tosca.nodes.nfv.VDU.yaml",
+ "contactId": "jh0003",
+ "name": "tosca.nodes.nfv.VDU",
+ "description": "TOSCA VDU base element",
+ "resourceIconPath": "defaulticon",
+ "category": "Generic/Abstract",
+ "tags": [
+ "tosca.nodes.nfv.VDU"
+ ]
+} \ No newline at end of file
diff --git a/asdc-tests/src/test/resources/CI/importResource-VCE-Brocade/tosca.nodes.nfv.VDU/tosca.nodes.nfv.VDU.yaml b/asdc-tests/src/test/resources/CI/importResource-VCE-Brocade/tosca.nodes.nfv.VDU/tosca.nodes.nfv.VDU.yaml
new file mode 100644
index 0000000000..d1cba804e6
--- /dev/null
+++ b/asdc-tests/src/test/resources/CI/importResource-VCE-Brocade/tosca.nodes.nfv.VDU/tosca.nodes.nfv.VDU.yaml
@@ -0,0 +1,28 @@
+ ##################################################################
+ ###################### TOSCA VDU Node ##########################
+ ##################################################################
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+node_types:
+ tosca.nodes.nfv.VDU:
+ derived_from: tosca.nodes.SoftwareComponent
+ #properties:
+
+ capabilities:
+ high_availability:
+ type: tosca.capabilities.nfv.HA
+ occurrences: [1, UNBOUNDED] # this is default
+
+ virtual_binding:
+ type: tosca.capabilities.nfv.vdu.VirtualBindable
+ occurrences: [1, UNBOUNDED] # this is default
+
+ requirements:
+ - high_availability:
+ capability: tosca.capabilities.nfv.HA
+ occurrences: [0,1]
+
+ - host: ##Is hosted in a VM
+ capability: tosca.capabilities.Container
+ node: tosca.nodes.Compute
+ relationship: tosca.relationships.HostedOn
+ occurrences: [1, 1] #this is default \ No newline at end of file
diff --git a/asdc-tests/src/test/resources/CI/importResource-VCE-Brocade/tosca.nodes.nfv.VDU/tosca.nodes.nfv.VDU.zip b/asdc-tests/src/test/resources/CI/importResource-VCE-Brocade/tosca.nodes.nfv.VDU/tosca.nodes.nfv.VDU.zip
new file mode 100644
index 0000000000..3ba4eb7d80
--- /dev/null
+++ b/asdc-tests/src/test/resources/CI/importResource-VCE-Brocade/tosca.nodes.nfv.VDU/tosca.nodes.nfv.VDU.zip
Binary files differ