aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests/optf-has/has/data/plan_without_demand_section.json
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-03-12 16:35:54 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-12 16:35:54 +0000
commit56d1c832a08fc14413bc7e8ec5d3403ebf1d94f2 (patch)
tree6b0d13202227badecf3ac952de26e768b89ff2ec /test/csit/tests/optf-has/has/data/plan_without_demand_section.json
parent39936a26c3d0a47e145e8df95c06bd682c2a0ce7 (diff)
parentd280c2636f4eb21cf31095acb0e8e03ac3c47148 (diff)
Merge "Rename optf base dir to optf-has"
Diffstat (limited to 'test/csit/tests/optf-has/has/data/plan_without_demand_section.json')
-rw-r--r--test/csit/tests/optf-has/has/data/plan_without_demand_section.json93
1 files changed, 93 insertions, 0 deletions
diff --git a/test/csit/tests/optf-has/has/data/plan_without_demand_section.json b/test/csit/tests/optf-has/has/data/plan_without_demand_section.json
new file mode 100644
index 000000000..87a459d87
--- /dev/null
+++ b/test/csit/tests/optf-has/has/data/plan_without_demand_section.json
@@ -0,0 +1,93 @@
+{
+ "name": "onap optf has plan with wrong version",
+ "template": {
+ "conductor_template_version": "2016-11-01",
+ "parameters": {
+ "UCPEHOST": "chcil129snd",
+ "CUSTOMER":"21014aa2-526b-11e6-beb8-9e71128cae77"
+ },
+ "locations": {
+ "customer_loc": {
+ "host_name": {
+ "get_param": "UCPEHOST"
+ }
+ }
+ },
+ "constraints": {
+ "distance-vvig": {
+ "type": "distance_to_location",
+ "demands": [
+ "vVIGaaS_SECONDARY_1",
+ "vVIGaaS_PRIMARY_1"
+ ],
+ "properties": {
+ "distance": "< 5000 km",
+ "location": "customer_loc"
+ }
+ },
+ "distance-vgw": {
+ "type": "distance_to_location",
+ "demands": [
+ "vHNGWaaS_SECONDARY_1",
+ "vHNGWaaS_PRIMARY_1"
+ ],
+ "properties": {
+ "distance": "< 5000 km",
+ "location": "customer_loc"
+ }
+ },
+ "zone-vhngw": {
+ "type": "zone",
+ "demands": [
+ "vHNGWaaS_SECONDARY_1",
+ "vHNGWaaS_PRIMARY_1"
+ ],
+ "properties": {
+ "qualifier": "different",
+ "category": "complex"
+ }
+ },
+ "zone-vhnportal": {
+ "type": "zone",
+ "demands": [
+ "vHNPortalaaS_SECONDARY_1",
+ "vHNPortalaaS_PRIMARY_1"
+ ],
+ "properties": {
+ "qualifier": "different",
+ "category": "complex"
+ }
+ }
+ },
+ "optimization": {
+ "minimize": {
+ "sum": [
+ {
+ "product": [
+ 1,
+ {
+ "distance_between": [
+ "customer_loc",
+ "vVIGaaS_PRIMARY_1"
+ ]
+ }
+ ]
+ },
+ {
+ "product": [
+ 1,
+ {
+ "distance_between": [
+ "customer_loc",
+ "vHNGWaaS_PRIMARY_1"
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ }
+},
+ "timeout": 5,
+ "limit": 3
+}