vmware/pyvmomi-community-samples

Change a VM's VIF (aka NIC)

Open

#103 ouverte le 5 août 2014

Voir sur GitHub
 (2 commentaires) (0 réactions) (0 assignés)Python (914 forks)batch import
help wantedhigh prioritylow hanging fruitsample request

Métriques du dépôt

Stars
 (972 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur