aboutsummaryrefslogtreecommitdiffstats
path: root/tutorials/5GE2ENetworkSlicing/common/policies/nssi_policies/threshold_nssi.json
diff options
context:
space:
mode:
Diffstat (limited to 'tutorials/5GE2ENetworkSlicing/common/policies/nssi_policies/threshold_nssi.json')
-rw-r--r--tutorials/5GE2ENetworkSlicing/common/policies/nssi_policies/threshold_nssi.json34
1 files changed, 34 insertions, 0 deletions
diff --git a/tutorials/5GE2ENetworkSlicing/common/policies/nssi_policies/threshold_nssi.json b/tutorials/5GE2ENetworkSlicing/common/policies/nssi_policies/threshold_nssi.json
new file mode 100644
index 00000000..53a59773
--- /dev/null
+++ b/tutorials/5GE2ENetworkSlicing/common/policies/nssi_policies/threshold_nssi.json
@@ -0,0 +1,34 @@
+{
+ "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"
+ }
+ ]
+ },
+ "type": "onap.policies.optimization.resource.ThresholdPolicy",
+ "type_version": "1.0.0",
+ "version": "1.0.0"
+ }
+}