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 }   	

...