aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/tests/functest/vnfd-templates/test-two-chains-vnfd1.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'sfc/tests/functest/vnfd-templates/test-two-chains-vnfd1.yaml')
-rw-r--r--sfc/tests/functest/vnfd-templates/test-two-chains-vnfd1.yaml56
1 files changed, 56 insertions, 0 deletions
diff --git a/sfc/tests/functest/vnfd-templates/test-two-chains-vnfd1.yaml b/sfc/tests/functest/vnfd-templates/test-two-chains-vnfd1.yaml
new file mode 100644
index 00000000..4042222c
--- /dev/null
+++ b/sfc/tests/functest/vnfd-templates/test-two-chains-vnfd1.yaml
@@ -0,0 +1,56 @@
+---
+tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
+description: firewall1-example
+metadata:
+ template_name: test-vnfd1
+
+topology_template:
+ inputs:
+ zone:
+ type: string
+ node_templates:
+ VDU1:
+ type: tosca.nodes.nfv.VDU.Tacker
+ capabilities:
+ nfv_compute:
+ properties:
+ num_cpus: 1
+ mem_size: 2 GB
+ disk_size: 10 GB
+ properties:
+ image: sfc_nsh_euphrates
+ availability_zone: {get_input: zone}
+ mgmt_driver: noop
+ config: |
+ param0: key1
+ param1: key2
+ service_type: firewall
+ monitoring_policy:
+ name: ping
+ parameters:
+ monitoring_delay: 10
+ count: 3
+ interval: 2
+ timeout: 2
+ action:
+ failure: respawn
+ retry: 5
+ port: 22
+
+ CP1:
+ type: tosca.nodes.nfv.CP.Tacker
+ properties:
+ management: true
+ order: 0
+ anti_spoofing_protection: false
+ requirements:
+ - virtualLink:
+ node: VL1
+ - virtualBinding:
+ node: VDU1
+
+ VL1:
+ type: tosca.nodes.nfv.VL
+ properties:
+ network_name: example-net
+ vendor: Tacker