summaryrefslogtreecommitdiffstats
path: root/osdfapp.py
diff options
context:
space:
mode:
authorMD IRSHAD SHEIKH <md.irshad.sheikh@huawei.com>2021-02-18 18:31:25 +0530
committerkrishna moorthy <krishna.moorthy6@wipro.com>2021-02-21 07:19:31 +0000
commitd9a9520bd7efe2f022c0ad3de37b0c4ada4789df (patch)
treefdab8ca4bab6a2457809c212ae920a41fb0d795a /osdfapp.py
parentbe91a8ed6b2363ff927680a8054d545842a7d8e9 (diff)
Add support to process NST Selection for HAS
Issue-ID: OPTFRA-911 Signed-off-by: MD IRSHAD SHEIKH <md.irshad.sheikh@huawei.com> Change-Id: I809857348b00fe415d416954b1cfbedd404bdffc
Diffstat (limited to 'osdfapp.py')
-rwxr-xr-xosdfapp.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/osdfapp.py b/osdfapp.py
index df85343..28f9376 100755
--- a/osdfapp.py
+++ b/osdfapp.py
@@ -126,7 +126,9 @@ def do_mdons_route_calc():
def do_nst_selection():
request_json = request.get_json()
req_id = request_json['requestInfo']['requestId']
+ audit_log.info(MH.received_request(request.url, request.remote_addr, json.dumps(request_json)))
NSTSelectionAPI(request_json).validate()
+ audit_log.info(MH.new_worker_thread(req_id, "[for NST selection]"))
nst_selection = NstSelection(osdf_config, request_json)
nst_selection.start()
return req_accept(request_id=req_id,