Manage DHCP Server
manage_dhcp_serverAdd, remove, enable, or disable a DHCP server on a specified router interface. Idempotent by server name to avoid duplicate entries.
Instructions
Add, remove, enable, or disable a DHCP server. Idempotent by name: add returns already_exists if a server with the same name, interface, and address pool already exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routerId | Yes | Target router identifier from the router registry | |
| action | Yes | Action to perform | |
| name | Yes | Server name — idempotency key | |
| interface | No | Interface to serve DHCP on (required for add) | |
| addressPool | No | IP pool name (required for add) | |
| leaseTime | No | Lease duration (e.g. '1d', '12h') | |
| comment | No | Optional comment | |
| dryRun | No | Preview changes without applying |