Versions Compared

Key

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

...

Section
bordertrue
Column
width60%
Code Block
languagejs
themeEclipse
titleDistance Policy Example
linenumberstrue
collapsetrue
{
  "service": "DistancePolicy",
  "policyName": "OOF_Beijing.DistancePolicy_vGMuxInfra",
  "description": "Distance Policy for vGMuxInfra",
  "templateVersion": "0.0.1",
  "version": "ONAP_Beijing",
  "priority": "3",
  "riskType": "test",
  "riskLevel": "2",
  "guard": "False",
  "content": {
    "distance_properties": {
      "locationInfo": { "value": "customer_location", "operator": "="},
      "distance": { "value": "500", "operator": "<", "unit": "km" },
      "resourceInstanceType": { "value": "vGMuxInfra", "operator": "="},
    },
    "identity": "distance-bGMuxInfra",
    "policyScope": {
      "serviceType": ["vCPE"],
      "geoRegion": ["US", "INTERNATIONAL"],
      "networkType": ["ip"],
      "resourceInstanceType": ["vGMuxInfra"]
    },
    "type": "distance"
  }
}
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",
    "policyName": "OOF_Beijing.AES_vGMuxInfra",
    "description": "AES policy for vGMuxInfra",
    "templateVersion": "0.0.1",
    "version": "ONAP_Beijing",
    "priority": "3",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "AES_properties": {
	    	"version": { "values": 1.0, "operator": "="},
	    	"hw_arch": { "values": "intel_64", "operator": "="},
	    	"aes_feature": {"values": "true","operator": "="}
        },
        "identity": "AES_vGMuxInfra",
        "policyScope": {
			"serviceType": ["vCPE"],
            "geoRegion": ["US", "INTERNATIONAL"],
            "networkType": ["ip"],
            "resourceInstanceType": ["vGMuxInfra"]
        },
        "type": "HPA_AES",
        "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_Policy",
    "policyName": "OOF_Beijing.HPA_DPDK_vGMuxInfra",
    "description": "HPA OVS DPDK policy for vGMuxInfra",
    "templateVersion": "0.0.1",
    "version": "ONAP_Beijing",
    "priority": "3",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "OVS_DPDK_properties": {
	    	"version": { "values": 1.0, "operator": "="},
            "hw_arch": { "values": "*", "operator": "="},
	    	"OVS_DPDK": {"values": "true", "operator": "="}
        },
        "identity": "OVS_DPDK_vGMuxInfra",
        "policyScope": {
            "serviceType": ["vCPE"],
            "geoRegion": ["US", "INTERNATIONAL"],
            "networkType": ["ip"],
            "resourceInstanceType": ["vGMuxInfra"]
        },
        "type": "HPA_OVS_DPDK",
        "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_Policy",
    "policyName": "OOF_Beijing.HPA_CPU_Pinning_vGMuxInfra",
    "description": "CPU Pinning policy for vGMuxInfra",
    "templateVersion": "0.0.1",
    "version": "ONAP_Beijing",
    "priority": "3",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "CPU_pinning_properties": {
	    	"pinning": { "values": "prefer", "operator": "="}
        },
        "identity": "CPU_pinning_vGMuxInfra",
        "policyScope": {
            "serviceType": ["vCPE"],
            "geoRegion": ["US", "INTERNATIONAL"],
            "networkType": ["ip"],
            "resourceInstanceType": ["vGMuxInfra"]
        },
        "type": "HPA_CPU_pinning",
        "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_Policy",
    "policyName": "OOF_Beijing.Hyper_NUMA_vGMuxInfra",
    "description": "Hyper NUMA policy for vGMuxInfra",
    "templateVersion": "0.0.1",
    "version": "ONAP_Beijing",
    "priority": "3",]
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "NUMA_properties": {
	    	"version": { "values": 1.0, "operator": "="},
            "hw_arch": { "values": "*", "operator": "="},
			"numa_nodes": { "values": 2, "operator": "="},
			"complex_attributes": [
				{
					"numa_cpu": { "values": [0, 1], "operator": "="},
					"numa_mem": { "values": 2, "operator": "=", "unit": "GB"},
				},
				{
					"numa_cpu": { "values": [2, 3, 4, 5], "operator": "="},
					"numa_mem": { "values": 4, "operator": "=", "unit": "GB"},      
                }
	    	]
        },
        "identity": "NUMA_vGMuxInfra",
        "policyScope": {
            "serviceType": ["vCPE"],
            "geoRegion": ["US", "INTERNATIONAL"],
            "networkType": ["ip"],
            "resourceInstanceType": ["vGMuxInfra"]
        },
        "type": "HPA_NUMA",
        "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_Policy",
    "policyName": "OOF_Beijing.SGX_vGMuxInfra",
    "description": "SGX policy for vGMuxInfra",
    "templateVersion": "0.0.1",
    "version": "ONAP_Beijing",
    "priority": "3",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "SGX_properties": {
	    	"version": { "values": 1.0, "operator": "="},
			"hw_arch": { "values": "intel_64", "operator": "="},
			"sgx_mem_size": { "values": "128", "operator": "=", "unit": "MB"},
            "sgx_pubkey_hash": { "values": "octect_string", "operator": "="}
        },
        "identity": "SGX_vGMuxInfra",
        "policyScope": {
            "serviceType": ["vCPE"],
            "geoRegion": ["US", "INTERNATIONAL"],
            "networkType": ["ip"],
            "resourceInstanceType": ["vGMuxInfra"]
        },
        "type": "HPA_SGX",
        "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.

CMSO Policies

TBD

Policy Fetching Modes

...