Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 234493

Re: help with user inputs

$
0
0

Hi Christian,

 

Basically I’m asking the user for their group, the OS they want and a VM “level” (which I will use to add ram/cores/HD space as needed)

 

I will clone from template. I do have a customization spec in vcenter I can use but I’m not opposed to using the option in orchestrator and filling in all those parameters (from another post on there, it seems calling an existing spec isn’t necessarily easy)

 

I want to take these inputs (as strings) and then figure out the following:

 

Which datastore to put it on (either by matching a group name to their datastore or just finding the one with the most free space for example.. which I seem to have working from some code I found on the forums)

What to call the VM (VM###_text which I figue I can ask vcenter for a list of all vm’s matching a regular expression to find my next ###)

Put the VM into a folder (based on the input the user gave)

Place VM on a cluster

Give an IP (depending on what we do, I may need to query an external system to give me the IP or if the external system will start this workflow, it will be able to pass me the IP)

 

My current workflow has other workflows for each thing I need to get (I have one workflow to try and figure out what storage to use, another to figue out the template, etc). All those set attributes on the parent workflow and the last step would be to call the builtin clone workflow.

 

Thanks


Viewing all articles
Browse latest Browse all 234493

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>