add aggregation policy for NSI selection
[optf/osdf.git] / test / policy-local-files / thresholdPolicy_URLLC_Core_1.json
diff --git a/test/policy-local-files/thresholdPolicy_URLLC_Core_1.json b/test/policy-local-files/thresholdPolicy_URLLC_Core_1.json
new file mode 100644 (file)
index 0000000..6c602ee
--- /dev/null
@@ -0,0 +1,41 @@
+{
+                   "OSDF_FRANKFURT.Threshold_URLLC_Core_1":{
+                      "type":"onap.policies.optimization.resource.ThresholdPolicy",
+                      "version":"1.0.0",
+                      "type_version":"1.0.0",
+                      "metadata":{
+                         "policy-id":"OSDF_FRANKFURT.Threshold_URLLC_Core_1",
+                         "policy-version":1
+                      },
+                      "properties":{
+                         "scope":[
+                            "OSDF_FRANKFURT",
+                            "URLLC_1",
+                            "URLLC_Core_1"
+                         ],
+                         "resources":[
+                            "URLLC_Core_1"
+                         ],
+                         "services":[
+                            "URLLC_1"
+                         ],
+                         "geography": [],
+                         "identity":"Threshold_URLLC_Core_1",
+                         "thresholdProperties":[
+                               {
+                                  "attribute":"latency",
+                                  "operator":"lte",
+                                  "threshold":5,
+                                  "unit":"ms"
+                               },
+                               {
+                                  "attribute":"reliability",
+                                  "operator":"gte",
+                                  "threshold":99.999,
+                                  "unit":""
+                               }
+
+                         ]
+                      }
+                   }
+}
\ No newline at end of file