X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=config%2Fcommon_config.yaml;h=905aa0b81a32cf9607c8b45448f4b4c7e72e8ea2;hb=2962535eb471eb0aeadf2d9e21b9439618328279;hp=f29e8c00159edd37110839203fca2aaa257bc095;hpb=bb6a43aeadc50bc5e0780c894fc756e7ee95ecf3;p=optf%2Fosdf.git diff --git a/config/common_config.yaml b/config/common_config.yaml index f29e8c0..905aa0b 100644 --- a/config/common_config.yaml +++ b/config/common_config.yaml @@ -11,9 +11,11 @@ osdf_temp: # special configuration required for "workarounds" or testing local_policies: global_disabled: True local_placement_policies_enabled: True + local_slice_selection_policies_enabled: True placement_policy_dir_vcpe: "./test/policy-local-files/" placement_policy_files_vcpe: # workaroud for policy platform glitches (or "work-arounds" for other components) - Affinity_vCPE_1.json + - Attribute_vNS_1.json #- Capacity_vGMuxInfra.json #- Capacity_vG_1.json - Distance_vG_1.json @@ -36,8 +38,14 @@ osdf_temp: # special configuration required for "workarounds" or testing placement_policy_files_vfw_td: - vnfPolicy_vFW_TD.json - vnfPolicy_vPGN_TD.json - - affinity_vFW_TD.json + - Affinity_vFW_TD.json - QueryPolicy_vFW_TD.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: vcpeHostName: requestParameters.vcpeHostName @@ -56,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: @@ -67,6 +81,25 @@ policy_info: service_name: - properties.services + slice_selection: + policy_fetch: by_scope + policy_scope: + - + scope: + - 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: @@ -75,7 +108,7 @@ policy_info: - OSDF_FRANKFURT geography: - US - service: + services: - get_param: service_name resources: - get_param: resource @@ -85,3 +118,13 @@ policy_info: default: # if no explicit service related information is needed policy_fetch: by_name policy_scope: none + +PCI: + ML: + average_ho_threshold: 10000 + latest_ho_threshold: 500 + DES: + service_id: ho_metric + filter: + interval: 10 + ml_enabled: false \ No newline at end of file