aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/tests/functest/vnffgd-templates/test-deletion-vnffgd-pike.yaml
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2018-03-24 17:07:21 +0100
committerManuel Buil <mbuil@suse.com>2018-04-09 16:03:06 +0200
commita459dee88ba00d6f8283232ce2159594ae23d22a (patch)
treedf6c7301d2c20bb503754fbf7fbbcf0c4c4dddde /sfc/tests/functest/vnffgd-templates/test-deletion-vnffgd-pike.yaml
parent8e85daee26c523cd181f5884858646b7589c50af (diff)
Use different config files depending on version
We can read the openstack version from the env variables and then use a different config. The reason we use this is because openstack API changed from Pike to Queens and Pike is the official version for OPNFV Fraser release Change-Id: I8a94e71224d2ba0aa75a6438f3d7b03929acbbef Signed-off-by: Manuel Buil <mbuil@suse.com>
Diffstat (limited to 'sfc/tests/functest/vnffgd-templates/test-deletion-vnffgd-pike.yaml')
-rw-r--r--sfc/tests/functest/vnffgd-templates/test-deletion-vnffgd-pike.yaml38
1 files changed, 38 insertions, 0 deletions
diff --git a/sfc/tests/functest/vnffgd-templates/test-deletion-vnffgd-pike.yaml b/sfc/tests/functest/vnffgd-templates/test-deletion-vnffgd-pike.yaml
new file mode 100644
index 00000000..3f10e6b8
--- /dev/null
+++ b/sfc/tests/functest/vnffgd-templates/test-deletion-vnffgd-pike.yaml
@@ -0,0 +1,38 @@
+---
+tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
+description: test-case2_HTTP Test
+
+topology_template:
+ description: topology-template-test2
+ 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
+
+ groups:
+ VNFFG1:
+ type: tosca.groups.nfv.VNFFG
+ description: creates chain
+ properties:
+ vendor: tacker
+ version: 1.0
+ number_of_endpoints: 1
+ dependent_virtual_link: [VL1]
+ connection_point: [CP1]
+ constituent_vnfs: [test-vnfd1]
+ members: [Forwarding_path1]