summaryrefslogtreecommitdiffstats
path: root/samples/service.yaml
diff options
context:
space:
mode:
authorPiotr Stanior <piotr.stanior@t-mobile.pl>2022-02-11 10:57:51 +0100
committerPiotr Stanior <piotr.stanior@t-mobile.pl>2022-02-16 11:10:45 +0100
commitd48a5bd068f24ab406f14147ff132e0b5519f008 (patch)
treea5da298c59bb12819523e1ebc33ca7597b784e77 /samples/service.yaml
parent79e2cf87c107ac0dcac46c5bf7f3a090661c8b70 (diff)
Add support for resource's component property as resource input
Change-Id: Ib0719f20a52aaa0356be407931a75fbeea4302dd Signed-off-by: Piotr Stanior <piotr.stanior@t-mobile.pl> Issue-ID: INT-2076
Diffstat (limited to 'samples/service.yaml')
-rw-r--r--samples/service.yaml54
1 files changed, 44 insertions, 10 deletions
diff --git a/samples/service.yaml b/samples/service.yaml
index 36c92d7..8472f1b 100644
--- a/samples/service.yaml
+++ b/samples/service.yaml
@@ -24,11 +24,21 @@ resources:
- name: sample-vnf # Make sure it exists!
type: VF
properties:
- controller_actor: "CDS"
- skip_post_instantiation_configuration: False
- sdnc_artifact_name: "vnf"
- sdnc_model_version: "1.0.0"
- sdnc_model_name: "ubuntu20"
+ - name: controller_actor
+ type: string
+ value: "CDS"
+ - name: skip_post_instantiation_configuration
+ type: boolean
+ value: False
+ - name: sdnc_artifact_name
+ type: string
+ value: "vnf"
+ - name: sdnc_model_version
+ type: string
+ value: "1.0.0"
+ - name: sdnc_model_name
+ type: string
+ value: "ubuntu20"
- service:
name: sample-service-with-pnf
resources:
@@ -40,13 +50,37 @@ resources:
- name: sample-pnf # Make sure it exists!
type: PNF
properties:
- controller_actor: "CDS"
- skip_post_instantiation_configuration: False
- sdnc_artifact_name: "vnf"
- sdnc_model_version: "1.0.0"
- sdnc_model_name: "ubuntu20"
+ - name: controller_actor
+ type: string
+ value: "CDS"
+ - name: skip_post_instantiation_configuration
+ type: boolean
+ value: False
+ - name: sdnc_artifact_name
+ type: string
+ value: "vnf"
+ - name: sdnc_model_version
+ type: string
+ value: "1.0.0"
+ - name: sdnc_model_name
+ type: string
+ value: "ubuntu20"
- service:
name: sample-service-with-vl
resources:
- name: sample-vl # Make sure it exists!
type: VL
+
+ - service:
+ name: test-nested-inputs-service-1
+ category: Network L4+
+ description: LFN demo service
+ instantiation-type: Macro
+ resources:
+ - name: test-ar-pnf
+ type: PNF
+ inputs:
+ - resource-property: true
+ resource: test-ar-pnf
+ name: resource-property-name
+ value: test