VMware Cloud Community
Lokesh_gsl
Contributor
Contributor

vRA 8.12 Allow user to select network port group during deployment from catalogue

Hello All,

I'm trying to achieve  how can I allow users to select network from dropdown list while filling out deployment form.

In my Project I use network constraints to select Network Profile. Within Network Profile I have 100+ subnets and users should select the appropriate while deployment. I don't want to go with hard constraints.

I would like to allow user to select one of those Networks while filling the blueprint form.

Could you please provide some examples how to achieve such functionality.

Thanks,

0 Kudos
3 Replies
bdamian
Expert
Expert

You need to TAG those networks.

Let say you have 3 networks: VLAN-01, VLAN-02 and VLAN-3. You need to apply tags to these three. For instance, net:vlan-01, net:vlan-02 and net:vlan-03. I suggest that you tag those portgroups in vCenter.

Then, in your cloud template, create an enum input for this new tag and add the constraint to the Network.

 

---
Damián Bacalov
vExpert 2017-2023 (7 years)
https://www.linkedin.com/in/damianbacalov/
https://tecnologiaimasd.blogspot.com/
twitter @bdamian
0 Kudos
Lokesh_gsl
Contributor
Contributor

Sir Damian,

I have done tagging, but the problem mentioning under Enum is, i do have 167 port groups and for each cluster i have few common port groups and few dedicated to that cluster. it is very difficult for me to do that in Enum.

Help me with any other ideas you have. Thanks for your Suggestion

0 Kudos
bdamian
Expert
Expert

So what you need is to create a list of Portgroups (name and tag) based on the Cluster where the VM will be placed, right?

The only way to do that is to create the appropriate Orchestrator Action and configure a Custom Form for the Cloud Template.

In this post (in spanish) I explain how to create an action that returns a sorted list of options in order to be used in a Custom Form.

 

---
Damián Bacalov
vExpert 2017-2023 (7 years)
https://www.linkedin.com/in/damianbacalov/
https://tecnologiaimasd.blogspot.com/
twitter @bdamian
0 Kudos