Files
deb-python-pyvmomi/docs/vim/host/NatService/PortForwardSpecification.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

1.1 KiB

vim.host.NatService.PortForwardSpecification

This data object type describes the Network Address Translation (NAT) port forwarding specification.

extends

vmodl.DynamicData

since

VI API 2.5

Attributes:

type (str):

Either "tcp" or "udp".

name (str):

The user-defined name to identify the service being forwarded. No white spaces are allowed in the string.

hostPort (int):

The port number on the host. Network traffic sent to the host on this TCP/UDP port is forwarded to the guest at the specified IP address and port.

guestPort (int):

The port number for the guest. Network traffic from the host is forwarded to this port.

guestIpAddress (str):

The IP address for the guest. Network traffic from the host is forwarded to this IP address.