aboutsummaryrefslogtreecommitdiffstats
path: root/config/common_config.yaml
diff options
context:
space:
mode:
authorkrishnaa96 <krishna.moorthy6@wipro.com>2020-10-07 17:01:58 +0530
committerkrishnaa96 <krishna.moorthy6@wipro.com>2020-10-07 19:52:51 +0530
commitf173849ec0e08930f7c546543a8dd6b14954c308 (patch)
tree4db58d8f1b520817405e5cd8641972e304456772 /config/common_config.yaml
parent21587bf56798b440dd4ddf6e35f121505b90fb0d (diff)
Return empty solution if no candidate found
Update policy filter for NSI selection Return empty solution instead of error if no candidate is found Issue-ID: OPTFRA-855 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I2f5ecbb9464fef3dbc844339968f6cdb1123b2b5
Diffstat (limited to 'config/common_config.yaml')
-rw-r--r--config/common_config.yaml10
1 files changed, 3 insertions, 7 deletions
diff --git a/config/common_config.yaml b/config/common_config.yaml
index 8f028b3..d720fb2 100644
--- a/config/common_config.yaml
+++ b/config/common_config.yaml
@@ -64,12 +64,9 @@ references:
subscriber_role:
source: onap.policies.optimization.SubscriberPolicy
value: properties.properties.subscriberRole
- resource_sharing_level:
+ slice_scope:
source: request
- value: serviceProfile.resourceSharingLevel
- reuse_preference:
- source: request
- value: preferReuse
+ value: slice_scope
policy_info:
prioritization_attributes:
@@ -86,8 +83,7 @@ policy_info:
policy_scope:
-
scope:
- - get_param: resource_sharing_level
- - get_param: reuse_preference
+ - get_param: slice_scope
services:
- get_param: service_name
resources: