Versions Compared

Key

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

...

Code Block
languagepy
themeEmacs
titleWorkload Deployment Cost Policy Example (Step 5b)
linenumberstrue
collapsetrue
//
//Policy relevantRelevant to MC Azure Pluginplugins
//

//<Service,fixed VNFC>workload todeployment instanceType Mapping
{
	{
		"Service": "vCPE"
		"VNFC": "vgw", //"vgw" is also intechangeably used as "vg"	
		"cloudOwner": "Azure",
		"instanceType": "x1",
		"AvailabilitySetFeatureGroup": "G1" //availability set is a realization of the Intent "Infra High Availability (HA) for VMs in a VNF"
	}
}

//workload deployment cost for instance type per cloud region 
{
	{
		"cloudRegion": "5",
		"instanceType": "x1",
		"featureGroup": "G1",
		"workloadDeploymentBaseVMCost": "100",
		"workloadDeploymentFeatureGroupCost": "0"
	}, 
	{
		"cloudRegion": "10",
		"instanceType": "x1",
		"featureGroup": "G1",
		"workloadDeploymentBaseVMCost": "120"
		"workloadDeploymentFeatureGroupCost": "0"
	}, 
}cost for all workloads (simplifying assumption for R3)
{
	"workloadDeploymentCost": "100",
}



//
//Policy Relevant to Wind River VIOOpenStack plugin
//
//fixed workload deployment cost for all workloads (simplifying assumption for R3)
{
	"workloadDeploymentCost": "100", (set to higher or lower value for testing)
}


...

5a) MC Processing (need MC code changes)

...