VMware Cloud Community
SirWinstonPit
Contributor
Contributor
Jump to solution

Configuring VMXNET3 and Distributed switch.

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

0 Kudos
1 Solution

Accepted Solutions
Burke-
VMware Employee
VMware Employee
Jump to solution

Hello Doug,

That workflow calls this action "createVirtualEthernetCardDvNetworkConfigSpec"

Line 18 of that action sets the NIC as VcVirtualPCNet32 - or, Flexible Smiley Wink

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 Smiley Happy

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.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter

View solution in original post

0 Kudos
3 Replies
Burke-
VMware Employee
VMware Employee
Jump to solution

Hello Doug,

That workflow calls this action "createVirtualEthernetCardDvNetworkConfigSpec"

Line 18 of that action sets the NIC as VcVirtualPCNet32 - or, Flexible Smiley Wink

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 Smiley Happy

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.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter
0 Kudos
SirWinstonPit
Contributor
Contributor
Jump to 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

0 Kudos
SirWinstonPit
Contributor
Contributor
Jump to solution

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

0 Kudos