You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Contents

Summary

Introduction

Policy Platform

Resources Related to Policy

OOF Policy Examples

OOF-HAS Policy Examples

OOF-HAS VNF Attribute Policies

HPA Hyper-Threading Policy Example
{
    "service": "HPA_Hyper_Threading_Policy",
    "policyName": "OOF_Beijing.vGMuxInfra",
    "description": "Hyper threading policy for vGMuxInfra",
    "templateVersion": "0.0.1",
    "version": "ONAP_Beijing",
    "priority": "3",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
        "hyper_threading_properties": {
	    "cpu_cores": {
                "magnitude": 4,
                "operator": "=",
                "unit": ""
        },
	    "cpu_threads": {
                "magnitude": 2,
                "operator": "=",
                "unit": ""
        },
	    "cpu_threads_policy": {
                "magnitude": "dedicated",
                "operator": "=",
                "unit": ""
        },
		"cpu_sockets": {
                "magnitude": 2, "operator": "=", "unit": ""
         }
        },

        "identity": "hyper_threading_vGMuxInfra",
        "policyScope": {
            "serviceType": ["vCPE"],
            "geoRegion": ["US", "INTERNATIONAL"],
            "networkType": ["ip"],
            "resourceInstanceType": ["vGMuxInfra"]
        },
        "type": "HPA_hyper_threading",
        "resourceInstanceType": ["vGMuxInfra"]
    }
}

The values in this exemplary policy are populated from a TOSCA service model by the policy platform.

OOF-HAS Service Policies


CMSO Policy Examples


  • No labels