VMware Cloud Community
bdamian
Expert
Expert
Jump to solution

vRA 8 - Available networks for Project

I have 3 VLANs for projects. 

  • Project A can use vlan-1 and vlan-2
  • Project B can use vlan-1 and vlan-3
  • Project C can use vlan-2 and vlan-3

In vRA7 this was easy defining the networks in the Reservation and a custom property pointing to the vRO Action "com.vmware.vra.networks/getApplicableNetworks" to show a Drop Down with the possible networks per Business Group.

How can I do this in vRA8? A drop down in a Shared Template which shows only the correct networks according with the Project.

Thanks a lot.

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

Accepted Solutions
bdamian
Expert
Expert
Jump to solution

I've solved this problem and make a post with the solution. Is in spanish but, if you need it, I can translate it.

My post: https://tecnologiaimasd.blogspot.com/2022/08/vra8-definir-redes-disponibles-por.html

 

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

View solution in original post

0 Kudos
2 Replies
bdamian
Expert
Expert
Jump to solution

I've solved this problem and make a post with the solution. Is in spanish but, if you need it, I can translate it.

My post: https://tecnologiaimasd.blogspot.com/2022/08/vra8-definir-redes-disponibles-por.html

 

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

Dear @bdamian ,

I hope you are fine.

Thanks for sharing your solution in: https://tecnologiaimasd.blogspot.com/2022/08/vra8-definir-redes-disponibles-por.html

I can see that you are using a custom property called "applicableNetwork", I have tested that and it works fine.

However, let's say we do not want to use a fixed custom property within a project, instead we want to find project's networks in a dynamic way. I mean, If a new network is added to the system we want to avoid having to update the custom property?

Do you know a different approach to solve that task? 

I have been thinking about how to face this and, I do not know if checking each Network constraints for a specific project and then try to iterate over all networks that have the same tags could help. I found this: https://communities.vmware.com/t5/VMware-Aria-Automation/dynamic-network-selection-in-vRA-blueprint/... 

What do you think about that? 

 

 

Best regards

Antonio

0 Kudos