Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 2 Next »

Architecture and dependencies

Outgoing APIs

Group 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 }   	
Placement 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 }


  • No labels