Hi,
There is a default work-flow called "Create simple dvPortGroup" When you run this work flow it sets the adapter type to "Flexible". I want the adapter type set to VMXNET3. Does anyone have a workflow or some sample code that does this?
I have another workflow that sets the adapter correctly to VMXNET3 but it is using a standard switch.
Thanks for any help.
cheers
Doug
Hello Doug,
That workflow calls this action "createVirtualEthernetCardDvNetworkConfigSpec"
Line 18 of that action sets the NIC as VcVirtualPCNet32 - or, Flexible
To get what you like:
Duplicate the action and modify your copy to create VcVirtualVmxnet3 instead of VcVirtualPCNet32
After you've done that, duplicate the workflow that calls the action.
Edit your duplicated copy so that it calls YOUR version of the action that was created above.
Now use your workflow instead of the library workflow
This is all off the top of my head, I did not actually take the time to create and test the solution for you, but the above should put you in the right direction for a working solution.
Hello Doug,
That workflow calls this action "createVirtualEthernetCardDvNetworkConfigSpec"
Line 18 of that action sets the NIC as VcVirtualPCNet32 - or, Flexible
To get what you like:
Duplicate the action and modify your copy to create VcVirtualVmxnet3 instead of VcVirtualPCNet32
After you've done that, duplicate the workflow that calls the action.
Edit your duplicated copy so that it calls YOUR version of the action that was created above.
Now use your workflow instead of the library workflow
This is all off the top of my head, I did not actually take the time to create and test the solution for you, but the above should put you in the right direction for a working solution.
Hi Burke,
Thanks for the response. I believe that will get it. Let me get in the office tomorrow and give that a try.
Once again thanks for the information.
cheers
Doug
Hi Burke,
Your response was spot on!! Works great. Don't know how I missed that option.
Once again thanks for the information.
cheers
Doug