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.Representation:
{
"prefix" : 1,
"destination" : "string",
"interface_name" : "string",
"gateway" : "string"
}
"prefix" : 1,
"destination" : "string",
"interface_name" : "string",
"gateway" : "string"
}
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". |