Versions Compared

Key

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

Functional Requirement Link: Edge Scoping MVP for Casablanca - ONAP Enhancements#ONAPEnhancements-Cloud-agnosticPlacement/Networking&HomingPolicies(Phase1-CasablancaMVP,Phase2-StretchGoal)

Code Block
languagepy
themeEmacs
titleCloud Agnostic Intent Examples
linenumberstrue
#
#Example 1: vCPE, Burstable QoS
#vCPE: Infrastructure Resource Isolation for VNF with Burstable QoS
#
{
    "service": "cloudDeploymentPolicy",
    "policyName": "OSDF_R3.cloud_deployment_policy_vG_1",
    "description": "Cloud Deployment policy for vG",
    "templateVersion": "OpenSource.version.1",
    "version": "test1",
    "priority": "3",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
      "resources": "vG",
      "identity": "cloudDeploymentPolicy_vG",
      "policyScope": ["vCPE", "US", "INTERNATIONAL", "ip", "vG"],
      "policyType": "cloudDeploymentPolicy",
      "cloudDeploymentIntentList": [
        {
          "Cloud Type (Cloud Provider)": "VMware VIO",
          "intentProperties":[
            {
              "deploymentIntent" : "Infrastructure Resource Isolation for VNF",
              "intent-attributes": [
                {"intent-attribute-key":"Infrastructure Resource Isolation for VNF", "intent-attribute-value": "Burstable QoS","operator": "=", "unit": ""},
				{"intent-attribute-key":"Burstable QoS Oversubscription Percentage", "intent-attribute-value": "25","operator": "=", "unit": ""},
              ]
            },
          ]
        },
      ]
    }
}

#
#Example 2:
#vCPE: Infrastructure Resource Isolation for VNF with Guaranteed QoS
#
{
    "service": "cloudDeploymentPolicy",
    "policyName": "OSDF_R3.cloud_deployment_policy_vG_1",
    "description": "Cloud Deployment policy for vG",
    "templateVersion": "OpenSource.version.1",
    "version": "test1",
    "priority": "3",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
      "resources": "vG",
      "identity": "cloudDeploymentPolicy_vG",
      "policyScope": ["vCPE", "US", "INTERNATIONAL", "ip", "vG"],
      "policyType": "cloudDeploymentPolicy",
      "cloudDeploymentIntentList": [
        {
          "intentProperties":[
            {
              "deploymentIntent" : "Infrastructure Resource Isolation for VNF",
              "intent-attributes": [
                {"intent-attribute-key":"Infrastructure Resource Isolation for VNF", "intent-attribute-value": "Guaranteed QoS","operator": "=", "unit": ""},
              ]
            },
          ]
        },
      ]
    }
}


#
#Example 3: vDNS, Burstable QoS
#vDNS: Infrastructure Resource Isolation for VNF with Burstable QoS
#
{
    "service": "cloudDeploymentPolicy",
    "policyName": "OSDF_R3.cloud_deployment_policy_vDNS_1",
    "description": "Cloud Deployment policy for vDNS",
    "templateVersion": "OpenSource.version.1",
    "version": "test1",
    "priority": "3",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
      "resources": "vDNS",
      "identity": "cloudDeploymentPolicy_vDNS",
      "policyScope": ["vDNS", "US", "INTERNATIONAL", "ip", "vDNS"],
      "policyType": "cloudDeploymentPolicy",
      "cloudDeploymentIntentList": [
        {
          "Cloud Type (Cloud Provider)": "VMware VIO",
          "intentProperties":[
            {
              "deploymentIntent" : "Infrastructure Resource Isolation for VNF",
              "intent-attributes": [
                {"intent-attribute-key":"Infrastructure Resource Isolation for VNF", "intent-attribute-value": "Burstable QoS","operator": "=", "unit": ""},
				{"intent-attribute-key":"Burstable QoS Oversubscription Percentage", "intent-attribute-value": "25","operator": "=", "unit": ""},
              ]
            },
            {
              "deploymentIntent" : "Infrastructure High Availability for VNF",
            },
          ]
        },
      ]
    }
}

#
#Example 4:
#vDNS: Infrastructure Resource Isolation for VNF with Guaranteed QoS
#
{
    "service": "cloudDeploymentPolicy",
    "policyName": "OSDF_R3.cloud_deployment_policy_vDNS_1",
    "description": "Cloud Deployment policy for vDNS",
    "templateVersion": "OpenSource.version.1",
    "version": "test1",
    "priority": "3",
    "riskType": "test",
    "riskLevel": "2",
    "guard": "False",
    "content": {
      "resources": "vDNS",
      "identity": "cloudDeploymentPolicy_vG",
      "policyScope": ["vDNS", "US", "INTERNATIONAL", "ip", "vDNS"], //vDNS VNF has 3 VNFCs - vDNS, vLB and vPacketgen
      "policyType": "cloudDeploymentPolicy",
      "cloudDeploymentIntentList": [
        {
          "intentProperties":[
            {
              "deploymentIntent" : "Infrastructure Resource Isolation for VNF",
              "intent-attributes": [
                {"intent-attribute-key":"Infrastructure Resource Isolation for VNF", "intent-attribute-value": "Guaranteed QoS","operator": "=", "unit": ""},
              ]
            },
            {
              "deploymentIntent" : "Infrastructure High Availability for VNF",
            },
          ]
        },
      ]
    }
}

...