Versions Compared

Key

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

...

Section
bordertrue
Column
width60%
Code Block
languagejs
themeEclipse
titleHPA CPU Topology Policy Example
linenumberstrue
collapsetrue
{
  "service": "hpaCpuTopologyPolicy",
  "policyName": "oofBeijing.hpaCpuTopologyPolicy_vGMuxInfra",
  "description": "Cpu Topology policy for vGMuxInfra",
  "templateVersion": "0.0.1",
  "version": "oofBeijing",
  "priority": "3",
  "riskType": "test",
  "riskLevel": "2",
  "guard": "False",
  "content": {
    "cpuTopologyProperties": [
      {"attribute":"hpaFeature", "value": "cpuTopology","operator": "=", "unit":""},
      {"attribute":"architecture", "value": "INTELx64generic","operator": "=", "unit": ""},
      {"attribute":"mandatory", "value": "true","operator": "=", "unit":""},
      {"attribute":"score", "value": "4", "operator":"=", "unit": ""},
      {"attribute":"numCpuSockets", "values": "2","operator": ">=", "unit": ""},
      {"attribute":"numCpuSockets", "values": "4","operator": "<=", "unit": ""},
      {"attribute":"numCpuCores", "value": "2", "operator":">=", "unit": ""},
      {"attribute":"numCpuCores", "value": "4", "operator":"<=", "unit": ""},
      {"attribute":"numCpuThreads", "value": "4", "operator":">=", "unit": ""},
      {"attribute":"numCpuThreads", "value": "8", "operator":"<=", "unit": ""},
    ],
    "identity": "cpuTopology_vGMuxInfra",
    "policyScope": ["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra"],
    "type": "hpaCpuTopologyPolicy",
    "resourceInstanceType": ["vGMuxInfra"]
  }
}
Column
width45%
Expand
titleComments and Notes: HPA CPU Topology Policy Example

The fields in this example policy are typically generated from a TOSCA service model specified by VNF vendors or service designers. This policy cannot be changed during the life-cycle of a service.

...

Section
bordertrue
Column
width60%
Code Block
languagejs
themeEclipse
titleHPA Basic Capabilities Policy Example
linenumberstrue
collapsetrue
{
    "service": "hpaBasicCapabilitiesPolicy",
    "policyName": "oofBeijing.hpaBasicCapabilitiesPolicy_vGMuxInfra",
    "description": "HPA Basic Capabilities policy for vGMuxInfra",
    "templateVersion": "0.0.1",
    "version": "oofBeijing",
    "priority": "3",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "BasicCapabilitiesProperties": [
          {"attribute":"hpaFeature", "value": "basicCapabilities","operator": "=", "unit":""},
          {"attribute":"architecture", "value": "INTELx64generic","operator": "=", "unit": ""},
          {"attribute":"mandatory", "value": "true","operator": "=", "unit":""},
          {"attribute":"score", "value": "4", "operator":"=", "unit": ""},
          {"attribute": "numVirtualCpu", "value": "6", "operator": "=", "unit": ""},
          {"attribute": "virtualMemSize", "value":"6", "operator": "=", "unit": "GB"},
       ],
        "identity": "basicCapabilities_vGMuxInfra",
        "policyScope":["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra"],
        "type": "hpaBasicCapabilitiesPolicy",
        "resourceInstanceType": ["vGMuxInfra"]
    }
}
Column
width45%
Expand
titleComments and Notes: HPA Basic Capabilities Policy

The fields in this example policy are typically generated from a TOSCA service model specified by VNF vendors or service designers. This policy cannot be changed during the life-cycle of a service.

...

