Cluster Cluster Node Id Node Create Node Network Route
Add a route to the node routing table. For static routes, the route_type, interface_id, netmask, and destination are required parameters. For default routes, the route_type, gateway address, and interface_id are required. For blackhole routes, the route_type and destination are required. All other parameters are optional. When you add a static route, the scope and route_id are created automatically. When you add a default or blackhole route, the route_id is created automatically. The route_id is read-only, meaning that it cannot be modified. All other properties can be modified by deleting and readding the route.
cluster-node-id
{
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_schema": "string",
"_self": {},
"destination": "string",
"from_address": "string",
"gateway": "string",
"interface_id": "string",
"ipv6": false,
"metric": "string",
"netmask": "string",
"proto": "string",
"route_id": "string",
"route_type": "string",
"scope": "string",
"src": "string"
}
Created
"NodeRouteProperties Object"
Conflict
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"route_type:"string"}' https://{api_host}/api/v1/cluster/{cluster-node-id}/node/network/routes