Versions Compared

Key

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

...

Section
bordertrue
Column
width60%
Code Block
languagejs
themeEclipse
titleHPA Hyper-Threading Policy Example
linenumberstrue
collapsetrue
{
  "service": "HPA_Hyper_Threading_PolicyhpaHyperThreadingPolicy",
  "policyName": "OOFoofBeijing.hyperThreadingPolicy_Beijing.vGMuxInfra",
  "description": "Hyper threading policy for vGMuxInfra",
  "templateVersion": "0.0.1",
  "version": "ONAP_BeijingoofBeijing",
  "priority": "3",
  "riskType": "test",
  "riskLevel": "2",
  "guard": "False",
  "content": {
    "hyper_threading_propertieshyperThreadingProperties": {
      "cpu_corescpuCores": { "value": 4, "operator": "="},
      "cpu_threadscpuThreads": { "value": 2, "operator": "="},
      "cpu_threads_policycpuThreadsPolicy": { "value": "dedicated", "operator": "="},
      "cpu_socketscpuSockets": { "value": 2, "operator": "="}
    },
    "identity": "hyperhyperThreading_threading_vGMuxInfra",
    "policyScope": {
      "serviceType": ["vCPE"],
      "geoRegion": ["US", "INTERNATIONAL"],
      "networkType": ["ip"],
      "resourceInstanceType": ["vGMuxInfra"]
    },
    "type": "HPA_hyper_threadinghpaHyperThreadingPolicy",
    "resourceInstanceType": ["vGMuxInfra"]
  }
}
Column
width45%
Expand
titleComments and Notes: HPA Hyper-Threading 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": "DistancePolicydistancePolicy",
  "policyName": "OOF_BeijingoofBeijing.DistancePolicydistancePolicy_vGMuxInfra",
  "description": "Distance Policy for vGMuxInfra",
  "templateVersion": "0.0.1",
  "version": "ONAP_BeijingoofBeijing",
  "priority": "3",
  "riskType": "test",
  "riskLevel": "2",
  "guard": "False",
  "content": {
    "distance_propertiesdistanceProperties": {
      "locationInfo": { "value": "customer_location", "operator": "="},
      "distance": { "value": "500", "operator": "<", "unit": "km" },
      "resourceInstanceType": { "value": "vGMuxInfra", "operator": "="},
    },
    "identity": "distance-bGMuxInfravGMuxInfra",
    "policyScope": {
      "serviceType": ["vCPE"],
      "geoRegion": ["US", "INTERNATIONAL"],
      "networkType": ["ip"],
      "resourceInstanceType": ["vGMuxInfra"]
    },
    "type": "distancedistancePolicy"
  }
}
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": "HPA_AES_Policy""hpaAesPolicy",
    "policyName": "OOF_BeijingoofBeijing.AESaesPolicy_vGMuxInfra",
    "description": "AES policy for vGMuxInfra",
    "templateVersion": "0.0.1",
    "version": "ONAP_BeijingoofBeijing",
    "priority": "3",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "AES_propertiesaesProperties": {
	    	"version": { "values": 1.0, "operator": "="},
	    	"hw_archhwArch": { "values": "intel_64", "operator": "="},
	    	"aes_featureaesFeature": {"values": "true","operator": "="}
        },
        "identity": "AESaes_vGMuxInfra",
        "policyScope": {
			"serviceType": ["vCPE"],
            "geoRegion": ["US", "INTERNATIONAL"],
            "networkType": ["ip"],
            "resourceInstanceType": ["vGMuxInfra"]
        },
        "type": "HPA_AEShpaAesPolicy",
        "resourceInstanceType": ["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 OCS_DPDK Policy Example
linenumberstrue
collapsetrue
{
    "service": "HPA_OVS_DPDK_PolicyhpaOvsDpdkPolicy",
    "policyName": "OOF_BeijingoofBeijing.HPAhpaOvsDpdkPolicy_DPDK_vGMuxInfra",
    "description": "HPA OVS DPDK policy for vGMuxInfra",
    "templateVersion": "0.0.1",
    "version": "ONAP_BeijingoofBeijing",
    "priority": "3",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "OVS_DPDK_propertiesovsDpdkProperties": {
	    	"version": { "values": 1.0, "operator": "="},
            "hw_archhwArch": { "values": "*", "operator": "="},
	    	"OVS_DPDKOvsDpdk": {"values": "true", "operator": "="}
        },
        "identity": "OVSovsDpdk_DPDK_vGMuxInfra",
        "policyScope": {
            "serviceType": ["vCPE"],
            "geoRegion": ["US", "INTERNATIONAL"],
            "networkType": ["ip"],
            "resourceInstanceType": ["vGMuxInfra"]
        },
        "type": "HPA_OVS_DPDK"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.

Section
bordertrue
Column
width60%
Code Block
languagejs
themeEclipse
titleHPA CPU_Pinning Policy Example
linenumberstrue
collapsetrue
{
    "service": "HPA_CPU_Pinning_PolicyhpaCpuPinningPolicy",
    "policyName": "OOF_Beijing.HPA_CPU_Pinning_oofBeijing.hpaCpuPinningPolicy_vGMuxInfra",
    "description": "CPU Pinning policy for vGMuxInfra",
    "templateVersion": "0.0.1",
    "version": "ONAP_BeijingoofBeijing",
    "priority": "3",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "CPU_pinning_propertiescpuPinningProperties": {
	    	"pinning": { "values": "prefer", "operator": "="}
        },
        "identity": "CPUcpuPinning_pinning_vGMuxInfra",
        "policyScope": {
            "serviceType": ["vCPE"],
            "geoRegion": ["US", "INTERNATIONAL"],
            "networkType": ["ip"],
            "resourceInstanceType": ["vGMuxInfra"]
        },
        "type": "HPA_CPU_pinninghpaCpuPinning",
        "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.

Section
bordertrue
Column
width60%
Code Block
languagejs
themeEclipse
titleHPA NUMA Policy Example
linenumberstrue
collapsetrue
{
    "service": "HPA_NUMA_PolicyhpaNumaPolicy",
    "policyName": "OOF_Beijing.Hyper_NUMAoofBeijing.hpaNumaPolicy_vGMuxInfra",
    "description": "Hyper NUMA policy for vGMuxInfra",
    "templateVersion": "0.0.1",
    "version": "ONAP_BeijingoofBeijing",
    "priority": "3",]
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "NUMA_propertiesnumaProperties": {
	    	"version": { "values": 1.0, "operator": "="},
            "hw_archhwArch": { "values": "*", "operator": "="},
			"numa_nodesnumaNodes": { "values": 2, "operator": "="},
			"complexAttributes"complex_attributes": [
				{
					"numa_cpunumaCpu": { "values": [0, 1], "operator": "="},
					"numa_memnumaMem": { "values": 2, "operator": "=", "unit": "GB"},
				},
				{
					"numa_cpunumaCpu": { "values": [2, 3, 4, 5], "operator": "="},
					"numa_memnumaMem": { "values": 4, "operator": "=", "unit": "GB"},      
                }
	    	]
        },
        "identity": "NUMAnuma_vGMuxInfra",
        "policyScope": {
            "serviceType": ["vCPE"],
            "geoRegion": ["US", "INTERNATIONAL"],
            "networkType": ["ip"],
            "resourceInstanceType": ["vGMuxInfra"]
        },
        "type": "HPA_NUMAhpaNumaPolicy",
        "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": "HPA_SGX_PolicyhpaSgxPolicy",
    "policyName": "OOF_BeijingoofBeijing.SGXhpaSgxPolicy_vGMuxInfra",
    "description": "SGX policy for vGMuxInfra",
    "templateVersion": "0.0.1",
    "version": "ONAP_BeijingoofBeijing",
    "priority": "3",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "SGX_propertiessgxProperties": {
	    	"version": { "values": 1.0, "operator": "="},
			"hw_archhwArch": { "values": "intel_64", "operator": "="},
			"sgx_mem_sizesgxMemSize": { "values": "128", "operator": "=", "unit": "MB"},
            "sgx_pubkey_hashsgxPubkeyHash": { "values": "octect_string", "operator": "="}
        },
        "identity": "SGXsgx_vGMuxInfra",
        "policyScope": {
            "serviceType": ["vCPE"],
            "geoRegion": ["US", "INTERNATIONAL"],
            "networkType": ["ip"],
            "resourceInstanceType": ["vGMuxInfra"]
        },
        "type": "HPA_SGXhpaSgxPolicy",
        "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
titleAffinity Policy Example
linenumberstrue
collapsetrue
{
    "service": "affinityPolicy",
    "policyName": "oofBeijing.affinityPolicy_vcpe",
    "description": "Affinity policy for vCPE",
    "templateVersion": "1702.03",
    "version": "oofBeijing",
    "priority": "5",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "identity": "affinity_vCPE",
        "policyScope": {
            "serviceType": ["vCPE"],
            "geoRegion": ["US", "INTERNATIONAL"],
            "networkType": ["ip"],
            "resourceInstanceType": ["vGMuxInfra", "vG"]
        },
        "affinityProperty": {
            "qualifier": {"value": "different", "operator": "="},
            "category": {"value": "complex", "operator": "="}
        },
        "type": "affinityPolicy",
        "resourceInstanceType": ["vGMuxInfra", "vG"]
    }
}
Column
width45%
Expand
titleComments and Notes: 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
titleCapacity Policy Example
linenumberstrue
collapsetrue
{
    "service": "capacityPolicy",
    "policyName": "oofBeijing.capacityPolicy_vGMuxInfra",
    "description": "Capacity policy for vGMuxInfra",
    "templateVersion": "1702.03",
    "version": "oofBeijing",
    "priority": "5",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "identity": "capacity_vGMuxInfra",
        "policyScope": {
            "serviceType": ["VCPE"],
            "geoRegion": ["US", "INTERNATIONAL"],
            "networkType": ["ip"],
            "resourceInstanceType": ["vGMuxInfra"]
        },
        "capacityProperty": {
            "cpu": {"value": 2, "operator": ">"},
            "memory": {"value": 4, "operator": ">", "unit": "Gb"}
        },
        "type": "capacityPolicy",
        "resourceInstanceType": ["vGMuxInfra"]
    }
}
Column
width45%
Expand
titleComments and Notes: 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
titleMin Guarantee Policy Example
linenumberstrue
collapsetrue
{
    "service": "minGuaranteePolicy",
    "policyName": "oofBeijing.minGuaranee_vGMuxInfra",
    "description": "Min guarantee policy for vGMuxInfra",
    "templateVersion": "1702.03",
    "version": "oofBeijing",
    "priority": "5",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "identity": "minGuarantee_vGMuxInfra",
        "policyScope": {
            "serviceType": ["vCPE"],
            "geoRegion": ["US", "INTERNATIONAL"],
            "networkType": ["ip"],
            "resourceInstanceType": ["vGMuxInfra"]
        },
        "minGuaranteeProperty": {
            "cpu": {"value": "true", "operator": "="},
            "memory": {"value": "false", "operator": "="}
        },
        "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.

...