summaryrefslogtreecommitdiffstats
path: root/asdc-tests/src/test/resources/CI/demoResourcesWanLan/VNF/VNF.yml
diff options
context:
space:
mode:
Diffstat (limited to 'asdc-tests/src/test/resources/CI/demoResourcesWanLan/VNF/VNF.yml')
-rw-r--r--asdc-tests/src/test/resources/CI/demoResourcesWanLan/VNF/VNF.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/asdc-tests/src/test/resources/CI/demoResourcesWanLan/VNF/VNF.yml b/asdc-tests/src/test/resources/CI/demoResourcesWanLan/VNF/VNF.yml
new file mode 100644
index 0000000000..22be623303
--- /dev/null
+++ b/asdc-tests/src/test/resources/CI/demoResourcesWanLan/VNF/VNF.yml
@@ -0,0 +1,16 @@
+org.openecomp.asdc.nodes.VNF:
+ #The VNF node is required to be hosted by a VNF_Container
+ derived_from: org.openecomp.asdc.nodes.Root
+ properties:
+ service_name:
+ type: string
+ attributes:
+ #attribute means the value is fulfilled at run-time.
+ service_id:
+ #In this case, we consider the VNF node only has the service_id value when the node is instantiated
+ type: string
+ requirements:
+ #the "host" requirement can establish the relationship with a VNF_Container node
+ - host :
+ capability: org.openecomp.asdc.capabilities.Container
+ node: org.openecomp.asdc.nodes.VNF_Container \ No newline at end of file