create_subnet
Add a new subnet to a phpIPAM section using network address and mask. Optional description and VLAN ID support.
Instructions
Create a new subnet in phpIPAM.
Args: section_id: Section ID where subnet will be created subnet: Network address (e.g., "192.168.1.0") mask: Subnet mask (e.g., "24") description: Optional description for the subnet vlan_id: Optional VLAN ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mask | Yes | ||
| subnet | Yes | ||
| vlan_id | No | ||
| section_id | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |