I want to know hoe to override the placement values chosen by vRA when requesting the creation of VMs from a blueprint. Currently, I'm using VRA appliance 6.1.1.0 Build 2216936.
On vRA web console I have successfully created reservations, blueprints and services. I also created a custom vRO workflow, named "Placement Override". In addition, I ran "Assign a state change workflow to a blueprint and its virtual machines" predefined workflow to invoke my "Placement Override" workflow after the Requested phase and before the BuildingMachine phase for one ore more VMs. As a result, the “ExternalWFStubs.BuildingMachine" property was successfully set to the ID of "Placement Override" workflow.
My use case is as follows:
1) From vRA web console, the administrator selects a blueprint from the Service catalog and clicks Request button to request a new VM to be created.
2) My "Placement Override" vRO workflow is invoked, performs some processing and determines several values to be used for each VM requested, such as:
- Virtual Machine name
- Host
- Datastore
- Number of CPUs
- Amount of memory
- Amount of storage
3) I want to be able to override the vRA properties mentioned above for the provisioned VM(s) with the values determined by my vRO workflow. Any examples will be appreciated. Thank you in advance.