From 56fb19b663557ce07be6d4e5c07fd4a5b9276ed2 Mon Sep 17 00:00:00 2001 From: Dimitrios Markou Date: Fri, 1 Sep 2017 14:26:45 +0300 Subject: Adapt functionality to the new Tacker API Change-Id: I078e9f26d3040cf04120abd425f03cb4f2e8daef Signed-off-by: Dimitrios Markou --- .../functest/vnffgd-templates/test2-vnffgd2.yaml | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) (limited to 'sfc/tests/functest/vnffgd-templates/test2-vnffgd2.yaml') diff --git a/sfc/tests/functest/vnffgd-templates/test2-vnffgd2.yaml b/sfc/tests/functest/vnffgd-templates/test2-vnffgd2.yaml index 80a41edd..401a4272 100644 --- a/sfc/tests/functest/vnffgd-templates/test2-vnffgd2.yaml +++ b/sfc/tests/functest/vnffgd-templates/test2-vnffgd2.yaml @@ -4,11 +4,6 @@ description: test-case2_SSH Test topology_template: description: topology-template-test2 - inputs: - net_src_id: - type: string - ip_dst: - type: string node_templates: Forwarding_path1: @@ -19,14 +14,11 @@ topology_template: policy: type: ACL criteria: - - network_src_port_id: {get_input: net_src_id} - - destination_port_range: 22-22 + - source_port_range: 0-0 + - destination_port_range: 22-80 - ip_proto: 6 - - ip_dst_prefix: {get_input: ip_dst} path: - - forwarder: VNFD1 - capability: CP1 - - forwarder: VNFD2 + - forwarder: test-vnfd2 capability: CP1 groups: @@ -36,8 +28,8 @@ topology_template: properties: vendor: tacker version: 1.0 - number_of_endpoints: 2 - dependent_virtual_link: [VL1, VL1] - connection_point: [CP1, CP1] - constituent_vnfs: [VNFD1, VNFD2] + number_of_endpoints: 1 + dependent_virtual_link: [VL1] + connection_point: [CP1] + constituent_vnfs: [test-vnfd2] members: [Forwarding_path1] -- cgit 1.2.3-korg