diff options
author | Maciej Lisowski <m.lisowski2@partner.samsung.com> | 2022-02-16 15:37:35 +0100 |
---|---|---|
committer | Maciej Lisowski <m.lisowski2@partner.samsung.com> | 2022-02-21 12:45:16 +0100 |
commit | 142b5372b98ac9fbe0e8c847d90a52952e09f948 (patch) | |
tree | d0555aa547302d1fab1795747a1ba7524fad799c /tutorials/5GE2ENetworkSlicing/common/policies/trtnsst/threshold_nsi.json | |
parent | 554afbb5729fe19b6d978d4add1b4b7c6e34ef7a (diff) |
Make Network Slicing usecase more user friendly
It was required to create a directory containing all files related to Network Slicing in order to make the usecase more user friendly. This change contains policies with already made automated scripts.
Issue-ID: INT-2069
Signed-off-by: Maciej Lisowski <m.lisowski2@partner.samsung.com>
Change-Id: Ia6f003a2dbff53f32a2fc0614bb646302b6d080b
Diffstat (limited to 'tutorials/5GE2ENetworkSlicing/common/policies/trtnsst/threshold_nsi.json')
-rw-r--r-- | tutorials/5GE2ENetworkSlicing/common/policies/trtnsst/threshold_nsi.json | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/tutorials/5GE2ENetworkSlicing/common/policies/trtnsst/threshold_nsi.json b/tutorials/5GE2ENetworkSlicing/common/policies/trtnsst/threshold_nsi.json new file mode 100644 index 00000000..5b99b7fd --- /dev/null +++ b/tutorials/5GE2ENetworkSlicing/common/policies/trtnsst/threshold_nsi.json @@ -0,0 +1,36 @@ +{ + "Threshold_{{ service_name }}": { + "metadata": { + "policy-id": "Threshold_{{ service_name }}", + "policy-version": 1 + }, + "properties": { + "geography": [], + "identity": "Threshold_{{ service_name }}", + "resources": [ + "{{ service_name }}" + ], + "scope": [ + "shared,reuse", + "shared,create_new", + "non-shared" + ], + "services": [ + "{{ service_name }}" + ], + "thresholdProperties": [ + { + "attribute": "latency", + "operator": "lte", + "threshold": { + "get_param": "latency" + }, + "unit": "ms" + } + ] + }, + "type": "onap.policies.optimization.resource.ThresholdPolicy", + "type_version": "1.0.0", + "version": "1.0.0" + } +} |