Versions Compared

Key

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

...

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": "NUMAnuma", "operator": "=", "unit": ""},
         {"attribute": "architecture", "value": "INTELx64", "operator": "=", "unit": ""},
         {"attribute": "mandatory", "value": "true", "operator": "=", "unit": ""},
         {"attribute": "score", "value": "4", "operator": "=", "unit": ""},
         {"attribute": "numaNodes", "value": "2", "operator": "=", "unit": ""},
         {"attribute": "numaCpu-0", "values":["0", "1"], "operator": "any", "unit": ""},
         {"attribute": "numaMem-0", "value": "2", "operator": ">=", "unit": "GB"}
         {"attribute": "numaCpu-1", "values":["2", "3"], "operator": "any", "unit": ""},
         {"attribute": "numaMem-1", "value": "4", "operator": ">=", "unit": "GB"}
        ],
        "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
titleOptimization Policy Example
linenumberstrue
collapsetrue
{
    "service": "PlacementOptimizationPolicy",
    "policyName": "oofBeijing.PlacementOptimizationPolicy_vGMuxInfra",
    "description": "Placement Optimization Policy for vGMuxInfra",
    "templateVersion": "1702.03",
    "version": "oofBeijing",
    "priority": "5",
    "riskType": "test",
    "riskLevel": "3",
    "guard": "False",
    "content": {
        "objectiveParameter": {
            "parameterAttributes": [
                {
                    "resource": ["vGMuxInfra"],
                    "customerLocationInfo": "customer_loc",
                    "parameter": "distance",
                    "weight": "1",
                    "operator": "product"=
                },
                {
                    "resource": ["vG"],
                    "customerLocationInfo": "customer_loc",
                    "parameter": "distance",
                    "weight": "1",
                    "operator": "product"
                }
            ],
            "operator": "sum"
        },
        "identity": "optimization",
        "policyScope": {
            "serviceType": ["vCPE"],
            "geoRegion": ["US", "INTERNATIONAL"],
            "networkType": ["ip"],
            "resourceInstanceType": ["vGMuxInfra", "vG"]
        },
        "type": "placementOptimization",
        "objective": "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": {
        "PciePassthroughProperties": [
          {"attribute":"hpaFeature", "value": "pciePassthrough","operator": "=", "unit":""},
          {"attribute":"architecture", "value": "INTELx64","operator": "=", "unit": ""},
          {"attribute":"mandatory", "value": "true","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 Generic Attributes Policy
linenumberstrue
collapsetrue
{
    "service": "hpaGenericAttributesPolicy",
    "policyName": "oofBeijing.hpaGenericAttributesPolicy_vGMuxInfra",
    "description": "HPA Generic Attributes policy for vGMuxInfra",
    "templateVersion": "0.0.1",
    "version": "oofBeijing",
    "priority": "3",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "GenericAttributesProperties": [
          {"attribute":"hpaFeature", "value": "genericAttributes","operator": "=", "unit":""},
          {"attribute":"architecture", "value": "INTELx64","operator": "=", "unit": ""},
          {"attribute":"mandatory", "value": "true","operator": "=", "unit":""},
          {"attribute":"score", "value": "4", "operator":"=", "unit": ""},
          {"attribute": "numVirtualCpu", "value": "2", "operator": "=", "unit": ""},
          {"attribute": "virtualMemSize", "value":"64", "operator": "=", "unit": "MB"},
	      {"attribute": "diskSize", "value": "2", "operator": "=", "unit": "GB"},   
	      {"attribute": "ephemeralDiskSize", "value": "2", "operator": "=", "unit": "GB"},
		  {"attribute": "swapMemSize", "value":"16", "operator": "=", "unit": "MB"},
       ],
        "identity": "genericAttributes_vGMuxInfra",
        "policyScope":["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra"],
        "type": "hpaGenericAttributesPolicy",
        "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 AVX Example
linenumberstrue
collapsetrue
{
    "service": "hpaAvxPolicy",
    "policyName": "oofBeijing.avxPolicy_vGMuxInfra",
    "description": "AVX policy for vGMuxInfra",
    "templateVersion": "0.0.1",
    "version": "oofBeijing",
    "priority": "3",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "avxProperties": [
	      {"attribute":"hpaFeature", "value": "cpuInstructionAVX","operator": "=", "unit":""},
          {"attribute":"architecture", "value": "INTELx64","operator": "=", "unit": ""},
          {"attribute":"mandatory", "value": "true","operator": "=", "unit":""},
          {"attribute":"score", "value": "4", "operator":"=", "unit": ""},
          {"attribute":"instructionSetExtensions", "value":"avx", "operator": "=", "unit":""},
        ],
        "identity": "avx_vGMuxInfra",
        "policyScope": ["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra"],
        "type": "hpaAvxPolicy",
        "resourceInstanceType": ["vGMuxInfra"]
    }
}
Column
width45%
Expand
titleComments and Notes: HPA AVX Example


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

...