Versions Compared

Key

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

...

Section
bordertrue
Column
width60%
Code Block
languagejs
themeEclipse
titleExtensible HPA Hyper-Threading CPU Topology Policy Example
linenumberstrue
collapsetrue
{
  "service": "hpaHyperThreadingPolicyhpaCpuTopologyPolicy",
  "policyName": "oofBeijing.hyperThreadingPolicyhpaCpuTopologyPolicy_vGMuxInfra",
  "description": "HyperCpu threadingTopology policy for vGMuxInfra",
  "templateVersion": "0.0.1",
  "version": "oofBeijing",
  "priority": "3",
  "riskType": "test",
  "riskLevel": "2",
  "guard": "False",
  "content": {
    "hyperThreadingPropertiescpuTopologyProperties": [
      {"attribute": "hpaFeature", "value": "NUMAcpuTopology", "operator": "=", "unit": ""},
      {"attribute": "architecture", "value": "INTELx64", "operator": "=", "unit": ""},
      {"attribute": "mandatory", "value": "true", "operator": "=", "unit": ""},
      {"attribute": "score", "value": "4", "operator": "=", "unit": ""},
      {"attribute": "cpuCoresnumCpuSockets", "valuevalues": "42", "operator": ">=", "unit": ""},
      {"attribute": "cpuCoresnumCpuSockets", "valuevalues": "104", "operator": "<=", "unit": ""},
      {"attribute": "cpuThreadsnumCpuCores", "value": "2", "operator": ">=", "unit": ""},
      {"attribute": "cpuThreadsPolicynumCpuCores", "value": "dedicated4", "operator": "<=", "unit": ""},
      {"attribute": "cpuSocketsnumCpuThreads", "valuesvalue": ["2", "4", "6"], "operator": "any>=", "unit": ""},
      {"attribute": "memorynumCpuThreads", "value": "8", "operator": "><=", "unit": "GB"},
    ],
    "identity": "hyperThreadingcpuTopology_vGMuxInfra",
    "policyScope": ["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra"],
    "type": "hpaHyperThreadingPolicyhpaCpuTopologyPolicy",
    "resourceInstanceType": ["vGMuxInfra"]
  }
}
Column
width45%
Expand
titleComments and Notes: HPA Hyper-Threading CPU Topology Policy Example
  • Underlying model to generate this policy example is extensible
    and can be used to generate other HPA policies.
  • The value domain of the operator field is <, <=, >, >=, =, !=,
    any, all, many where any represents one from a set,
    all represents all the values of a set, and many represents more
    than one from a set.
  • The model can capture simple expressions. This example captures;
    4<=cpuCores<=10, cpuThreads>2, cpuThreadsPolicy=dedicated,
    cpuSockets is one from {2, 4, 6}, memory>8GB, etc.
  • Instead of modeling policy scope over multiple explicite dimentions,
    it is modeled as a list of tags/strings to achieve extensiblity and
    support model-agnostic getConfig query.