Section
bordertrue
Column
width60%
Code Block
languagejs
themeEclipse
titleHPA CPU Pinning Policy Example
linenumberstrue
collapsetrue
{
    "service": "hpaCpuPinningPolicy",
    "policyName": "oofBeijing.hpaCpuPinningPolicy_vGMuxInfra",
    "description": "CPU Pinning policy for vGMuxInfra",
    "templateVersion": "0.0.1",
    "version": "oofBeijing",
    "priority": "3",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "cpuPinningProperties":  [
          {"attribute":"hpaFeature", "value": "cpuPinning","operator": "=", "unit":""},
          {"attribute":"architecture", "value": "INTELx64generic","operator": "=", "unit": ""},
          {"attribute":"mandatory", "value": "true","operator": "=", "unit":""},
          {"attribute":"score", "value": "4", "operator":"=", "unit": ""},
          {"attribute":"logicalCpuThreadPinningPolicy", "value":"<CPUTHREADPOLICY>", "operator": "=", "unit":""},
          {"attribute":"logicalCpuPinningPolicy", "value": "<CPUPOLICY>","operator": "=", "unit":""},
    ],
        "identity": "cpuPinning_vGMuxInfra",
        "policyScope": ["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra"],
        "type": "hpaCpuPinning",
        "resourceInstanceType": ["vGMuxInfra"]
    }
}
Column
width45%
Expand
titleComments and Notes: HPA CPU Pinning Policy

The fields in this example policy are typically generated from a TOSCA service model specified by VNF vendors or service designers. This policy cannot be changed during the life-cycle of a service.


CPUTHREADPOLICY = prefer, isolate, require
CPUPOLICY = shared, dedicated


Section
bordertrue
Column
width60%
Code Block
languagejs
themeEclipse
titleHPA NUMA Policy Example
linenumberstrue
collapsetrue
{
    "service": "hpaNumaPolicy",
    "policyName": "oofBeijing.hpaNumaPolicy_vGMuxInfra",
    "description": "Hyper NUMA policy for vGMuxInfra",
    "templateVersion": "0.0.1",
    "version": "oofBeijing",
    "priority": "3",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "numaProperties": [   
		 {"attribute": "hpaFeature", "value": "numa", "operator": "=", "unit": ""},
         {"attribute": "architecture", "value": "INTELx64generic", "operator": "=", "unit": ""},
         {"attribute": "mandatory", "value": "true", "operator": "=", "unit": ""},
         {"attribute": "score", "value": "4", "operator": "=", "unit": ""},
         {"attribute": "numaNodes", "value": "2", "operator": "=", "unit": ""},
         {"attribute": "numaCpu-0", "values":["02", "1"], "operator": "=", "unit": ""},
         {"attribute": "numaMem-0", "value": "2048", "operator": "=", "unit": "MB"}
         {"attribute": "numaCpu-1", "values":["2", "3", "4", "5"], "operator": "=", "unit": ""},
         {"attribute": "numaMem-1", "value": "4096", "operator": "=", "unit": "MB"}
        ],
        "identity": "numa_vGMuxInfra",
        "policyScope":["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra"],
        "type": "hpaNumaPolicy",
        "resourceInstanceType": ["vGMuxInfra"]
    }
}
Column
width45%
Expand
titleComments and Notes: HPA NUMA Policy

The fields in this example policy are typically generated from a TOSCA service model specified by VNF vendors or service designers. This policy cannot be changed during the life-cycle of a service.

...

Section
bordertrue
Column
width60%
Code Block
languagejs
themeEclipse
titleHPA Local Storage Policy Example
linenumberstrue
collapsetrue
{
    "service": "hpaLocalStoragePolicy",
    "policyName": "oofBeijing.hpaLocalStorage_vGMuxInfra",
    "description": "HPA Local Storage policy for vGMuxInfra",
    "templateVersion": "0.0.1",
    "version": "oofBeijing",
    "priority": "3",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "LocalStorageProperties": [
          {"attribute":"hpaFeature", "value": "localStorage","operator": "=", "unit":""},
          {"attribute":"architecture", "value": "INTELx64generic","operator": "=", "unit": ""},
          {"attribute":"mandatory", "value": "true","operator": "=", "unit":""},
          {"attribute":"score", "value": "4", "operator":"=", "unit": ""},
	      {"attribute": "diskSize", "value": "2", "operator": "=", "unit": "GB"},   
	      {"attribute": "ephemeralDiskSize", "value": "2", "operator": "=", "unit": "GB"},
		  {"attribute": "swapMemSize", "value":"16", "operator": "=", "unit": "MB"},
       ],
        "identity": "localStorage_vGMuxInfra",
        "policyScope":["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra"],
        "type": "hpaLocalStoragePolicy",
        "resourceInstanceType": ["vGMuxInfra"]
    }
}
Column
width45%
Expand
titleComments and Notes: HPA Generic Attributes Policy Example

