Files
deb-python-pyvmomi/docs/vim/host/NetworkPolicy/NicTeamingPolicy.rst
Shawn Hartsock 15f7be9a52 pyVmomi reStructured Text Documentation
This external documentation for pyVmomi was generated using Googly Docs
(aka Google Standard Documentation) which renders very cleanly in
GitHub. Internal documentation for a class should be done in Sphinx
format because tools like pyCharm and Eclipse can use that documentation
as a hint for code completion.

Note: External docs as Googly Docs, internal docs as Sphinx.

Closes bug#15
2014-06-17 14:07:42 -04:00

2.6 KiB

vim.host.NetworkPolicy.NicTeamingPolicy

Policy for a network adapter team.

extends

vmodl.DynamicData

Attributes:

policy (str, optional):

Network adapter teaming policy includes failover and load balancing, It can be one of the following:
  • loadbalance_ip
  • : route based on ip hash.
  • loadbalance_srcmac
  • : route based on source MAC hash.
  • loadbalance_srcid
  • : route based on the source of the port ID.
  • failover_explicit
  • : use explicit failover order.
  • See
  • nicTeamingPolicy

reversePolicy (bool, optional):

The flag to indicate whether or not the teaming policy is applied to inbound frames as well. For example, if the policy is explicit failover, a broadcast request goes through uplink1 and comes back through uplink2. Then if the reverse policy is set, the frame is dropped when it is received from uplink2. This reverse policy is useful to prevent the virtual machine from getting reflections.

notifySwitches (bool, optional):

Flag to specify whether or not to notify the physical switch if a link fails. If this property is true, ESX Server will respond to the failure by sending a RARP packet from a different physical adapter, causing the switch to update its cache.

rollingOrder (bool, optional):

The flag to indicate whether or not to use a rolling policy when restoring links. For example, assume the explicit link order is (vmnic9, vmnic0), therefore vmnic9 goes down, vmnic0 comes up. However, when vmnic9 comes backup, if rollingOrder is set to be true, vmnic0 continues to be used, otherwise, vmnic9 is restored as specified in the explicitly order.

failureCriteria (vim.host.NetworkPolicy.NicFailureCriteria, optional):

Failover detection policy for this network adapter team. The bridge must be BondBridge for this property to be valid.

nicOrder (vim.host.NetworkPolicy.NicOrderPolicy, optional):

Failover order policy for network adapters on this switch. The bridge must be BondBridge for this property to be valid.