Versions Compared

Key

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

...

{




















}

"name": "EmbbNst",

"id": "EmbbNst_1",

"latency": 20,

"uplink": 5,

"downlink": 8,

"reliability": 95,

"areaTrafficCapDL": 10,

"areaTrafficCapUL": 100,

"maxNumberofUEs": 10000,

"areas": " area1|area2",

"expDataRateDL": 10,

"expDataRateUL": 1000,

"resourceSharingLevel": "shared",

"coverageAreaTAList": "Beijing;Beijing;HaidanDistrict;WanshouluStreet",

"modelinvariantuuid": "7d7df980-cb81-45f8-bad9-4e5ad2876393",

"modeluuid": "fe6c82b9-4e53-4322-a671-e2d8637bfbb7",

"uniqueness": true,

"inventory_type":"nst",

"candidate_id": "EmbbNst_ID",

"cost": 2


Consumed APIs

...

GET NST metadata from AAI

GET NST cabdidates from SDC by the metadata got


Policies:

  1. Attribute policy

    Code Block
    {
    	
      "OSDF_FRANKFURT.Attribute_vNS_1": {
    	
        "type": "onap.policies.optimization.resource.AttributePolicy",
    	
        "version": "1.0.0",
    	
        "type_version": "1.0.0",
    	
        "metadata": {
    	
          "policy-id": "OSDF_FRANKFURT.Attribute_NST",
    	
          "policy-version": 1
    	
        },
    	
        "properties": {
    	
          "scope": [
    	
            "OSDF_FRANKFURT"
    	
          ],
    	
          "resources": [
    	
            "NST"
    	
          ],
    	
          "identity": "attribute-NST",
    	
          "attributeProperties": {
    	
                 "serviceProfileParameters": {
    	
                   "get_param": "serviceProfileParameters"
    	
            }
    	
          }
    	
        }
    	
      }
    	
    }


2. Query Policy

Code Block
{
	
  "OSDF_FRANKFURT.queryPolicy_NST": {
	
    "type": "onap.policies.optimization.service.QueryPolicy",
	
    "version": "1.0.0",
	
    "type_version": "1.0.0",
	
    "metadata": {
	
      "policy-id": "OSDF_FRANKFURT.queryPolicy_NST",
	
      "policy-version": 1
	
    },
	
    "properties": {
	
      "scope": [
	
        "OSDF_FRANKFURT"
	
      ],
	
      "services": [
	
        "NST"
	
      ],
	
      "resources": [
	
        "NST"
	
      ],
	
      "identity": "NST_Query_Policy",
	
      "queryProperties": [
	
        {
	
          "attribute": "serviceProfileParameters",
	
          "attribute_location": "serviceProfileParameters"
	
        }
	
      ]
	
    }
	
  }
	
}


3. vnf policy

Code Block
{
	
  "OSDF_FRANKFURT.vnfPolicy_NST": {
	
    "type": "onap.policies.optimization.resource.VnfPolicy",
	
    "version": "1.0.0",
	
    "type_version": "1.0.0",
	
    "metadata": {
	
      "policy-id": "OSDF_FRANKFURT.vnfPolicy_NST",
	
      "policy-version": 1
	
    },
	
    "properties": {
	
      "scope": [
	
        "OSDF_FRANKFURT",
	
        "NST"
	
      ],
	
      "resources": [
	
        "NST"
	
      ],
	
      "services": [
	
        "NST"
	
      ],
	
      "identity": "vnf_NST",
	
      "applicableResources": "any",
	
      "vnfProperties": [
	
        {
	
          "inventoryProvider": "aai_sdc",
	
          "inventoryType": "NST"
	
        }
	
      ]
	
    }
	
  }
	
}