opn_settings
Read or update an OPNsense controller’s full settings model: merge partial data, save changes, and optionally apply service reconfigure.
Instructions
Read a controller's whole settings model (controller/get), or change part of it: data is merged into the model and saved with controller/set, e.g. opn_settings("unbound/settings", {"general": {"port": "53"}}). apply=true then runs the service reconfigure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| apply | No | ||
| dry_run | No | ||
| controller | Yes |