Quantcast
Viewing latest article 38
Browse Latest Browse All 168400

Re:vRA 8.1 Allow user to select network port group during deployment

@ j_dubs

Thanks for your reply.

 

The use case is as you  guessed.

I want to allow users within Project to select ServerType. The case is that for single ServerType there might be many available networks (for example for ApplicationServerType there might be two networks: APP1 network and APP2 network). So after user selects ServerType from custom form dropdown field, the Network dropdown should update its items to match networks available for this specific ServerType.

I have achieved such behaviour by writing vRO action that takes ServerType and Project as an input parameters and returns array of network tags. Unfortunatly mapping between [project, serverType] -> [network:tag1, network:tag2, ...] is embedded into code. I don't know (for now) how to retrieve networks assigned to project by network constraints.

 

It would be very nice if somebody could share some code to retrieve Networks available for Project. Unless there is some simpler solution...


Viewing latest article 38
Browse Latest Browse All 168400

Trending Articles