diff options
author | krishnaa96 <krishna.moorthy6@wipro.com> | 2020-03-10 10:55:13 +0530 |
---|---|---|
committer | krishnaa96 <krishna.moorthy6@wipro.com> | 2020-03-20 20:39:59 +0530 |
commit | f30da9513ae0501f453ee93729b381270fad0a2b (patch) | |
tree | a3ab005e2f16bfe8709bdcfbab6d28b5c6760a19 /apps/placement/templates/conductor_interface.json | |
parent | 420f4b3a4ca25d5de5c9318b2ca89e1ef126b278 (diff) |
Add generic conductor interface
Issue-ID: OPTFRA-715
Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com>
Change-Id: I84218ab65e645a90d2ff1c365bdde1e06ab27d2e
Diffstat (limited to 'apps/placement/templates/conductor_interface.json')
-rwxr-xr-x | apps/placement/templates/conductor_interface.json | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/apps/placement/templates/conductor_interface.json b/apps/placement/templates/conductor_interface.json deleted file mode 100755 index 030d6a0..0000000 --- a/apps/placement/templates/conductor_interface.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "{{ name }}", - "files": {}, - "timeout": {{ timeout }}, - "num_solution": "{{ limit }}", - "template": { - "homing_template_version": "2017-10-10", - "parameters": { - {% set comma=joiner(",") %} - {% for key, value in request_params.items() %} {{ comma() }} - "{{key}}": {{ json.dumps(value) }} - {% endfor %} - }, - "locations": { - "customer_loc": { - "latitude": { "get_param": "customer_lat" }, - "longitude": { "get_param": "customer_long" } - } - }, - "demands": {{ json.dumps(demand_list) }}, - {% set comma_main = joiner(",") %} - "constraints": { - {% set comma=joiner(",") %} - {% for elem in policy_groups %} {{ comma() }} - {% for key, value in elem.items() %} - "{{key}}": {{ json.dumps(value) }} - {% endfor %} - {% endfor %} - }, - "optimization": { - {% set comma=joiner(",") %} - {% for elem in optimization_policies %} {{ comma() }} - {% for key, value in elem.items() %} - "{{key}}": {{ json.dumps(value) }} - {% endfor %} - {% endfor %} - } - } -} |