The fields in this example policy are typically generated from a TOSCA service model specified by VNF vendors or service designers. This policy cannot be changed during the life-cycle of a service.

...

Section
bordertrue
Column
width60%
Code Block
languagejs
themeEclipse
titleHPA Huge Pages Policy Example
linenumberstrue
collapsetrue
{
    "service": "hpaHugePagesPolicy",
    "policyName": "oofBeijing.hpaHugePagesPolicy_vGMuxInfra",
    "description": "HPA Huge Pages policy for vGMuxInfra",
    "templateVersion": "0.0.1",
    "version": "oofBeijing",
    "priority": "3",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "HugePagesProperties": [
          {"attribute":"hpaFeature", "value": "hugePages","operator": "=", "unit":""},
          {"attribute":"architecture", "value": "INTELx64generic","operator": "=", "unit": ""},
          {"attribute":"mandatory", "value": "true","operator": "=", "unit":""},
          {"attribute":"score", "value": "4", "operator":"=", "unit": ""},
          {"attribute": "memoryPageSize", "value": "<MEMORYPAGESIZE>", "operator": "=", "unit": ""},
       ],
        "identity": "hugePagesAttributes_vGMuxInfra",
        "policyScope":["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra"],
        "type": "hpaHugePagesPolicy",
        "resourceInstanceType": ["vGMuxInfra"]
    }
}
Column
width40%
Expand
titleComments and Notes: HPA Huge Pages Policy Example

MEMORYPAGESIZE = 4KB (unit=KB), 2MB (unit=MB), 1GB(unit GB), ANY, Other explicit Page size

Section
bordertrue
Column
width60%
Code Block
languagejs
themeEclipse
titleHPA Realtime Policy Example
linenumberstrue
collapsetrue
{
    "service": "hpaRealtimePolicy",
    "policyName": "oofBeijing.hpaRealtimePolicy_vGMuxInfra",
    "description": "HPA Realtime policy for vGMuxInfra",
    "templateVersion": "0.0.1",
    "version": "oofBeijing",
    "priority": "3",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "RealtimeProperties": [
          {"attribute":"hpaFeature", "value": "realtime","operator": "=", "unit":""},
          {"attribute":"architecture", "value": "INTELx64","operator": "=", "unit": ""},
          {"attribute":"mandatory", "value": "true","operator": "=", "unit":""},
          {"attribute":"score", "value": "4", "operator":"=", "unit": ""},
          {"attribute": "realtimePolicy", "value": "<REALTIMEPOLICY>", "operator": "=", "unit": ""},
          {"attribute": "realtimeMask", "value": "<REALTIMEMASK>", "operator": "=", "unit": ""},
       ],
        "identity": "RealtimeAttributes_vGMuxInfra",
        "policyScope":["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra"],
        "type": "hpaRealtimePolicy",
        "resourceInstanceType": ["vGMuxInfra"]
    }
}
Column
width45%
Expand
titleComments and Notes: HPA Realtime Policy Example
REALTIMEPOLICY = true, false
REALTIMEMASK = List of vCPU's that will not have realtime policy for example ["1", "2"]


Anchor
OOF-CMSO Policies
OOF-CMSO Policies
OOF-CMSO Policies

...