VMware Cloud Community
kpcongdon
Enthusiast
Enthusiast

Connect / Disconnect VM nic via vCO?

This seems like it would be a pretty basic operation, but when browsing through the out of box  workflows and actions, I don't see an obvious way to do this.  I need to automate disconnecting, connecting, and setting 'connect on start' for vm nic's in vco.  Is there an easy way to do this, or must I script this either via javascript or powershell?  I

Tags (1)
0 Kudos
3 Replies
tschoergez
Leadership
Leadership

Check out Onyx to figure out how the needed API calls:

http://labs.vmware.com/flings/onyx

Google for onyx vco to see some demo videos.

Cheers,

Joerg

0 Kudos
kpcongdon
Enthusiast
Enthusiast

Hi Joerg,

I am familiar with onyx, and had already done what you suggested.  I had hoped there was a more direct way to do this than role my own javascript code.   Thanks for the tip though.

0 Kudos
chrisheartland
Enthusiast
Enthusiast

Hi, I'm in a similar situation becuase I have to change from a standard switch to a vDS portgroup. When I make the change it loses connectivity. All I did was to throw in a shut down guest os workflow followed by a start vm workflow. As long as the option "connect at power on" is selected this work around will work!

Chris

0 Kudos