Versions Compared

Key

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

Architecture and dependencies

View file
namefgpsworkflow.pdf
height400

Outgoing APIs

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 }   	


Code Block
languageyml
titlePlacement API
parameters:

	availability_zone_1:

		type: string

		description: First AZ name

	VDU_name_1:

		type: string

		description: First VDU id or name

	flavor_1:

		type:string

		description: Flavor for VDU_1

	group_1:

		type: string

		description: Affinity or Anti-affinity name for VDU_1

	availability_zone_2:

		type: string

		description: Second AZ name

	VDU_name_2:

		type: string

		description: Second VDU id or name

	flavor_2:

		type:string

		description: Flavor for VDU_2

	group_2:

		type: string

		description: Affinity or Anti-affinity name for VDU_2




resources:

	VDU_1:

		type: ONAP::FGPS::VDU

		properties:

			name: { get_param: VDU_name_1 }

			flavor: { get_param: flavor_1}

			availability_zone: { availability_zone_1 }     // initially, empty and FGPS will set up value

		metadata:

			valet_groups: { get_param: group_1 }   // this is the Affinity or Anti-affinity name to be used for VDU

	VDU_2:

		type: ONAP::FGPS::VDU

		properties:

			name: { get_param: VDU_name_2 }

			flavor: { get_param: flavor_2}

			availability_zone: { availability_zone_2 }

		metadata:

			valet_groups: { get_param: group_2 }