aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/tests/functest/vnfd-templates
diff options
context:
space:
mode:
authorGeorge Paraskevopoulos <geopar@intracom-telecom.com>2017-02-15 14:24:14 +0200
committerGeorge Paraskevopoulos <geopar@intracom-telecom.com>2017-02-15 16:59:11 +0200
commitcbd1cf8b06a89a9c4021048b6a6dd466bf72d4c8 (patch)
tree1b4cdf2a050653e9802b4b8608c135adb7e84e59 /sfc/tests/functest/vnfd-templates
parentf9a6e37b970ff3974ad9e3f0027354d04bbf3ce7 (diff)
Pass availability zone as param on vnf create
JIRA: SFC-63 JIRA: SFC-73 Instead of changing the vnfd-template file in runtime we can pass the availability zone as a parameter when the vnf is created This enables also the use of topology_shuffler for SFC-63 Change-Id: Ie650e3347e40aee030005b6a2272cae64968d303 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
Diffstat (limited to 'sfc/tests/functest/vnfd-templates')
-rw-r--r--sfc/tests/functest/vnfd-templates/test-vnfd-default-params.yaml1
-rw-r--r--sfc/tests/functest/vnfd-templates/test-vnfd1.yaml2
-rw-r--r--sfc/tests/functest/vnfd-templates/test-vnfd2.yaml2
-rw-r--r--sfc/tests/functest/vnfd-templates/test2-vnfd1.yaml2
-rw-r--r--sfc/tests/functest/vnfd-templates/test2-vnfd2.yaml2
5 files changed, 5 insertions, 4 deletions
diff --git a/sfc/tests/functest/vnfd-templates/test-vnfd-default-params.yaml b/sfc/tests/functest/vnfd-templates/test-vnfd-default-params.yaml
new file mode 100644
index 00000000..5b052e5f
--- /dev/null
+++ b/sfc/tests/functest/vnfd-templates/test-vnfd-default-params.yaml
@@ -0,0 +1 @@
+zone: nova
diff --git a/sfc/tests/functest/vnfd-templates/test-vnfd1.yaml b/sfc/tests/functest/vnfd-templates/test-vnfd1.yaml
index fd862ea0..79a625fa 100644
--- a/sfc/tests/functest/vnfd-templates/test-vnfd1.yaml
+++ b/sfc/tests/functest/vnfd-templates/test-vnfd1.yaml
@@ -20,7 +20,7 @@ vdus:
management: true
placement_policy:
- availability_zone: nova
+ availability_zone: { get_input: zone }
auto-scaling: noop
monitoring_policy: noop
diff --git a/sfc/tests/functest/vnfd-templates/test-vnfd2.yaml b/sfc/tests/functest/vnfd-templates/test-vnfd2.yaml
index 5451358d..64f799e4 100644
--- a/sfc/tests/functest/vnfd-templates/test-vnfd2.yaml
+++ b/sfc/tests/functest/vnfd-templates/test-vnfd2.yaml
@@ -20,7 +20,7 @@ vdus:
management: true
placement_policy:
- availability_zone: nova
+ availability_zone: { get_input: zone }
auto-scaling: noop
monitoring_policy: noop
diff --git a/sfc/tests/functest/vnfd-templates/test2-vnfd1.yaml b/sfc/tests/functest/vnfd-templates/test2-vnfd1.yaml
index 1d8da125..e8e0626b 100644
--- a/sfc/tests/functest/vnfd-templates/test2-vnfd1.yaml
+++ b/sfc/tests/functest/vnfd-templates/test2-vnfd1.yaml
@@ -22,7 +22,7 @@ vdus:
placement_policy:
# TODO: This availability zone is changed by the test case on the fly.
# See JIRA SFC-73 for more info
- availability_zone: nova
+ availability_zone: { get_input: zone }
auto-scaling: noop
monitoring_policy: noop
diff --git a/sfc/tests/functest/vnfd-templates/test2-vnfd2.yaml b/sfc/tests/functest/vnfd-templates/test2-vnfd2.yaml
index 280fc9e5..93a38acb 100644
--- a/sfc/tests/functest/vnfd-templates/test2-vnfd2.yaml
+++ b/sfc/tests/functest/vnfd-templates/test2-vnfd2.yaml
@@ -22,7 +22,7 @@ vdus:
placement_policy:
# TODO: This availability zone is changed by the test case on the fly.
# See JIRA SFC-73 for more info
- availability_zone: nova
+ availability_zone: { get_input: zone }
auto-scaling: noop
monitoring_policy: noop