Hi,
I have problems creating (or if not possible changing the existing) a VMXNET3 network card.
The function createVirtualNetworkCard dosnt have an attribute to select the Network card.
The solution was with https://communities.vmware.com/thread/428221?start=0&tstart=0
There are actually 2 solutions:
a) add into the "Add a NIC" Workflow into the script "add NIC" the line
nic.itemResource.resourceSubType.value="VMXNET3";
between the var nic = System.getModule.... and var nics = vm.getNetworkCards();
b) Change the createVirtualNetworkCard Action.
by adding a new String CardType and changing the line:
resourceSubType.value = CardType
I also attached the modified Action, in whichI included not only the CardType but the MAC.
NOTE:
I just found out that the Workflow "wire a VM" OVERWRITES the existing network card, instead of just adding the network connection
The solution was with https://communities.vmware.com/thread/428221?start=0&tstart=0
There are actually 2 solutions:
a) add into the "Add a NIC" Workflow into the script "add NIC" the line
nic.itemResource.resourceSubType.value="VMXNET3";
between the var nic = System.getModule.... and var nics = vm.getNetworkCards();
b) Change the createVirtualNetworkCard Action.
by adding a new String CardType and changing the line:
resourceSubType.value = CardType
I also attached the modified Action, in whichI included not only the CardType but the MAC.
NOTE:
I just found out that the Workflow "wire a VM" OVERWRITES the existing network card, instead of just adding the network connection
Thanks for sharing your solution!
Joerg