Versions Compared

Key

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

...

View file
namefgpsworkflow.pdf
height400

Outgoing APIs

HAS must send this group (Anti-affinity in this example) definition to FGPS first so it can understand what Anti-affinity group will be requested in the followed placement request. This info is also extracted from policy.

Code Block
languageyml
titleGroup API
parameters:
	group_name_1:
		type: string
		description: First group name
	group_type_1:
		type: string
		description: First group type
	group_level_1:
		type:string
		description: First group level

resources:
	group_1:
		type: ONAP::FGPS::Group
		properties:
			name: { get_param: group_name_1 }
			type: { get_param: group_type_1}
			level: { get_param: group_level_1 }   	

...

MultiCloud

Elite soft json viewer
width800
height800
{
  "cloud-owner": "string",
  "cloud-region-id": "string",
  "availability-zones": [
    {
      "availability-zone-name": "string",
      "vCPU": "int",
      "Memory": "float",
      "Storage": "int"
    },
    {
      "availability-zone-name": "string //name of available zone",
      "vCPU": "int,  // number of cores for this AZ",
      "Memory": "float,  // size of memory, GB for this AZ",
      "Storage": "int, //GB for this AZ"
    }
  ]
}

...