summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChayal, Avteet (ac229e) <ac229e@att.com>2019-05-07 13:35:03 +0000
committerChayal, Avteet (ac229e) <ac229e@att.com>2019-05-07 14:02:08 +0000
commitc46ef94c1b65b58646f20a3541c94ece28c2e0f0 (patch)
tree883d5d7435348cdcd82ff2d375a36c80beabcbef
parentae66c89c47676916fd1e99a4f12a8b9da89bc2ae (diff)
Fix OSDF input to HAS to use num_solution
Fix OSDF input to HAS to use num_solution Issue-ID: OPTFRA-497 Change-Id: I339a9e09aac766ce918ce6fa6d4dffc9d7ae741b Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
-rwxr-xr-xosdf/templates/conductor_interface.json2
-rwxr-xr-xosdf/templates/plc_opt_request.jsont4
-rw-r--r--test/placement-tests/request_placement_vfmod.json4
3 files changed, 5 insertions, 5 deletions
diff --git a/osdf/templates/conductor_interface.json b/osdf/templates/conductor_interface.json
index 0b8e6a1..04ed29f 100755
--- a/osdf/templates/conductor_interface.json
+++ b/osdf/templates/conductor_interface.json
@@ -2,7 +2,7 @@
"name": "{{ name }}",
"files": {},
"timeout": {{ timeout }},
- "limit": {{ limit }},
+ "num_solution": {{ limit }},
"template": {
"homing_template_version": "2017-10-10",
"parameters": {
diff --git a/osdf/templates/plc_opt_request.jsont b/osdf/templates/plc_opt_request.jsont
index cd78b3e..a218b8a 100755
--- a/osdf/templates/plc_opt_request.jsont
+++ b/osdf/templates/plc_opt_request.jsont
@@ -2,7 +2,7 @@
"name": "{{ name }}",
"files": "{{ files }}",
"timeout": "{{ timeout }}",
- "limit": "{{ limit }}",
+ "num_solution": "{{ limit }}",
"template": {
"CUST_ID": "{{ cust_id }}",
"E2EVPNKEY": "{{ e2evpnkey }}",
@@ -139,4 +139,4 @@
{% endfor %}
}
}
-} \ No newline at end of file
+}
diff --git a/test/placement-tests/request_placement_vfmod.json b/test/placement-tests/request_placement_vfmod.json
index 9e85e74..d9f620f 100644
--- a/test/placement-tests/request_placement_vfmod.json
+++ b/test/placement-tests/request_placement_vfmod.json
@@ -82,7 +82,7 @@
},
"homing_template_version": "2017-10-10"
},
- "limit": 100,
+ "num_solution": 100,
"files": {},
"timeout": 1200
-} \ No newline at end of file
+}