diff options
author | dhebeha <dhebeha.mj71@wipro.com> | 2020-05-19 18:33:05 +0530 |
---|---|---|
committer | dhebeha <dhebeha.mj71@wipro.com> | 2020-05-19 20:37:57 +0530 |
commit | 21d1cc6026f6bc7853cf3bf7fdfe5c598884a62b (patch) | |
tree | 8de94181631778f5700a23fbc09f0e7fb3cda325 | |
parent | 349bbf794dbc34a96755ae40e98b8ba83a074a02 (diff) |
remove logs
Issue-ID: OPTFRA-754
Signed-off-by: dhebeha <dhebeha.mj71@wipro.com>
Change-Id: I76f749af68bd3f4463e5eb4339270a99adcabf13
-rw-r--r-- | apps/slice_selection/optimizers/conductor/response_processor.py | 1 | ||||
-rw-r--r-- | test/apps/slice_selection/shared_solution_nsi_response.json | 7 |
2 files changed, 6 insertions, 2 deletions
diff --git a/apps/slice_selection/optimizers/conductor/response_processor.py b/apps/slice_selection/optimizers/conductor/response_processor.py index 9b57092..a9bdad0 100644 --- a/apps/slice_selection/optimizers/conductor/response_processor.py +++ b/apps/slice_selection/optimizers/conductor/response_processor.py @@ -67,6 +67,7 @@ def conductor_response_processor(overall_recommendations, nst_info_map, request_ nssi["NSSIName"] = nssi_info.get("NSSISolution").get("NSSIName") nssi["UUID"] = "" nssi["invariantUUID"] = "" + nssi_info.get("sliceProfile").update({"domainType":"cn"}) nssi["sliceProfile"] = [nssi_info.get("sliceProfile")] nssis.append(nssi) diff --git a/test/apps/slice_selection/shared_solution_nsi_response.json b/test/apps/slice_selection/shared_solution_nsi_response.json index 46257dd..3e1ad9f 100644 --- a/test/apps/slice_selection/shared_solution_nsi_response.json +++ b/test/apps/slice_selection/shared_solution_nsi_response.json @@ -20,7 +20,8 @@ "expDataRateUL": 100, "latency": 20, "resourceSharingLevel": "0", - "uEMobilityLevel": "stationary" + "uEMobilityLevel": "stationary", + "domainType" : "cn" } ] }, @@ -36,7 +37,9 @@ "expDataRateUL": 100, "latency": 15, "resourceSharingLevel": "0", - "uEMobilityLevel": "stationary" + "uEMobilityLevel": "stationary", + "domainType" : "cn" + } ] } |