Files
deb-python-pyvmomi/docs/vim/Network.rst
Shawn Hartsock c83651f5be pyvmomi RST docs do not properly show lists
Fixes RST documents to include list mark up when appropriate.

closes: https://github.com/vmware/pyvmomi/issues/76
2014-08-13 14:49:24 -04:00

1.5 KiB

vim.Network

Represents a network accessible by either hosts or virtual machines. This can be a physical network or a logical network, such as a VLAN.Networks are created:
  • explicitly when configuring a host.
  • automatically when adding a host to VirtualCenter.
  • automatically when adding a new virtual machine to a host or to VirtualCenter.
  • To configure network access for hosts and virtual machines, use
  • DistributedVirtualSwitch
  • and
  • DistributedVirtualPortgroup
  • managed objects.
extends

vim.ManagedEntity

Attributes

name (str):

Name of this network.

summary (vim.Network.Summary):

Properties of a network.

host ([vim.HostSystem]):

Hosts attached to this network.

vm ([vim.VirtualMachine]):

Virtual machines using this network.

Methods

DestroyNetwork():

Removes a network. A network can be removed only if it is not used by any host or virtual machine.

Privilege:

Network.Delete

Args:

Returns:

None

Raises:

vim.fault.ResourceInUse:

if one or more hosts or virtual machines are configured to use the network.