Section

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
borderbordertrue
Column
width60%
Code Block
languagejs
themeEclipse
titleHPA CPU Topology Distance Policy Example
linenumberstrue
collapsetrue
{
  "service": "hpaCpuTopologyPolicydistancePolicy",
  "policyName": "oofBeijing.hyperThreadingPolicydistancePolicy_vGMuxInfra",
  "description": "HyperDistance threadingPolicy policy for vGMuxInfra",
  "templateVersion": "0.0.1",
  "version": "oofBeijing",
  "priority": "3",
  "riskType": "test",
  "riskLevel": "2",
  "guard": "False",
  "content": {
    "cpuTopologyPropertiesdistanceProperties": [{
      {"attributelocationInfo":"hpaFeature", { "value": "cpuTopologycustomer_location", "operator": "=", "unit":""},
      {"attributedistance":"architecture", { "value": "INTELx64500", "operator": "=<", "unit": "km" },
      {"attributeresourceInstanceType":"mandatory", { "value": "truevGMuxInfra", "operator": "="},
    },
    "unitidentity": "distance-vGMuxInfra"},,
    "policyScope": {
      {"attributeserviceType": ["scorevCPE"],
      "valuegeoRegion": ["4US", "operator":"=", "unitINTERNATIONAL"],
      "networkType": ["ip"}],
      {"attributeresourceInstanceType": ["cpuCoresvGMuxInfra", "value": "2", "operator":">=", "unit": ""]
    },
      {"attributetype":"cpuThreads", "distancePolicy"
  }
}
Column
width45%
Expand
titleComments and Notes: Distance Policy

The fields in this example policy are typically generated from a TOSCA service model specified by VNF vendors or service designers. However, the policy can be updated over time by operators.

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": [
    value": "4", "operator":">=", "unit": ""},
      {"attribute":"cpuSockets", "values": "2","operator": ">=", "unit": ""},
      {"attribute":"cpuCores", "value": "4", "operator":"<=", "unit": ""},
      {"attribute":"cpuThreads", "value": "8", "operator":"<=", "unit": ""},
      {"attribute":"cpuSocketshpaFeature", "valuesvalue": "4basicCapabilities","operator": "<=", "unit": ""},
    ],
     "identity {"attribute":"architecture", "value": "INTELx64","operator": "=", "unit": "CpuTopology_vGMuxInfra"},
          {"policyScopeattribute": ["vCPEmandatory", "USvalue",: "INTERNATIONALtrue","operator": "ip=", "unit"vGMuxInfra:""]},
     "type     {"attribute": "hpaHyperThreadingPolicyscore",
 "value": "4", "operator":"=", "resourceInstanceTypeunit": ["vGMuxInfra"]},
          {"attribute": "numVirtualCpu", "value": "6", "operator": "=", "unit": ""}
}
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
titleDistance Policy Example
linenumberstrue
collapsetrue
{
  "service": "distancePolicy",
  "policyName": "oofBeijing.distancePolicy,
          {"attribute": "virtualMemSize", "value":"6", "operator": "=", "unit": "GB"},
       ],
        "identity": "basicCapabilities_vGMuxInfra",
  "description": "Distance Policy for vGMuxInfra",
  "templateVersionpolicyScope": "0.0.1["vCPE",
  "versionUS":, "oofBeijingINTERNATIONAL",
  "priorityip":, "3vGMuxInfra"],
  "riskType": "test",
  "riskLevel": "2",
  "guardtype": "FalsehpaBasicCapabilitiesPolicy",
   "content": {
    "distancePropertiesresourceInstanceType": ["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"{
      "locationInfo": { "value": "customer_location", "operator": "="},
      "distance": { "value": "500", "operator": "<", "unit": "km" },
      "resourceInstanceType": { "value": "vGMuxInfra", "operator": "="},
    },
    "identitypriority": "distance-vGMuxInfra3",
    "policyScoperiskType": {"test",
      "serviceTyperiskLevel": ["vCPE2"],
      "geoRegionguard": ["US", "INTERNATIONAL"]"False",
      "networkTypecontent": ["ip"],{
        "resourceInstanceTypeovsDpdkProperties": ["vGMuxInfra"]
    
	      {"attribute":"hpaFeature", "value": "ovsDpdk","operator": "=", "unit":""},
          {"attribute":"architecture", "value": "typeINTELx64","operator": "distancePolicy="
, "unit": ""}
}
Column
width45%
Expand
titleComments and Notes: Distance Policy

The fields in this example policy are typically generated from a TOSCA service model specified by VNF vendors or service designers. However, the policy can be updated over time by operators.

Section
bordertrue
Column
width60%
Code Block
languagejs
themeEclipse
titleHPA AES Policy Example
linenumberstrue
collapsetrue
{
    "service": "hpaAesPolicy",
    "policyName": "oofBeijing.aesPolicy_vGMuxInfra",
    "description": "AES policy for vGMuxInfra",
          {"attribute":"mandatory", "value": "true","operator": "=", "unit":""},
    "templateVersion": "0.0.1",
    "version": "oofBeijing",
    "priority{"attribute": "3score",
    "riskTypevalue": "test4",
    "riskLeveloperator": "2=",
    "guardunit": "False"},
    "content": {
        "aesProperties": [
	      {"attribute":"hpaFeaturedataProcessingAccelerationLibrary", "value": "cpuInstructionAESovsDpdk_version", "operator": "=", "unit":""},
        ],
   {"attribute":"architecture", "value": "INTELx64","operator": "=", "unit     "identity": "ovsDpdk_vGMuxInfra"},
          {"attributepolicyScope": ["mandatoryvCPE", "valueUS":, "trueINTERNATIONAL","operator": "=ip", "unit":""}vGMuxInfra"],
          {"attributetype": "scorehpaOvsDpdkPolicy", "value": "4", "operator":"=", "unit
        "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.

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"      {"attribute":"instructionSetExtensions", "value":"aes", "operator": "=", "unit":""},
        ],
   "version": "oofBeijing",
     "identitypriority": "aes_vGMuxInfra3",
        "policyScoperiskType": ["vCPEtest",
    "USriskLevel",: "INTERNATIONAL2",
    "ipguard",: "vGMuxInfraFalse"],
        "typecontent": "hpaAesPolicy",{
        "resourceInstanceTypecpuPinningProperties":  ["vGMuxInfra"]
    }
}
Column
width45%
Expand
titleComments and Notes: HPA AES 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"
          {"attribute":"hpaFeature", "value": "cpuPinning","operator": "=", "unit":""},
          {"attribute":"architecture", "value": "INTELx64","operator": "=", "unit": ""},
    "policyName      {"attribute": "oofBeijing.hpaOvsDpdkPolicy_vGMuxInframandatory",
    "descriptionvalue": "HPA OVS DPDK policy for vGMuxInfra",
    "templateVersion"true","operator": "0.0.1=",
    "versionunit": "oofBeijing"},
    "priority": "3",
      {"riskTypeattribute": "testscore",
    "riskLevelvalue": "24",
    "guardoperator": "False=",
    "contentunit": {""},
        "ovsDpdkProperties": [
	      {"attribute":"hpaFeaturelogicalCpuThreadPinningPolicy", "value": "ovsDpdk<CPUTHREADPOLICY>", "operator": "=", "unit":""},
          {"attribute":"architecturelogicalCpuPinningPolicy", "value": "INTELx64<CPUPOLICY>","operator": "=", "unit": ""},
    ],
        {"attributeidentity":"mandatory", "value": "true","operator": "=", "unit":""},cpuPinning_vGMuxInfra",
          {"attributepolicyScope": ["scorevCPE", "valueUS":, "4INTERNATIONAL", "operator":"=ip", "unit": ""}vGMuxInfra"],
          {"attributetype": "dataProcessingAccelerationLibraryhpaCpuPinning", "
        "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.1value":"library_version", "operator": "=", "unit":""},
        ],
        "identity": "ovsDpdk_vGMuxInfra",
        "policyScope": ["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra"],
        "type": "hpaOvsDpdkPolicy",
    "version": "oofBeijing",
    "resourceInstanceTypepriority": ["vGMuxInfra3"],
    }
}
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.

Section
bordertrue
Column
width60%
Code Block
languagejs
themeEclipse
titleHPA CPU_Pinning Policy Example
linenumberstrue
collapsetrue
{"riskType": "test",
    "serviceriskLevel": "hpaCpuPinningPolicy2",
    "policyNameguard": "oofBeijing.hpaCpuPinningPolicy_vGMuxInfraFalse",
    "descriptioncontent": "CPU{
 Pinning policy for vGMuxInfra",
    "templateVersionnumaProperties": "0.0.1",
[   
		 {"versionattribute": "oofBeijinghpaFeature",
   "value": "numa", "priorityoperator": "3=",
    "riskTypeunit": "test"},
    "riskLevel     {"attribute": "2architecture",
 "value": "INTELx64",  "guardoperator": "False=",
    "contentunit": {""},
         {"cpuPinningPropertiesattribute":  [
          {"attribute":"hpaFeature""mandatory", "value": "cpuPinningtrue", "operator": "=", "unit": ""},
          {"attribute": "architecturescore", "value": "INTELx644", "operator": "=", "unit": ""},
          {"attribute": "mandatorynumaNodes", "value": "true2", "operator": "=", "unit": ""},
          {"attribute": "scorenumaCpu-0", "valuevalues":["0", "41"], "operator": "=", "unit": ""},
          {"attribute": "logicalCpuThreadPinningPolicynumaMem-0", "value": "prefer2048", "operator": "=", "unit": "MB"},
          {"attribute": "logicalCpuPinningPolicynumaCpu-1", "valuevalues":["2", "dedicated","3", "4", "5"], "operator": "=", "unit": ""},
    ],
        {"identityattribute": "cpuPinningnumaMem-1", "value": "4096", "operator": "=", "unit": "MB"}
        ],
        "identity": "numa_vGMuxInfra",
        "policyScope": ["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra"],
        "type": "hpaCpuPinninghpaNumaPolicy",
        "resourceInstanceType": ["vGMuxInfra"]
    }
}
Column
width45%
Expand
titleComments and Notes: HPA CPU_Pinning 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 NUMA SGX Policy Example
linenumberstrue
collapsetrue
{
    "service": "hpaNumaPolicyhpaSgxPolicy",
    "policyName": "oofBeijing.hpaNumaPolicyhpaSgxPolicy_vGMuxInfra",
    "description": "Hyper NUMASGX policy for vGMuxInfra",
    "templateVersion": "0.0.1",
    "version": "oofBeijing",
    "priority": "3",]
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "numaPropertiessgxProperties": [
   
		       {"attribute": "hpaFeature", "value": "numasgx", "operator": "=", "unit": ""},
          {"attribute": "architecture", "value": "INTELx64", "operator": "=", "unit": ""},
          {"attribute": "mandatory", "value": "true", "operator": "=", "unit": ""},
          {"attribute": "score", "value": "4", "operator": "=", "unit": ""},
          {"attribute": "numaNodessgxMemSize", "value": "265", "operator": "=", "unit": "MB"},
          {"attribute": "numaCpu-0sgxPubkeyHash", "valuesvalue":["0", "1octect_string"], "operator": "any=", "unit": ""},
         {"attribute": "numaMem-0", "value": "2", "operator": ">=", "unit],
        "identity": "GBsgx_vGMuxInfra"},
         {"attributepolicyScope": ["numaCpu-1vCPE", "valuesUS":["2", "3INTERNATIONAL"], "operator": "any"ip", "unit": ""}vGMuxInfra"],
         {"attributetype": "numaMem-1", "value": "4", "operator": ">=", "unit": "GB"}
        ],hpaSgxPolicy",
        "identityresourceInstanceType": "numa_vGMuxInfra",
        "policyScope":["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra"],
        "type": "hpaNumaPolicy",
        "resourceInstanceType": ["vGMuxInfra"]
    }
}
}
Column
width45%
Expand
titleComments and Notes: HPA NUMA 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 SGX Affinity Policy Example
linenumberstrue
collapsetrue
{
    "service": "hpaSgxPolicyaffinityPolicy",
    "policyName": "oofBeijing.hpaSgxPolicyaffinityPolicy_vGMuxInfravcpe",
    "description": "SGXAffinity policy for vGMuxInfravCPE",
    "templateVersion": "01702.0.103",
    "version": "oofBeijing",
    "priority": "35",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "sgxPropertiesidentity": ["affinity_vCPE",
          {"attributepolicyScope":"hpaFeature", "value": "sgx","operator": "=", "unit":""} {
            "serviceType": ["vCPE"],
          {  "attributegeoRegion": ["architectureUS", "value": "INTELx64","operator": "=", "unit": ""},
INTERNATIONAL"],
            "networkType": ["ip"],
            {"attributeresourceInstanceType": ["mandatoryvGMuxInfra", "value": "true","operator": "=", "unit":""},vG"]
        },
        "affinityProperty": {
          {  "attributequalifier":"score", {"value": "4different", "operator": "=", "unit": ""},
          {"attribute":"sgxMemSize", "value": "65",category"operator": "=", "unit":"MB"},
          {"attribute":"sgxPubkeyHash", "value": "octect_stringcomplex", "operator": "=", "unit": ""},
        ]},
        "identitytype": "sgx_vGMuxInfraaffinityPolicy",
        "policyScoperesourceInstanceType": ["vCPEvGMuxInfra", "US", "INTERNATIONAL", "ip", "vGMuxInfra"],vG"]
        "type": "hpaSgxPolicy",
        "resourceInstanceType": ["vGMuxInfra"]
    }
}}
}
Column
width45%
Expand
titleComments and Notes: HPA SGX Affinity 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
titleAffinity Capacity Policy Example
linenumberstrue
collapsetrue
{
    "service": "affinityPolicycapacityPolicy",
    "policyName": "oofBeijing.affinityPolicycapacityPolicy_vcpevGMuxInfra",
    "description": "AffinityCapacity policy for vCPEvGMuxInfra",
    "templateVersion": "1702.03",
    "version": "oofBeijing",
    "priority": "5",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "identity": "affinitycapacity_vCPEvGMuxInfra",
        "policyScope": {
            "serviceType": ["vCPEVCPE"],
            "geoRegion": ["US", "INTERNATIONAL"],
            "networkType": ["ip"],
            "resourceInstanceType": ["vGMuxInfra", "vG"]
        },
        "affinityPropertycapacityProperty": {
            "qualifiercpu": {"value": "different"2, "operator": "=>"},
            "categorymemory": {"value": 4, "complexoperator": ">", "operatorunit": "=Gb"}
        },
        "type": "affinityPolicycapacityPolicy",
        "resourceInstanceType": ["vGMuxInfra", "vG"]
    }
}
Column
width45%
Expand
titleComments and Notes: Affinity Capacity 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
titleCapacity Min Guarantee Policy Example
linenumberstrue
collapsetrue
{
    "service": "capacityPolicyminGuaranteePolicy",
    "policyName": "oofBeijing.capacityPolicyminGuaranee_vGMuxInfra",
    "description": "CapacityMin guarantee policy for vGMuxInfra",
    "templateVersion": "1702.03",
    "version": "oofBeijing",
    "priority": "5",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "identity": "capacityminGuarantee_vGMuxInfra",
        "policyScope": {
            "serviceType": ["VCPEvCPE"],
            "geoRegion": ["US", "INTERNATIONAL"],
            "networkType": ["ip"],
            "resourceInstanceType": ["vGMuxInfra"]
        },
        "capacityPropertyminGuaranteeProperty": {
            "cpu": {"value": 2"true", "operator": ">="},
            "memory": {"value": 4, "operatorfalse": ">", "unitoperator": "Gb="}
        },
        "type": "capacityPolicyminGuaraneePolicy",
        "resourceInstanceType": ["vGMuxInfra"]
    }
}
Column
width45%
Expand
titleComments and Notes: Capacity Min Guarantee 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
titleMin Guarantee Optimization Policy Example
linenumberstrue
collapsetrue
{
    "service": "minGuaranteePolicyPlacementOptimizationPolicy",
    "policyName": "oofBeijing.minGuaraneePlacementOptimizationPolicy_vGMuxInfra",
    "description": "MinPlacement guaranteeOptimization policyPolicy for vGMuxInfra",
    "templateVersion": "1702.03",
    "version": "oofBeijing",
    "priority": "5",
    "riskType": "test",
    "riskLevel": "23",
    "guard": "False",
    "content": {
        "identityobjectiveParameter": "minGuarantee_vGMuxInfra",
{
            "policyScopeparameterAttributes": {[
            "serviceType": ["vCPE"],
   {
         "geoRegion": ["US", "INTERNATIONAL"],
            "networkTyperesource": ["ipvGMuxInfra"],
            "resourceInstanceType": ["vGMuxInfra"]        "customerLocationInfo": "customer_loc",
        },
            "minGuaranteePropertyparameter": {"distance",
            "cpu": {"value": "true", "operator        "weight": "=1"},
                 "memory": {"value": "false", "operator": "product"="}
        },
        "type": "minGuaraneePolicy"},
           "resourceInstanceType": ["vGMuxInfra"]
    }
}
Column
width45%
Expand
titleComments and Notes: Min Guarantee 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
titleOptimization Policy Example
linenumberstrue
collapsetrue
{
{
      "service": "PlacementOptimizationPolicy",
    "policyName         "resource": ["oofBeijing.PlacementOptimizationPolicy_vGMuxInfravG"],
    "description": "Placement Optimization Policy for vGMuxInfra",
                "templateVersioncustomerLocationInfo": "1702.03customer_loc",
    "version": "oofBeijing",
      "priority": "5",
    "riskType": "test",
    "riskLevelparameter": "3distance",
    "guard": "False",
       "content": {
        "objectiveParameterweight": {"1",
            "parameterAttributes        "operator": ["product"
                {}
            ],
            "resourceoperator": ["vGMuxInfrasum"],
        },
            "customerLocationInfoidentity": "customer_locoptimization",
        "policyScope": {
            "parameterserviceType": ["distancevCPE"],
            "geoRegion": ["US", "INTERNATIONAL"],
      "weight      "networkType": ["1ip"],
                    "operator": "product"="resourceInstanceType": ["vGMuxInfra", "vG"]
        },
        },
                {
                    "resource"type": ["vGplacementOptimization"],
                    "customerLocationInfoobjective": "customer_locminimize",
                    "parameter": "distance",
                    "weight": "1}
}
Column
width45%
Expand
titleComments and Notes: Optimization 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",
    "operatortemplateVersion": "product0.0.1",
    "version": "oofBeijing",
    "priority": "3",
      }"riskType": "test",
            ],
  "riskLevel": "2",
          "operator"guard": "sumFalse",
        },"content": {
        "identityPciePassthroughProperties": "optimization",[
          {"policyScopeattribute": {
            "serviceType": ["vCPE"]"hpaFeature", "value": "pciePassthrough","operator": "=", "unit":""},
          {"attribute":"architecture", "value": "INTELx64","geoRegionoperator": ["US=", "INTERNATIONAL"]unit": ""},
          {"attribute":"mandatory", "value": "networkTypetrue","operator": ["ip"] "=", "unit":""},
          {"attribute":"score", "value": "resourceInstanceType4", "operator":"=", ["vGMuxInfraunit",: "vG"]},
        },
  {"attribute": "pciCount", "value": "2", "operator": "=", "typeunit": "placementOptimization"},
          {"objectiveattribute": "minimize"
    }
}
Column
width45%
Expand
titleComments and Notes: Optimization 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
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": {"pciVendorId", "value":"8086", "operator": "=", "unit": ""},
	      {"attribute": "pciDeviceId", "value": "2", "operator": "=", "unit": ""}   
       ],
        "identity": "pciePassthrough_vGMuxInfra",
        "policyScope":["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra"],
        "type": "hpaPciePassthroughPolicy", 
        "PciePassthroughPropertiesresourceInstanceType": ["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
{
      {"attributeservice": "hpaFeaturehpaLocalStoragePolicy",
 "value": "pciePassthrough","operator": "=", "unitpolicyName": "oofBeijing.hpaLocalStorage_vGMuxInfra"},
    "description": "HPA Local Storage policy  {"attribute":"architecture", "valuefor vGMuxInfra",
    "templateVersion": "0.0.1",
    "version": "oofBeijing",
    "priority": "3",
    "riskType": "INTELx64test",
    "operatorriskLevel": "=2",
    "unitguard": "False"},
    "content": {
        "LocalStorageProperties": [
          {"attribute":"mandatoryhpaFeature", "value": "true","operator": "=", "unit":""},
         : "localStorage","operator": "=", "unit":""},
          {"attribute":"architecture", "value": "INTELx64","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 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": { {"attribute":"score", "value": "4", "operator":"=", "unit": ""},
          {"attribute": "pciCount", "value": "2", "operator": "=", "unit": ""},
          {"attribute": "pciVendorId", "value":"8086", "operator": "=", "unit": ""},
	      {"attribute": "pciDeviceId", "value": "2", "operator": "=", "unit": ""}   
       ],
        "identityavxProperties": "pciePassthrough_vGMuxInfra",
[
	        {"policyScopeattribute":["vCPE", "US"hpaFeature", "INTERNATIONALvalue",: "ipcpuInstructionSetExtensions","operator": "vGMuxInfra="],
        "type"unit": "hpaPciePassthroughPolicy"},
          {"resourceInstanceTypeattribute":"architecture", ["vGMuxInfra"]
    }
}
Column
width45%
Expand
titleComments and Notes: HPA PCIe Passthrough Policy Example
Section
bordertrue
Column
width60%
Code Block
languagejs
themeEclipse
titleHPA Generic Attributes Policy
linenumberstrue
collapsetrue
{
    "servicevalue": "INTELx64","operator": "=", "unit": "hpaGenericAttributesPolicy"},
    "policyName      {"attribute": "oofBeijing.hpaGenericAttributesPolicy_vGMuxInframandatory",
 "value": "true","operator": "=", "descriptionunit":""},
 "HPA Generic Attributes policy for vGMuxInfra",
    {"templateVersionattribute": "0.0.1score",
 "value": "4", "operator":"=", "versionunit": "oofBeijing",
"},
          {"priorityattribute": "3instructionSetExtensions",
    "riskTypevalue": ["testavx",
 "aes"]   "riskLeveloperator": "2ALL",
    "guardunit": "False"},
       "content": { ],
        "GenericAttributesPropertiesidentity": ["cpuInstructionSetExtensions_vGMuxInfra",
        "policyScope": ["vCPE", {"attributeUS":, "hpaFeatureINTERNATIONAL", "valueip":, "genericAttributesvGMuxInfra"],"operator
        "type": "=hpaCpuInstructionSetExtensionsPolicy",
 "unit       "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",
          {"attribute":"architecture", "value": "INTELx64","operator": "=", "unit": ""},
    "description": "HPA Huge Pages policy for {"attribute":"mandatory", "valuevGMuxInfra",
    "templateVersion": "true0.0.1",
    "operatorversion": "=oofBeijing",
    "unitpriority": "3"},
    "riskType": "test",
     {"attributeriskLevel": "score2",
    "valueguard": "4False",
    "operatorcontent":"=", {
        "unitHugePagesProperties": ""},[
          {"attribute": "numVirtualCpuhpaFeature", "value": "2virtualCpuMemory", "operator": "=", "unit": ""},
          {"attribute": "virtualMemSizearchitecture", "value": "64INTELx64", "operator": "=", "unit": "MB"},
	          {"attribute": "diskSizemandatory", "value": "2true", "operator": "=", "unit": "GB"},
    
	      {"attribute": "ephemeralDiskSizescore", "value": "24", "operator": "=", "unit": "GB"},
		          {"attribute": "swapMemSizememoryPageSize", "value": "16<MEMORYPAGESIZE>", "operator": "=", "unit": "MB"},
       ],
        "identity": "genericAttributeshugePagesAttributes_vGMuxInfra",
        "policyScope":["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra"],
        "type": "hpaGenericAttributesPolicyhpaHugePagesPolicy",
        "resourceInstanceType": ["vGMuxInfra"]
    }
}
Column
width45%40%
Expand
titleComments and Notes: HPA Generic Attributes Policy ExampleHuge Pages Policy Example

MEMORYPAGESIZE = 4KB (unit=KB), 2MB (unit=MB), 1GB(unit GB), ANY, Other explicit Page sizeThe 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 AVX Realtime Policy Example
linenumberstrue
collapsetrue
{
    "service": "hpaAvxPolicyhpaRealtimePolicy",
    "policyName": "oofBeijing.avxPolicyhpaRealtimePolicy_vGMuxInfra",
    "description": "AVXHPA Realtime policy for vGMuxInfra",
    "templateVersion": "0.0.1",
    "version": "oofBeijing",
    "priority": "3",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "RealtimeProperties": [
  "content": {        {"attribute":"hpaFeature", "value": "realtime","operator": "=", "unit":""},
        "avxProperties": [
	      {"attribute":"hpaFeaturearchitecture", "value": "cpuInstructionAVXINTELx64","operator": "=", "unit": ""},
          {"attribute":"architecturemandatory", "value": "INTELx64true","operator": "=", "unit": ""},
          {"attribute":"mandatoryscore", "value": "true4", "operator": "=", "unit": ""},
          {"attribute": "scorerealtimePolicy", "value": "4<REALTIMEPOLICY>", "operator": "=", "unit": ""},
          {"attribute": "instructionSetExtensionsrealtimeMask", "value": "avx<REALTIMEMASK>", "operator": "=", "unit": ""},
        ],
        "identity": "avxRealtimeAttributes_vGMuxInfra",
        "policyScope": ["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra"],
        "type": "hpaAvxPolicyhpaRealtimePolicy",
        "resourceInstanceType": ["vGMuxInfra"]
    }
}
Column
width45%
Expand
titleComments and Notes: HPA AVX ExampleRealtime 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

...