vcf_vim_dvs_portgroup¶
Execution module for distributed port groups (SOAP).
- saltext.vcf.modules.vcf_vim_dvs_portgroup.list_(dvs, profile=None)[source]¶
List every DPG on dvs.
CLI Example:
salt '*' vcf_vim_dvs_portgroup.list_ prod-dvs
- saltext.vcf.modules.vcf_vim_dvs_portgroup.get(dvs, name, profile=None)[source]¶
Return one DPG.
CLI Example:
salt '*' vcf_vim_dvs_portgroup.get prod-dvs prod-web
- saltext.vcf.modules.vcf_vim_dvs_portgroup.get_or_none(dvs, name, profile=None)[source]¶
Return one DPG or
None.CLI Example:
salt '*' vcf_vim_dvs_portgroup.get_or_none prod-dvs prod-web
- saltext.vcf.modules.vcf_vim_dvs_portgroup.create_vlan(dvs, name, vlan_id=0, num_ports=8, binding='earlyBinding', auto_expand=True, promiscuous=False, profile=None)[source]¶
Create a VLAN-backed DPG.
CLI Example:
salt '*' vcf_vim_dvs_portgroup.create_vlan prod-dvs prod-web vlan_id=100
- saltext.vcf.modules.vcf_vim_dvs_portgroup.create_trunk(dvs, name, vlan_ranges, num_ports=8, binding='earlyBinding', profile=None)[source]¶
Create a VLAN-trunk-backed DPG.
CLI Example:
salt '*' vcf_vim_dvs_portgroup.create_trunk prod-dvs trunk-uplink '[[100,200]]'