vim_dvs_portgroup¶
Distributed Port Group (DPG) lifecycle via SOAP.
DPG identity:
key(server-assigned, stable, used by VM NIC backings)name(human-readable; we use it as the lookup key)portgroupKeyreturned insaltext.vcf.clients.vim_vm_nic.list_()is this samekey.
Two creation paths:
create_vlan()for VLAN-backed (standard / trunk / private)create_overlay()for overlay-backed (early-binding ephemeral for use under NSX/Avi)
- saltext.vcf.clients.vim_dvs_portgroup.create_vlan(opts, dvs_name_or_id, name, *, vlan_id=0, num_ports=8, binding='earlyBinding', auto_expand=True, promiscuous=False, profile=None)[source]¶
Create a VLAN-backed DPG.
vlan_id of 0 means the DPG is untagged. Use
create_trunk()for a trunk port group.