pyvmomi
pyvmomi copied to clipboard
Multiple VLANs in different VMs
Hi,
I'm trying to manage VM networking and I would like to know if it's possible to configure multiple VLANs for a host and assign a different VLAN to each VM of this host. If possible, a MWE is really appreciated.
Thanks.
To my knowledge, it is possible by creating portgroups in VSwitch of host and assigning VLAN ID to it. configure Vms to attach to port group. I will share you the code soon.