appliance networking routes: info
info
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. Warning: This structure is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.Representation:
{
"mode" : "STATIC",
"prefix" : 1,
"destination" : "string",
"interface_name" : "string",
"gateway" : "string"
}
"mode" : "STATIC",
"prefix" : 1,
"destination" : "string",
"interface_name" : "string",
"gateway" : "string"
}
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
mode | string | Static provides information about installation of the route. True indicates the route was installed by the administrator. False indicates the route was autoconfigured. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. Mode of the routes static or autoconfigured. Warning: This enumeration is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. Value is one of: STATIC: Route installed by administrator. Warning: This constant is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. AUTO: Autoconfigured route. Warning: This constant is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. |
prefix | long | Destination CIDR prefix that defines this route. See http://www.oav.net/mirrors/cidr.html for netmask-to-prefix conversion. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. |
Optional | ||
destination | string | Destination address that defines this route. An empty string indicates 0.0.0.0. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. Optional. |
gateway | string | Gateway address. An empty string indicates 0.0.0.0. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. Optional. |
interface_name | string | Output device interface, for example, "nic0". An empty string indicates that the rule applies to all interfaces(*). Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. Optional. |