routing
Create, delete, list, and toggle static routes and gateways, check gateway status, and apply changes now or stage them. Use help to see each action's fields and rules.
Instructions
Static routes and gateways. Note routes use enabled and gateways use disabled, so a toggle means the opposite thing on each. Call action='help' for each action's fields and rules.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | [create_gateway] Gateway name | |
| uuid | No | Record to act on, identified by a list action. | |
| apply | No | Apply now rather than leaving the change staged. The default differs by action; action='help' reports each one. | |
| action | Yes | Operation to run. 'help' lists fields. | |
| confirm | No | Token returned by the previous call, to confirm. | |
| enabled | No | Target state, set explicitly rather than flipped. | |
| gateway | No | [create_gateway, create_route] Next hop address | |
| network | No | [create_route] Destination prefix, for example 172.20.2.0/24 | |
| interface | No | [create_gateway] Interface identifier | |
| ipprotocol | No | [create_gateway] inet or inet6 (default inet) | |
| description | No | Free-text note stored on the record. | |
| far_gateway | No | [create_gateway] Next hop outside the interface subnet | |
| monitor_disable | No | [create_gateway] Turn off monitoring, usual for a point-to-point transit |