Versions Compared

Key

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

...

Code Block
languagetext
titleSample Threshold Policy
linenumberstrue
collapsetrue
{
                   "OSDF_FRANKFURT.Threshold_URLLC_Core_1":{

                     "type":"onap.policies.optimization.resource.ThresholdPolicy",
 
                    "version":"1.0.0",
    
                 "type_version":"1.0.0",
      "metadata":{
               "metadata":{
                         "policy-id":"OSDF_FRANKFURT.Threshold_URLLC_Core_1",
         "policy-version":1
        },
      "policy-versionproperties":1{
         "scope":[
            }"OSDF_FRANKFURT",
            "EmbbNst",
         "properties":{   "EmbbCn"
         ],
            "scoperesources":[
            "EmbbCn"
         ],
     "OSDF_FRANKFURT",    "services":[
            "EmbbNst"
         ],
 "EmbbNst",        "geography":[

         ],
         "EmbbCn""identity":"Threshold_URLLC_Core_1",
         "thresholdProperties":[
            {
  ],             "attribute":"latency",
               "resourcesoperator":["lte",
               "threshold":50,
            "EmbbCn"   "unit":"ms"
            }
         ],
      }
   }
}


Code Block
languagetext
titleSample Subscriber Policy
linenumberstrue
collapsetrue
{
       "OSDF_FRANKFURT.SubscriberPolicy_URLLC_1":{
      "servicestype":["onap.policies.optimization.service.SubscriberPolicy",
      "version":"1.0.0",
         "type_version":"1.0.0",
           "EmbbNstmetadata":{
            "policy-id":"OSDF_FRANKFURT.SubscriberPolicy_URLLC_1",
         "policy-version":1
  ],    },
          "properties":{
          "geographyscope": [],
            "OSDF_FRANKFURT",
            "identity":"Threshold_URLLC_Core_1",EmbbNst"
         ],
               "thresholdProperties"services":[
            "EmbbNst"
         ],
        {
 "identity":"subscriber_URLLC_1",
         "properties":{
                       "attribute":"latency","subscriberName":[
               "EmbbCn"
                  "operator":"lte",]
         }
      }
                 "threshold":50,
                                  "unit":"ms"
                               },
                               {
                                  "attribute":"reliability",
                                  "operator":"gte",
                                  "threshold":99.999,
                                  "unit":""
                               }

                         ]
                      }
                   }
}
Code Block
languagetext
titleSample Aggregation Policy
linenumberstrue
collapsetrue
{
   "OSDF_FRANKFURT.Aggregation_URLLC_1":{
      "type":"onap.policies.optimization.resource.AggregationPolicy",
      "version":"1.0.0",
      "type_version":"1.0.0",
      "metadata":{
         "policy-id":"OSDF_FRANKFURT.Aggregation_URLLC_1",
         "policy-version":1
      },
      "properties":{
         "scope":[
            "OSDF_FRANKFURT",
            "URLLC_1"
         ],
         "geography": [],
         "resources":[
            "URLLC_Core_1"
         ],
  }
}


Code Block
languagetext
titleSample Vnf Policy
linenumberstrue
collapsetrue
{
   "OSDF_FRANKFURT.vnfPolicy_URLLC_Core_1":{
      "type":"onap.policies.optimization.resource.VnfPolicy",
      "version":"1.0.0",
      "type_version":"1.0.0",
      "servicesmetadata":[{
            "URLLC"policy-id":"OSDF_FRANKFURT.vnfPolicy_URLLC_Core_1",
         ],"policy-version":1
         "identity":"Aggregation_URLLC_1"},
         "applicableResourcesproperties":"any",{
         "aggregationPropertiesscope":[
 
          {   "OSDF_FRANKFURT",
            "attributeEmbbNst":"latency",
            "EmbbCn"
  "function":"sum",       ],
         "operatorresources":"lte",[
            "EmbbCn"
  "threshold":{       ],
         "get_paramservices":[
"latency"            "EmbbNst"
   },      ],
         "unitidentity":"ms"vnf_URLLC_Core_1",
         "applicableResources":"any",
  }       "vnfProperties":[
  ]       }    }
}
Code Block
languagetext
titleSample Subscriber Policy
linenumberstrue
collapsetrue
{
  "OSDF_FRANKFURT.SubscriberPolicy_URLLC_1": {     "type": "onap.policies.optimization.service.SubscriberPolicy",         "versioninventoryProvider": "1.0.0aai",
    "type_version           "inventoryType": "1.0.0nssi",
    "metadata": {           "policy-idregion": "OSDF_FRANKFURT.SubscriberPolicy_URLLC_1","RegionOne",
               "policy-versionattributes":{
1     },     "properties": {       "scopeorchestrationStatus":"active",
[         "OSDF_FRANKFURT",         "EmbbNst"service-role":"nssi",
      ],       "services": [    "modelInvariantId":"c0eeaa3b-625c-4518-bd1f-f01cc784813c",
    "EmbbNst"       ],       "identitymodelVersionId": "subscriber_URLLC_1","836eb219-346d-4b8b-8376-b0c4d17954a9"
       "properties": {       }
 "subscriberName": [          }
"EmbbCn"         ]
      }
    }
  }
}



Code Block
languagetext
titleSample Query Policy
linenumberstrue
collapsetrue
{
  "OSDF_FRANKFURT.queryPolicy_URLLC_1": {
    "type": "onap.policies.optimization.service.QueryPolicy",
    "version": "1.0.0",
    "type_version": "1.0.0",
    "metadata": {
      "policy-id": "OSDF_FRANKFURT.queryPolicy_URLLC_1",
      "policy-version": 1
    },
    "properties": {
      "scope": [
        "OSDF_FRANKFURT"
      ],
      "services": [
        "URLLC_1"
      ],
      "geography": [
        "US"
      ],
      "identity": "queryPolicy_URLLC_1",
      "queryProperties": [
        {
          "attribute": "latency",
          "attribute_location": "latency"
        }
      ]
    }
  }
}

...

Code Block
languagetext
titleSample Vnf Aggregation Policy
linenumberstrue
collapsetrue
{
   "OSDF_FRANKFURT.vnfPolicyAggregation_URLLC_Core_1":{
 {     "type": "onap.policies.optimization.resource.VnfPolicyAggregationPolicy",
      "version": "1.0.0",
      "type_version": "1.0.0",
      "metadata":{
{         "policy-id": "OSDF_FRANKFURT.vnfPolicyAggregation_URLLC_Core_1",
         "policy-version":1
1      },
      "properties":{
 {        "scope":[
[            "OSDF_FRANKFURT",
        "EmbbNst",    "URLLC_1"
         ],
   	"EmbbCn"      "geography": [],
         "resources":[
   [         "EmbbCn"URLLC_Core_1"
         ],
         "services"::[
   [         "EmbbNst"URLLC_1"
         ],
         "identity": "vnfAggregation_URLLC_Core_1",
         "applicableResources": "any",
         "vnfPropertiesaggregationProperties":[
[            {
               "inventoryProviderattribute": "aailatency",
               "inventoryTypefunction": "nssisum",
               "regionoperator": "RegionOnelte",
       
  "attributes": {             "orchestrationStatusthreshold": "active",{
                "service-roleget_param": "nssilatency",
              "modelInvariantId": "6a83b73c-e5c2-4b6d-9e00-84f6f96b7ab0" },
               "modelVersionIdunit": "77a2c0d5-67d1-490e-bdc4-7e744bc3a53e""ms"
            }
        } ]
     ] }
   }
 }
}
}