Network Routes
Manages network routes.
Table 7-11 Manage Network Routes
|
|
|
POST
|
/routes
|
Create a new network route
|
GET
|
/routes/<route>
|
Get the specified network route properties
|
GET
|
/routes
|
List all network route objects
|
DELETE
|
/routes/<route>
|
Destroy the specified route object
|
GET
|
/routing
|
Get net routing properties
|
PUT
|
/routing
|
Modify net routing properties
|
|
Table 7-12 Network Route Properties
|
|
type
|
Type of route such as “system” or “static” (immutable)
|
family
|
Address family (either IPv4 or IPv6)
|
destination
|
Route destination address
|
gateway
|
Gateway address
|
interface
|
Network datalink interface
|
|
The href path to each route uses the the route IDs set in the CLI, but these values
can change as routes are modified. The API supports selecting single routes using unique
properties within the route. The syntax is routes/<name>=<value> compared to
routes/route-###