diff options
author | 2020-10-07 17:01:58 +0530 | |
---|---|---|
committer | 2020-10-07 19:52:51 +0530 | |
commit | f173849ec0e08930f7c546543a8dd6b14954c308 (patch) | |
tree | 4db58d8f1b520817405e5cd8641972e304456772 /test/policy-local-files/slice-selection-files/vnf_policy_nsi_non_shared_case.json | |
parent | 21587bf56798b440dd4ddf6e35f121505b90fb0d (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 'test/policy-local-files/slice-selection-files/vnf_policy_nsi_non_shared_case.json')
-rw-r--r-- | test/policy-local-files/slice-selection-files/vnf_policy_nsi_non_shared_case.json | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/policy-local-files/slice-selection-files/vnf_policy_nsi_non_shared_case.json b/test/policy-local-files/slice-selection-files/vnf_policy_nsi_non_shared_case.json index 1774780..09aba6e 100644 --- a/test/policy-local-files/slice-selection-files/vnf_policy_nsi_non_shared_case.json +++ b/test/policy-local-files/slice-selection-files/vnf_policy_nsi_non_shared_case.json @@ -9,8 +9,7 @@ "identity":"vnf_URLLC", "resources":["embb-nst"], "scope":[ - "OSDF_GUILIN", - "non-shared" + "not-shared" ], "services":[ "embb-nst" @@ -19,6 +18,11 @@ "vnfProperties":[ { "attributes":{ + "service_profile": { + "latency": {"value": {"get_param": "latency"}, "operator": "lte"}, + "reliability": {"value": {"get_param": "reliability"}, "operator": "gte"} + }, + "subnets": { "core":{ "latency":{ "max":{"get_param":"latency"}, @@ -58,6 +62,7 @@ ] } } + } }, "inventoryProvider":"generator", "inventoryType":"slice_profiles", |