vmware/pyvmomi-community-samples

Change a VM's VIF (aka NIC)

Open

#103 opened on 2014年8月5日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)Python (972 stars) (914 forks)batch import
help wantedhigh prioritylow hanging fruitsample request

説明

From an IRC chat session:

Can anybody point me to an example of how to set a VM NIC to use a particular network? I'm scripting cloning a VM, and need to change the network the created VM is on.

Demonstrate how to find a VM and manipulate it's VIF to switch it from one network to another. Use the ReconfigVM_Task API

コントリビューターガイド