Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Sample Threshold Policy

Code Block
languagetext
titleThreshold Policy
collapsetrue
{
   "OSDF_FRANKFURT.Threshold_URLLC_Core_1":{
      "type":"onap.policies.optimization.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"
         ],
         "identity":"Threshold_URLLC_Core_1",
         "applicableResources":"any",
         "thresholdProperties":[
            {
               "attribute":"latency",
               "operator":"lte",
               "threshold":5,
               "unit":"ms"
            },
            {
               "attribute":"reliability",
               "operator":"gte",
               "threshold":99.999,
               "unit":""
            }
         ]
      }
   }
}