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 /test/policy-local-files/slice-selection-files/opt_policy_nssi.json | |
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 'test/policy-local-files/slice-selection-files/opt_policy_nssi.json')
-rw-r--r-- | test/policy-local-files/slice-selection-files/opt_policy_nssi.json | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/test/policy-local-files/slice-selection-files/opt_policy_nssi.json b/test/policy-local-files/slice-selection-files/opt_policy_nssi.json new file mode 100644 index 0000000..2b7cbf8 --- /dev/null +++ b/test/policy-local-files/slice-selection-files/opt_policy_nssi.json @@ -0,0 +1,37 @@ +{ + "OSDF_FRANKFURT.minimizeCost_URLLC": { + "metadata": { + "policy-id": "OSDF_FRANKFURT.minimizeCost_URLLC", + "policy-version": 1 + }, + "properties": { + "geography": [], + "identity": "optimization", + "goal": "minimize", + "operation_function": { + "operator": "sum", + "operands": [ + { + "function": "attribute", + "params": { + "attribute": "latency", + "demand": "embb-cn" + } + } + ] + }, + "resources": [ + "embb-cn" + ], + "scope": [ + "SHARED" + ], + "services": [ + "embb-cn" + ] + }, + "type": "onap.policies.optimization.resource.OptimizationPolicy", + "type_version": "2.0.0", + "version": "1.0.0" + } +} |