Hello,
in would like to replace the action getVirtualPCNet32 with a new action getVirtualVmxnet3 in the workflow "Get multiple VirtualEthernetCard device change"
If I replace it with getVirtualVmxnet2 it works fine but if I use my new own action getVirtualVmxnet3 it fails "[object Error] (Dynamic Script Module name : getVirtualDeviceConfigSpec#65)"
I duplicated the action getVirtualVmxnet2 and created getVirtualVmxnet3
-
var device = new VcVirtualVmxnet2();
device = System.getModule("com.vmware.library.vc.vm.spec.config.device").getVirtualEthernetCard(device,backing,connectable,controllerKey,deviceInfo,key,unitNumber,addressType,macAddress,wakeOnLanEnabled);
return device;
-
var device = new VcVirtualVmxnet3();
device = System.getModule("com.vmware.library.vc.vm.spec.config.device").getVirtualEthernetCard(device,backing,connectable,controllerKey,deviceInfo,key,unitNumber,addressType,macAddress,wakeOnLanEnabled);
return device;
-
What am I doing wrong? Or can't it be done like that? Why wasn't there a getVirtualVmxnet3 in the first place?
Many thx for any help