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