vcenter vm guest networking routes: info

The info structure describes an individual host, network or default destination network reachable through a gateway. This structure was added in vSphere API 7.0.0.

Representation:

{
    "gateway_address""string",
    "interface_index"1,
    "prefix_length"1,
    "network""string"
}

Attributes:

Name Type Description
Required
network string IP Address of the destination IP network. IPv4 address is specified using dotted decimal notation. For example, "192.0.2.1". IPv6 addresses are 128-bit specified using as eight fields of up to four hexadecimal digits. A colon separates each field (:). For example, 2001:DB8:101::230:6eff:fe04:d9ff. The address can also consist of symbol '::' to represent multiple 16-bit groups of contiguous 0's only once in an address as described in RFC 2373. This attribute was added in vSphere API 7.0.0.

prefix_length long The prefix length. For IPv4 the value range is 0-32. For IPv6 prefixLength is a decimal value range 0-128. The property represents the number of contiguous, higher-order bits of the address that make up the network portion of the IP address. This attribute was added in vSphere API 7.0.0.

Optional
gateway_address string Where to send the packets for this route. Unicast IP Address of the next hop router. IPv4 address is specified using dotted decimal notation. For example, "192.0.2.1". IPv6 addresses are 128-bit specified using as eight fields of up to four hexadecimal digits. A colon separates each field (:). For example, 2001:DB8:101::230:6eff:fe04:d9ff. The address can also consist of symbol '::' to represent multiple 16-bit groups of contiguous 0's only once in an address as described in RFC 2373. This attribute was added in vSphere API 7.0.0.

Optional. If unset no gateway is set for the route.

interface_index long The network interface associated with this route. This is an index into the result of list The index refers to the relative position of an element in a array. For example, an index of 0 refers to the first element in the array while an index of 1 refers to the second element. This attribute was added in vSphere API 7.0.0.

Optional. If unset the route is not associated with a network interface.