summaryrefslogtreecommitdiffstats
path: root/sfc/tests/functest/vnffgd-templates/test-one-chain-vnffgd.yaml-queens
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2018-01-15 17:43:33 +0100
committerManuel Buil <mbuil@suse.com>2018-01-15 17:43:33 +0100
commite16692a19d7d7061964d4591a21a7a5bddc3a756 (patch)
tree513852a12fcbd3345e8ae5b9e5fdf7c2edcf9abf /sfc/tests/functest/vnffgd-templates/test-one-chain-vnffgd.yaml-queens
parent9681f405a83f93dba8a3455ee2b601ac4188a392 (diff)
Create vnffgd templates with the new syntax
For Queens, tacker uses a different template syntax for the vnffgds Change-Id: I3c3bd497f09fcf6af2adc0eaf0f046dad88d88f2 Signed-off-by: Manuel Buil <mbuil@suse.com>
Diffstat (limited to 'sfc/tests/functest/vnffgd-templates/test-one-chain-vnffgd.yaml-queens')
-rw-r--r--sfc/tests/functest/vnffgd-templates/test-one-chain-vnffgd.yaml-queens40
1 files changed, 40 insertions, 0 deletions
diff --git a/sfc/tests/functest/vnffgd-templates/test-one-chain-vnffgd.yaml-queens b/sfc/tests/functest/vnffgd-templates/test-one-chain-vnffgd.yaml-queens
new file mode 100644
index 00000000..544d6e8e
--- /dev/null
+++ b/sfc/tests/functest/vnffgd-templates/test-one-chain-vnffgd.yaml-queens
@@ -0,0 +1,40 @@
+---
+tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
+description: test-case1
+
+topology_template:
+ description: topology-template-test1
+ inputs:
+ net_src_port_id:
+ type: string
+
+ node_templates:
+ Forwarding_path1:
+ type: tosca.nodes.nfv.FP.Tacker
+ description: creates path
+ properties:
+ id: 1
+ policy:
+ type: ACL
+ criteria:
+ - network_src_port_id: {get_input: net_src_port_id}
+ destination_port_range: 80-80
+ ip_proto: 6
+ path:
+ - forwarder: test-vnfd1
+ capability: CP1
+ - forwarder: test-vnfd2
+ capability: CP1
+
+ groups:
+ VNFFG1:
+ type: tosca.groups.nfv.VNFFG
+ description: creates chain
+ properties:
+ vendor: tacker
+ version: 1.0
+ number_of_endpoints: 2
+ dependent_virtual_link: [VL1, VL1]
+ connection_point: [CP1, CP1]
+ constituent_vnfs: [test-vnfd1, test-vnfd2]
+ members: [Forwarding_path1]