aboutsummaryrefslogtreecommitdiffstats
path: root/apps/placement/optimizers/conductor
diff options
context:
space:
mode:
authorkrishnaa96 <krishna.moorthy6@wipro.com>2020-03-23 13:11:07 +0530
committerkrishnaa96 <krishna.moorthy6@wipro.com>2020-03-23 13:16:31 +0530
commitfcb37e97e37137d3111924e993e75fdb83c2a0a0 (patch)
treeb907cf4f4fb01b8961747f50caf9b9937e0b54fe /apps/placement/optimizers/conductor
parentf0f912e2e8cb23952099c3df83167181a50ab2f8 (diff)
Add functionality to support NSI selection
Issue-ID: OPTFRA-677 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: Ibc51e15fce4692a445df400053060d3a6977b4ce
Diffstat (limited to 'apps/placement/optimizers/conductor')
-rw-r--r--apps/placement/optimizers/conductor/remote_opt_processor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/placement/optimizers/conductor/remote_opt_processor.py b/apps/placement/optimizers/conductor/remote_opt_processor.py
index 0b5cb16..3d7a287 100644
--- a/apps/placement/optimizers/conductor/remote_opt_processor.py
+++ b/apps/placement/optimizers/conductor/remote_opt_processor.py
@@ -134,8 +134,8 @@ def process_placement_opt(request_json, policies, osdf_config):
demands = request_json['placementInfo']['placementDemands']
request_parameters = request_json['placementInfo']['requestParameters']
service_info = request_json['serviceInfo']
- resp = conductor.request(req_info, demands, request_parameters, service_info,
- osdf_config, policies)
+ resp = conductor.request(req_info, demands, request_parameters, service_info, True,
+ osdf_config, policies)
if resp["plans"][0].get("recommendations"):
placement_response = conductor_response_processor(resp, req_id, transaction_id)
else: # "solved" but no solutions found