aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/tests/functest/vnffgd-templates
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2017-09-14 18:56:18 +0200
committerManuel Buil <mbuil@suse.com>2017-09-20 07:11:41 +0000
commit2ce3eccae3de3f97c2ad8b2041d1b068d070a6e3 (patch)
tree69f8f206735a661722b00254ad925ad78d214c64 /sfc/tests/functest/vnffgd-templates
parent3cea8f88d68e71e22be478beab8ce94a0d352392 (diff)
Create vnffg providing the neutron_port
JIRA: SFC-107 We are submitting the vnffgd with a variable for the neutron_port. Before creating the vnffg, we must provide a file with the neutron_port value Change-Id: I9994e2baa53f323df17434448d372598c0d94c72 Signed-off-by: Manuel Buil <mbuil@suse.com> (cherry picked from commit 9c11d59035ff1741c5e6d935aa7c2ed23d15f485)
Diffstat (limited to 'sfc/tests/functest/vnffgd-templates')
-rw-r--r--sfc/tests/functest/vnffgd-templates/test2-vnffgd1.yaml5
-rw-r--r--sfc/tests/functest/vnffgd-templates/test2-vnffgd2.yaml6
2 files changed, 9 insertions, 2 deletions
diff --git a/sfc/tests/functest/vnffgd-templates/test2-vnffgd1.yaml b/sfc/tests/functest/vnffgd-templates/test2-vnffgd1.yaml
index 24a32db4..f0615e4e 100644
--- a/sfc/tests/functest/vnffgd-templates/test2-vnffgd1.yaml
+++ b/sfc/tests/functest/vnffgd-templates/test2-vnffgd1.yaml
@@ -4,6 +4,9 @@ description: test-case2_HTTP Test
topology_template:
description: topology-template-test2
+ inputs:
+ net_src_port_id:
+ type: string
node_templates:
Forwarding_path1:
@@ -14,7 +17,7 @@ topology_template:
policy:
type: ACL
criteria:
- - source_port_range: 0-0
+ - network_src_port_id: {get_input: net_src_port_id}
- destination_port_range: 22-80
- ip_proto: 6
path:
diff --git a/sfc/tests/functest/vnffgd-templates/test2-vnffgd2.yaml b/sfc/tests/functest/vnffgd-templates/test2-vnffgd2.yaml
index 401a4272..ec18c9d6 100644
--- a/sfc/tests/functest/vnffgd-templates/test2-vnffgd2.yaml
+++ b/sfc/tests/functest/vnffgd-templates/test2-vnffgd2.yaml
@@ -4,6 +4,10 @@ description: test-case2_SSH Test
topology_template:
description: topology-template-test2
+ inputs:
+ net_src_port_id:
+ type: string
+
node_templates:
Forwarding_path1:
@@ -14,7 +18,7 @@ topology_template:
policy:
type: ACL
criteria:
- - source_port_range: 0-0
+ - network_src_port_id: {get_input: net_src_port_id}
- destination_port_range: 22-80
- ip_proto: 6
path: