opnsense_route_gateway_update
Update an existing gateway's monitoring, weight, priority, or enable/disable state. Requires explicit confirmation and subsequent apply to activate changes.
Instructions
Update an existing gateway's settings (toggle monitoring, set monitor IP, change weight/priority, enable/disable). Round-trips current config and only overrides explicitly provided fields. After updating, call opnsense_route_gateway_apply to activate the change. DESTRUCTIVE: requires explicit confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Gateway UUID (from opnsense_route_gateway_list) | |
| monitor_disable | No | Disable gateway monitoring (true = no health probe) | |
| monitor | No | Monitor IP address (used when monitor_disable=false). Empty string clears it. | |
| disabled | No | Disable the gateway entirely | |
| defaultgw | No | Mark as default gateway | |
| description | No | Human-readable description | |
| weight | No | Load-balancing weight (1-30) | |
| priority | No | Failover priority (1-255, lower = higher priority) | |
| confirm | Yes | Must be true to confirm the update |