appliance techpreview networking routes: route

route structure Structure that describes how routing is performed for a particular destination and prefix. A destination/prefix of 0.0.0.0/0 ( for IPv4) or ::/0 (for IPv6) refers to the default gateway.

Representations:

{
    "destination""string",
    "gateway""string",
    "interface_name""string",
    "prefix"1
}
<?xml version="1.0" ?>
<ns0:Route xmlns:ns0="http://vmware.com/appliance/techpreview/networking/routes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <gateway>string</gateway>
  <prefix>1</prefix>
  <interface_name>string</interface_name>
  <destination>string</destination>
</ns0:Route>

Attributes:

Name Type Description
Required
destination string Destination address that defines this route.

prefix long Destination CIDR prefix that defines this route. See http://www.oav.net/mirrors/cidr.html for netmask-to-prefix conversion.

gateway string Gateway address.

interface_name string Output device interface, for example, "nic0".