X-Git-Url: https://gerrit.onap.org/r/gitweb?p=demo.git;a=blobdiff_plain;f=tutorials%2F5GE2ENetworkSlicing%2Fcommon%2Fpolicies%2Fbak_nssi_policies%2Fthreshold_nssi.json;fp=tutorials%2F5GE2ENetworkSlicing%2Fcommon%2Fpolicies%2Fbak_nssi_policies%2Fthreshold_nssi.json;h=63bd3adf1964b5c6687f6f15420bccb90fec0b92;hp=0000000000000000000000000000000000000000;hb=142b5372b98ac9fbe0e8c847d90a52952e09f948;hpb=554afbb5729fe19b6d978d4add1b4b7c6e34ef7a diff --git a/tutorials/5GE2ENetworkSlicing/common/policies/bak_nssi_policies/threshold_nssi.json b/tutorials/5GE2ENetworkSlicing/common/policies/bak_nssi_policies/threshold_nssi.json new file mode 100644 index 00000000..63bd3adf --- /dev/null +++ b/tutorials/5GE2ENetworkSlicing/common/policies/bak_nssi_policies/threshold_nssi.json @@ -0,0 +1,42 @@ +{ + "Threshold_{{ service_name }}": { + "metadata": { + "policy-id": "Threshold_{{ service_name }}", + "policy-version": 1 + }, + "properties": { + "geography": [], + "identity": "Threshold_{{ service_name }}", + "resources": [ + "{{ service_name }}" + ], + "scope": [ + "OSDF_GUILIN" + ], + "services": [ + "{{ service_name }}" + ], + "thresholdProperties": [ + { + "attribute": "latency", + "operator": "lte", + "threshold": { + "get_param": "latency" + }, + "unit": "ms" + }, + { + "attribute": "reliability", + "operator": "gte", + "threshold": { + "get_param": "reliability" + }, + "unit": "" + } + ] + }, + "type": "onap.policies.optimization.resource.ThresholdPolicy", + "type_version": "1.0.0", + "version": "1.0.0" + } +}