Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

How can I Update vRA 7.0.1 Machine Component Properties using vRO?

$
0
0

Hello vRA Community,

 

I am looking for advice on how to approach automating updating our blueprints when we have a new VM template available using vRO. Currently we already have a vRO workflow that builds a VM template from scratch. I would like to add a final step to the workflow that updates our current blueprints with the new template ID. Currently we have to use the blueprint designer UI to edit the blueprint, select the virtual machine component, and then update the build profile by browsing to the new template. That is very tedious when we have a lot of blueprints to edit.

 

In vRA 6 I believe this could be done by using the "create / update property from blueprint" built in vro workflow for vra and updating the "__clonefrom" and "__clonefromid" properties. In vRA 7 now the blueprint is a composite blueprint and the machine component is nested inside of it. Using the "create / update property from blueprint" workflow in vRA 7 seems to only be able to edit the properties for the parent component. The properties as seen here from the vra inventory in vro:

 

compositeproperties.jpg

 

In the example above, I wish to edit the 2008R2S-DE-VM components properties. Does anyone have any suggestions on how to do that?

 

This is probably too much information, but in relation to my current workflow in vro, we would need to:

 

1. Get a list of blueprints where the machine component clonefrom property matches the current OS template that was deployed in the workflow

2. Run a data collection

3. Get the template ID of the OS template that was just deployed

4. Edit all matching blueprint machine components with the new template ID

 

Regards,

Darrenoid


Viewing all articles
Browse latest Browse all 9859

Trending Articles