pve_sdn_subnet_create
Create a pending SDN subnet in Proxmox, specifying CIDR and optional gateway/SNAT/DHCP parameters. Default dry-run returns a plan; confirm to execute.
Instructions
MUTATION: create an SDN subnet (PENDING). subnet is a CIDR (e.g. 10.0.0.0/24); options
carries gateway/snat/dhcp params.
To update this subnet use pve_sdn_subnet_update; to remove it use pve_sdn_subnet_delete. Dry-run by default (returns a PLAN); confirm=True creates the pending subnet and returns {status, result}. RISK_LOW (staging; inert until apply).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vnet | Yes | SDN vnet name the subnet belongs to. | |
| subnet | Yes | Subnet CIDR to create, e.g. 10.0.0.0/24. | |
| confirm | No | False (default) returns a dry-run PLAN only; True executes the staged mutation. | |
| options | No | Subnet options such as gateway, snat, and dhcp. | |
| lock_token | No | SDN cluster lock token to use for this write, if one is held. | |
| proximo_target | No | Which configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |