Versions Compared

Key

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

...

  1. The  capability set in the template will not contain range of values
  2. Subnet template details will be loaded as Subscriber policy
  3. NSI Name will be unique in AAI
  4. Slice profile in NSSI is chosen based on latency (Conductor)


SAMPLE POLICIES:

Code Block
languagetext
titleSample VNF Policy
linenumberstrue
collapsetrue
{
  "OSDF_FRANKFURT.vnfPolicy_URLLC_Core_1": {
    "type": "onap.policies.optimization.VnfPolicy",
    "version": "1.0.0",
    "type_version": "1.0.0",
    "metadata": {
      "policy-id": "OSDF_FRANKFURT.vnfPolicy_URLLC_Core_1",
      "policy-version": 1
    },
    "properties": {
      "scope": [
        "OSDF_FRANKFURT",
        "URLLC_1",
        "URLLC_Core_1"
      ],
      "resources": [
        "URLLC_Core_1"
      ],
      "services": [
        "URLLC_1"
      ],
      "identity": "vnf_URLLC_Core_1",
      "applicableResources": "any",
      "vnfProperties": [
        {
          "inventoryProvider": "aai",
          "inventoryType": "nssi",
          "region": "RegionOne",
          "attributes": {
            "orchestrationStatus": "active",
            "service-role": "nssi"
          }
        }
      ]
    }
  }
}

Code Block
languagetext
titleSample Threshold Policy(Latency)
linenumberstrue
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_latency",
      "policy-version": 1
    },
    "properties": {
      "scope": [
        "OSDF_FRANKFURT",
        "URLLC_1",
        "URLLC_Core_1"
      ],
      "resources": [
        "URLLC_Core_1"
      ],
      "services": [
        "URLLC_1"
      ],
      "identity": "Threshold_URLLC_Core_1_latency",
      "applicableResources": "any",
      "thresholdProperty": {
          "attribute": "latency",
          "operator": "lte",
          "threshold": 5,
          "unit": "ms"
      }
    }
  }
}
Code Block
languagetext
titleSample Threshold Policy(Reliability)
linenumberstrue
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_reliability",
      "policy-version": 1
    },
    "properties": {
      "scope": [
        "OSDF_FRANKFURT",
        "URLLC_1",
        "URLLC_Core_1"
      ],
      "resources": [
        "URLLC_Core_1"
      ],
      "services": [
        "URLLC_1"
      ],
      "identity": "Threshold_URLLC_Core_1_reliability",
      "applicableResources": "any",
      "thresholdProperty": {
            "attribute":"reliability",
            "operator":"gte",
            "threshold":99.999,
            "unit":""
      }
    }
  }
}
Code Block
languagetext
titleSample Bound Optimization Policy
linenumberstrue
collapsetrue
{
    "service": "boundOptimizationPolicy",
    "policyName": "OSDF_FRANKFURT.boundOptimizationPolicy_NS_URLLC",
    "description": "boundOptimizationPolicy",
    "templateVersion": "OpenSource.version.1",
    "version": "oofFrankfurt",
    "priority": "6",
    "riskType": "test",
    "riskLevel": "3",
    "guard": "False",
    "content": {
        "identity": "urllc_across_dem",
        "policyScope": [
            "URLLC-test",
            "URLLC-Core-test",
        ],
        "policyType": "boundOptimizationPolicy",
        "resources": ["URLLC-Core-test","URLLC-Ran-test","URLLC-Trans-test"],
        "boundOptimizationProperties": [{
            "attribute":"latency",
            "constraint":"lte",
            "threshold":{
                "get_param": "latency"
            },
            "unit":"ms",
            "operationOnDemands":"sum"
        },
        {   
            "attribute":"expDataRateUL",
            "constraint":"gte",
            "threshold":{
                "get_param": "expDataRateUL"
            },
            "unit":"Mbps",
            "operationOnDemands":"min"
        }]
    }
}
Note: Not yet implemented

NSI Selection

New Candidate schema  to represent NSSI (RAN,Core,Transport)

...