diff options
author | dhebeha <dhebeha.mj71@wipro.com> | 2020-09-05 20:16:48 +0530 |
---|---|---|
committer | Vikas Varma <vikas.varma@att.com> | 2020-09-18 19:34:01 +0000 |
commit | edf98746a52408386efab26143778198b0efd3c5 (patch) | |
tree | adc101beb879a57547cc828283803bfe7c5fd89b /config | |
parent | f9b3575cae2b521ba8c6b6b30b15c89bd8a1cb48 (diff) |
Add support to process NSI selection request
Issue-ID: OPTFRA-802
Signed-off-by: dhebeha <dhebeha.mj71@wipro.com>
Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com>
Change-Id: I85d951061abc697714425bd223b89102d4f2ede9
Diffstat (limited to 'config')
-rw-r--r-- | config/common_config.yaml | 30 | ||||
-rw-r--r-- | config/has_config.yaml | 3 | ||||
-rw-r--r-- | config/slicing_config.yaml | 82 |
3 files changed, 106 insertions, 9 deletions
diff --git a/config/common_config.yaml b/config/common_config.yaml index f010e44..905aa0b 100644 --- a/config/common_config.yaml +++ b/config/common_config.yaml @@ -40,13 +40,11 @@ osdf_temp: # special configuration required for "workarounds" or testing - vnfPolicy_vPGN_TD.json - Affinity_vFW_TD.json - QueryPolicy_vFW_TD.json - slice_selection_policy_dir_urllc_1: "./test/policy-local-files/" - slice_selection_policy_files_urllc_1: - - vnfPolicy_URLLC_Core_1.json - - subscriber_policy_URLLC_1.json - - thresholdPolicy_URLLC_Core_1.json - - aggregationPolicy_URLLC_1.json - - queryPolicy_URLLC_.json + slice_selection_policy_dir_embb-nst: "./test/policy-local-files/slice-selection-files/" + slice_selection_policy_files_embb-nst: + - query_policy_nsi.json + - threshold_policy_nsi.json + - vnf_policy_nsi_shared_case.json service_info: vCPE: @@ -66,6 +64,12 @@ references: subscriber_role: source: onap.policies.optimization.SubscriberPolicy value: properties.properties.subscriberRole + resource_sharing_level: + source: request + value: serviceProfile.resourceSharingLevel + reuse_preference: + source: request + value: preferReuse policy_info: prioritization_attributes: @@ -82,10 +86,20 @@ policy_info: policy_scope: - scope: - - OSDF_FRANKFURT + - OSDF_GUILIN + - get_param: resource_sharing_level + - get_param: reuse_preference services: - get_param: service_name + subnet_selection: + policy_fetch: by_scope + policy_scope: + - scope: + - OSDF_GUILIN + services: + - get_param: service_name + placement: policy_fetch: by_scope policy_scope: diff --git a/config/has_config.yaml b/config/has_config.yaml index 0b94391..2f4a1cd 100644 --- a/config/has_config.yaml +++ b/config/has_config.yaml @@ -20,10 +20,11 @@ policy_config_mapping: orchestrationStatus: orchestration-status provStatus: prov-status cloudRegion: cloud-region - cloud_region_attributes: + cloud_region_attributes: serviceRequests: service-requests cloudRequests: cloud-requests passthrough_attributes: {} + default_attributes: {} candidates: # for (k1, v1), if k1 is in demand, set prop[k2] = _get_candidates(demand[k1]) excludedCandidates: excluded_candidates diff --git a/config/slicing_config.yaml b/config/slicing_config.yaml new file mode 100644 index 0000000..a7e3a48 --- /dev/null +++ b/config/slicing_config.yaml @@ -0,0 +1,82 @@ +app_info: + NSI: + app_name: slice_selection + requirements_field: serviceProfile + model_info: NSTInfo + NSSI: + app_name: subnet_selection + requirements_field: sliceProfile + model_info: NSSTInfo + +attribute_mapping: + camel_to_snake: + maxBandwidth: max_bandwidth + jitter: jitter + sST: sst + latency: latency + resourceSharingLevel: resource_sharing_level + uEMobilityLevel: ue_mobility_level + maxNumberOfUEs: max_number_of_ues + dLThptPerUE: dl_thpt_per_ue + uLThptPerUE: ul_thpt_per_ue + sNSSAI: s_nssai + pLMNIdList: plmn_id_list + activityFactor: activity_factor + coverageAreaTAList: coverage_area_ta_List + availability: availability + cSAvailabilityTarget: cs_availability_target + reliability: reliability + cSReliabilityMeanTime: cs_reliability_mean_time + dLThptPerSlice: dl_thpt_per_slice + expDataRateDL: exp_data_rate_dl + uLThptPerSlice: ul_thpt_per_slice + expDataRateUL: exp_data_rate_ul + MaxPktSize: max_pkt_size + msgSizeByte: msg_size_byte + maxNumberOfConns: max_number_of_conns + maxNumberOfPDUSessions: max_number_of_pdu_sessions + terminalDensity: terminal_density + survivalTime: survival_time + areaTrafficCapDL: area_traffic_cap_dl + areaTrafficCapUL: area_traffic_cap_ul + overallUserDensity: overall_user_density + transferIntervalTarget: transfer_interval_target + expDataRate: exp_data_rate + security: security + maxThroughput: max_throughput + + snake_to_camel: + max_bandwidth: maxBandwidth + jitter: jitter + sst: sST + latency: latency + resource_sharing_level: resourceSharingLevel + ue_mobility_level: uEMobilityLevel + max_number_of_ues: maxNumberOfUEs + dl_thpt_per_ue: dLThptPerUE + ul_thpt_per_ue: uLThptPerUE + s_nssai: sNSSAI + plmn_id_list: pLMNIdList + activity_factor: activityFactor + coverage_area_ta_List: coverageAreaTAList + availability: availability + cs_availability_target: cSAvailabilityTarget + reliability: reliability + cs_reliability_mean_time: cSReliabilityMeanTime + dl_thpt_per_slice: dLThptPerSlice + exp_data_rate_dl: expDataRateDL + ul_thpt_per_slice: uLThptPerSlice + exp_data_rate_ul: expDataRateUL + max_pkt_size: MaxPktSize + msg_size_byte: msgSizeByte + max_number_of_conns: maxNumberOfConns + max_number_of_pdu_sessions: maxNumberOfPDUSessions + terminal_density: terminalDensity + survival_time: survivalTime + area_traffic_cap_dl: areaTrafficCapDL + area_traffic_cap_ul: areaTrafficCapUL + overall_user_density: overallUserDensity + transfer_interval_target: transferIntervalTarget + exp_data_rate: expDataRate + security: security + max_throughput: maxThroughput |