summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/slice_selection/optimizers/conductor/response_processor.py1
-rw-r--r--test/apps/slice_selection/shared_solution_nsi_response.json7
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"
+
}
]
}