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": "generic","operator": "=", "unit": ""},
      {"attribute":"mandatory", "value": "truefalse","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": "generic","operator": "=", "unit": ""},
          {"attribute":"mandatory", "value": "truefalse","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 OVS DPDK Policy Example
linenumberstrue
collapsetrue
{
    "service": "hpaOvsDpdkPolicy",
    "policyName": "oofBeijing.hpaOvsDpdkPolicy_vGMuxInfra",
    "description": "HPA OVS DPDK policy for vGMuxInfra",
    "templateVersion": "0.0.1",
    "version": "oofBeijing",
    "priority": "3",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "ovsDpdkProperties": [
	      {"attribute":"hpaFeature", "value": "ovsDpdk","operator": "=", "unit":""},
          {"attribute":"architecture", "value": "INTELx64","operator": "=", "unit": ""},
          {"attribute":"mandatory", "value": "true","operator": "=", "unit":""},
          {"attribute":"score", "value": "4", "operator":"=", "unit": ""},
          {"attribute":"dataProcessingAccelerationLibrary", "value":"ovsDpdk_version", "operator": "=", "unit":""},
        ],
        "identity": "ovsDpdk_vGMuxInfra",
        "policyScope": ["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra"],
        "type": "hpaOvsDpdkPolicy",
        "resourceInstanceType": ["vGMuxInfra"]
    }
}
Column
width45%
Expand
titleComments and Notes: HPA OVS DPDK 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.

For this policy others architectures are also applicable.

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": "generic","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": "generic", "operator": "=", "unit": ""},
         {"attribute": "mandatory", "value": "truefalse", "operator": "=", "unit": ""},
         {"attribute": "score", "value": "4", "operator": "=", "unit": ""},
         {"attribute": "numaNodes", "value": "2", "operator": "=", "unit": ""},
         {"attribute": "numaCpu-0", "values":"2", "operator": "=", "unit": ""},
         {"attribute": "numaMem-0", "value": "2048", "operator": "=", "unit": "MB"}
         {"attribute": "numaCpu-1", "values":"4", "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 SGX Policy Example
linenumberstrue
collapsetrue
{
    "service": "hpaSgxPolicy",
    "policyName": "oofBeijing.hpaSgxPolicy_vGMuxInfra",
    "description": "SGX policy for vGMuxInfra",
    "templateVersion": "0.0.1",
    "version": "oofBeijing",
    "priority": "3",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "sgxProperties": [
          {"attribute":"hpaFeature", "value": "sgx","operator": "=", "unit":""},
          {"attribute":"architecture", "value": "INTELx64","operator": "=", "unit": ""},
          {"attribute":"mandatory", "value": "truefalse","operator": "=", "unit":""},
          {"attribute":"score", "value": "4", "operator":"=", "unit": ""},
          {"attribute":"sgxMemSize", "value": "65","operator": "=", "unit":"MB"},
          {"attribute":"sgxPubkeyHash", "value": "octect_string","operator": "=", "unit": ""},
        ],
        "identity": "sgx_vGMuxInfra",
        "policyScope":["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra"],
        "type": "hpaSgxPolicy",
        "resourceInstanceType": ["vGMuxInfra"]
    }
}
Column
width45%
Expand
titleComments and Notes: HPA SGX 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 PCIe Passthrough Policy Example
linenumberstrue
collapsetrue
{
    "service": "hpaPciePassthroughPolicy",
    "policyName": "oofBeijing.hpaPciePassthroughPolicy_vGMuxInfra",
    "description": "Pcie Passthrough policy for vGMuxInfra",
    "templateVersion": "0.0.1",
    "version": "oofBeijing",
    "priority": "3",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "PciePassthroughProperties": [
          {"attribute":"hpaFeature", "value": "pciePassthrough","operator": "=", "unit":""},
          {"attribute":"architecture", "value": "INTELx64generic","operator": "=", "unit": ""},
          {"attribute":"mandatory", "value": "truefalse","operator": "=", "unit":""},
          {"attribute":"score", "value": "4", "operator":"=", "unit": ""},
          {"attribute": "pciCount", "value": "2", "operator": "=", "unit": ""},
          {"attribute": "pciVendorId", "value":"8086", "operator": "=", "unit": ""},
	      {"attribute": "pciDeviceId", "value": "2", "operator": "=", "unit": ""}   
       ],
        "identity": "pciePassthrough_vGMuxInfra",
        "policyScope":["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra"],
        "type": "hpaPciePassthroughPolicy", 
        "resourceInstanceType": ["vGMuxInfra"]
    }
}
Column
width45%
Expand
titleComments and Notes: HPA PCIe Passthrough Policy Example


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": "generic","operator": "=", "unit": ""},
          {"attribute":"mandatory", "value": "truefalse","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 CPU Instruction Set Extensions Policy Example
linenumberstrue
collapsetrue
{
    "service": "hpaCpuInstructionSetExtensionsPolicy",
    "policyName": "oofBeijing.hpaCpuInstructionSetExtensionsPolicy_vGMuxInfra",
    "description": "Cpu Instruction Set Extensions policy for vGMuxInfra",
    "templateVersion": "0.0.1",
    "version": "oofBeijing",
    "priority": "3",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "avxProperties": [
	      {"attribute":"hpaFeature", "value": "cpuInstructionSetExtensions","operator": "=", "unit":""},
          {"attribute":"architecture", "value": "INTELx64","operator": "=", "unit": ""},
          {"attribute":"mandatory", "value": "true","operator": "=", "unit":""},
          {"attribute":"score", "value": "4", "operator":"=", "unit": ""},
          {"attribute":"instructionSetExtensions", "value":["avx", "aes"] "operator": "ALL", "unit":""},
        ],
        "identity": "cpuInstructionSetExtensions_vGMuxInfra",
        "policyScope": ["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra"],
        "type": "hpaCpuInstructionSetExtensionsPolicy",
        "resourceInstanceType": ["vGMuxInfra"]
    }
}
Column
width45%
Expand
titleComments and Notes: HPA CPU Instruction Set Extensions Policy Example
instructionSetExtensions attribute has a list of all instruction set extensions required. 
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": "generic","operator": "=", "unit": ""},
          {"attribute":"mandatory", "value": "truefalse","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

...