Hi
i have a template Rh_template with one nic on vlan1 for example.
i setup a blueprint to deploy vm's by cloning from this template.
i 'd like to use static ip assignment so i 3 create a network profiles for 3 different environments (dev,test,prod) and would like to let the user to chose on which VLAN to provision.
i create these custom properties:
VirtualMachine.Network.Environment via a valuelist type within dev,test,prod as values
VirtualMachine.Network0.Name with these proprty attributes:
Relationship Parent VirtualMachine.Network.Environment
ValueExpression Expression xml expression
well, for me this works only if you use the DHCP; the VirtualMachine.Network0.Name changes only the VLAN tag on vCenter side and does not apply the right network profile with the right IP Range.
so i've added the VirtualMachine.Network0.ProfileName create the xml file for ValueExpression and now all works as expected.
But in such way the use, when request a vm, needs to make 3 selections:
1) The Environment
2) The Network Profile
3) The VLAN (VirtualMachine.Network0.Name)
now the question
Is there a way to set the VirtualMachine.Network0.Name value, based on Network.Profile dropdownlist selection in order to restrict the user choice only to 2 items?
i mean this should be the workflow:
user select Dev environment from the dropdown list, then select the Network Profile - automatically the vCAC should set VirtualMachine.Network0.Name value based on Network Profile selection without user interaction!
any tips?
thanks
Alan