vcf_vim_vm_nic¶
Execution module for VM NIC lifecycle (SOAP).
- saltext.vcf.modules.vcf_vim_vm_nic.list_(vm, profile=None)[source]¶
List every NIC on vm.
CLI Example:
salt '*' vcf_vim_vm_nic.list_ vm-100
- saltext.vcf.modules.vcf_vim_vm_nic.add(vm, nic_type='vmxnet3', network_moid=None, portgroup_key=None, dvs_uuid=None, mac_address=None, start_connected=True, profile=None)[source]¶
Add a new NIC.
CLI Example:
salt '*' vcf_vim_vm_nic.add vm-100 nic_type=vmxnet3 network_moid=network-12
- saltext.vcf.modules.vcf_vim_vm_nic.update_backing(vm, nic_key, network_moid=None, portgroup_key=None, dvs_uuid=None, profile=None)[source]¶
Reattach an existing NIC to a different network.
CLI Example:
salt '*' vcf_vim_vm_nic.update_backing vm-100 4000 network_moid=network-42