vmware/pyvmomi-community-samples

Change a VM's VIF (aka NIC)

Open

#103 建立於 2014年8月5日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)Python (914 fork)batch import
help wantedhigh prioritylow hanging fruitsample request

倉庫指標

Star
 (972 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南