From a459dee88ba00d6f8283232ce2159594ae23d22a Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Sat, 24 Mar 2018 17:07:21 +0100 Subject: 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 --- .../test-two-chains-vnffgd2-pike.yaml | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 sfc/tests/functest/vnffgd-templates/test-two-chains-vnffgd2-pike.yaml (limited to 'sfc/tests/functest/vnffgd-templates/test-two-chains-vnffgd2-pike.yaml') diff --git a/sfc/tests/functest/vnffgd-templates/test-two-chains-vnffgd2-pike.yaml b/sfc/tests/functest/vnffgd-templates/test-two-chains-vnffgd2-pike.yaml new file mode 100644 index 00000000..ec18c9d6 --- /dev/null +++ b/sfc/tests/functest/vnffgd-templates/test-two-chains-vnffgd2-pike.yaml @@ -0,0 +1,39 @@ +--- +tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0 +description: test-case2_SSH 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: 2 + policy: + type: ACL + criteria: + - network_src_port_id: {get_input: net_src_port_id} + - destination_port_range: 22-80 + - ip_proto: 6 + path: + - forwarder: test-vnfd2 + 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-vnfd2] + members: [Forwarding_path1] -- cgit 1.2.3-korg