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-version"properties":1{
         "scope":[
             }"OSDF_FRANKFURT",
             "EmbbNst",
            "propertiesEmbbCn":{
         ],
                "scope"resources":[
            "EmbbCn"
         ],
         "OSDF_FRANKFURT",services":[
            "EmbbNst"
                "EmbbNst"],
         "geography":[

          ],
         "EmbbCn"
identity":"Threshold_URLLC_Core_1",
         "thresholdProperties":[
            {
    ],
           "attribute":"latency",
               "resourcesoperator":["lte",
               "threshold":50,
               "unit":"EmbbCnms"
            }
             ],
                         "services":[
                            "EmbbNst"
                         ],
                         "geography": [],
                         "identity":"Threshold_URLLC_Core_1",
                         "thresholdProperties":[
                               {
                                  "attribute":"latency",
                                  "operator":"lte",
                                  "threshold":50,
                                  "unit":"ms"
                               },
                               {
                                  "attribute":"reliability",
                                  "operator":"gte",
                                  "threshold":99.999,
                                  "unit":""
                               }

                         ]
       }
   }
}


Code Block
languagetext
titleSample Subscriber Policy
linenumberstrue
collapsetrue
{
   "OSDF_FRANKFURT.SubscriberPolicy_URLLC_1":{
      "type":"onap.policies.optimization.service.SubscriberPolicy",
      "version":"1.0.0",
      "type_version":"1.0.0",
      "metadata":{
         "policy-id":"OSDF_FRANKFURT.SubscriberPolicy_URLLC_1",
         "policy-version":1
      },
      "properties":{
             }
}
Code Block
languagetext
titleSample Aggregation Policy
linenumberstrue
collapsetrue
{
"scope":[
            "OSDF_FRANKFURT.Aggregation_URLLC_1":{",
      "type":"onap.policies.optimization.resource.AggregationPolicy",
      "EmbbNst"
         ],
         "version":"1.0.0",
services":[
            "type_version":"1.0.0",
EmbbNst"
       "metadata":{  ],
         "policy-ididentity":"OSDFsubscriber_FRANKFURT.Aggregation_URLLC_1",
         "policy-versionproperties":1{
      },
      "propertiessubscriberName":{[
               "scopeEmbbCn":[
            "OSDF_FRANKFURT",
   ]
         "URLLC_1"}
      }
   }
}


Code Block
languagetext
titleSample Vnf Policy
linenumberstrue
collapsetrue
{],
   "OSDF_FRANKFURT.vnfPolicy_URLLC_Core_1":{
      "geographytype": [],
   "onap.policies.optimization.resource.VnfPolicy",
      "resourcesversion":["1.0.0",
            "URLLC_Core_1""type_version":"1.0.0",
         ],"metadata":{
         "services":[policy-id":"OSDF_FRANKFURT.vnfPolicy_URLLC_Core_1",
            "URLLC_1""policy-version":1
         ]},
         "identityproperties":"Aggregation_URLLC_1",{
         "applicableResourcesscope":"any",
[
            "aggregationProperties":[OSDF_FRANKFURT",
            {"EmbbNst",
            "EmbbCn"
   "attribute":"latency",
      ],
         "functionresources":"sum",
   [
            "operatorEmbbCn":"lte",
         ],
         "thresholdservices":{[
                "get_param": "latency""EmbbNst"
         ],
      },
     "identity":"vnf_URLLC_Core_1",
          "unitapplicableResources":"msany",
         "vnfProperties":[
        }
    {
     ]
      }
   }
}
Code Block
languagetext
titleSample Subscriber Policy
linenumberstrue
collapsetrue
{
  "OSDF_FRANKFURT.SubscriberPolicy_URLLC_1": {
"inventoryProvider":"aai",
     "type": "onap.policies.optimization.service.SubscriberPolicy",
    "version": "1.0.0",
    "type_versioninventoryType": "1.0.0nssi",
     "metadata": {
          "policy-idregion": "OSDF_FRANKFURT.SubscriberPolicy_URLLC_1"RegionOne",
      "policy-version": 1
    },
    "propertiesattributes": {
        "scope": [
          "OSDF_FRANKFURTorchestrationStatus":"active",
        "EmbbNst"
      ],
      "servicesservice-role": ["nssi",
        "EmbbNst"
      ],
      "identitymodelInvariantId": "subscriber_URLLC_1",
"c0eeaa3b-625c-4518-bd1f-f01cc784813c",
                  "propertiesmodelVersionId": {"836eb219-346d-4b8b-8376-b0c4d17954a9"
        "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
      },
      "properties": {
         "scope": [
            "OSDF_FRANKFURT",
        "EmbbNst",    "URLLC_1"
      	"EmbbCn"   ],
         "geography": [],
         "resources": [
            "EmbbCnURLLC_Core_1"
         ],
         "services": [
            "EmbbNstURLLC_1"
         ],
         "identity": "vnfAggregation_URLLC_Core_1",
         "applicableResources": "any",
         "vnfPropertiesaggregationProperties": [
        {
    {
      "inventoryProvider": "aai",
          "inventoryTypeattribute": "nssilatency",
               "regionfunction": "RegionOnesum",
               "attributesoperator": {
"lte",
               "orchestrationStatusthreshold": "active",
{
                "service-roleget_param": "nssilatency",
            "modelInvariantId": "6a83b73c-e5c2-4b6d-9e00-84f6f96b7ab0",
   },
               "modelVersionIdunit": "77a2c0d5-67d1-490e-bdc4-7e744bc3a53e"ms"
            }
         }]
      ]}
    }
  }

}