summaryrefslogtreecommitdiffstats
path: root/conductor/conductor/data/plugins/inventory_provider/candidates/slice_profiles_candidate.py
diff options
context:
space:
mode:
Diffstat (limited to 'conductor/conductor/data/plugins/inventory_provider/candidates/slice_profiles_candidate.py')
-rw-r--r--conductor/conductor/data/plugins/inventory_provider/candidates/slice_profiles_candidate.py14
1 files changed, 6 insertions, 8 deletions
diff --git a/conductor/conductor/data/plugins/inventory_provider/candidates/slice_profiles_candidate.py b/conductor/conductor/data/plugins/inventory_provider/candidates/slice_profiles_candidate.py
index a8f0b47..68e767e 100644
--- a/conductor/conductor/data/plugins/inventory_provider/candidates/slice_profiles_candidate.py
+++ b/conductor/conductor/data/plugins/inventory_provider/candidates/slice_profiles_candidate.py
@@ -43,7 +43,8 @@ ATTRIBUTE_AGGREGATION = {
"ue_mobility_level": copy_first,
"activity_factor": copy_first,
"survival_time": copy_first,
- "max_number_of_conns": copy_first
+ "max_number_of_conns": copy_first,
+ "coverage_area_ta_list": copy_first
}
@@ -87,12 +88,9 @@ def get_slice_requirements(subnet_requirements):
slice_profile_tuples = {}
for key in slice_requirements_keys:
- if key == "coverage_area_ta_list":
- pass
- else:
- attributes = []
- for slice_profile in subnet_requirements.values():
- attributes.append(slice_profile.get(key))
- slice_profile_tuples[key] = attributes
+ attributes = []
+ for slice_profile in subnet_requirements.values():
+ attributes.append(slice_profile.get(key))
+ slice_profile_tuples[key] = attributes
return {attr: ATTRIBUTE_AGGREGATION[attr](values) for attr, values in slice_profile_tuples.items()}