add_dhcp_static_mapping
Create a DHCP static mapping to reserve an IP for a MAC address, applying changes immediately or staging for later batch application.
Instructions
Create a DHCP static mapping (IP reservation) for a MAC address.
Staged until apply_changes('dhcp') is called or apply=true is passed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mac | Yes | ||
| apply | No | ||
| descr | No | ||
| ipaddr | Yes | ||
| hostname | No | ||
| interface | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||