unifi_create_network
Create a new VLAN network on a UniFi controller, specifying management type, VLAN ID, and optional DHCP configuration.
Instructions
Create a new network (VLAN). management must be 'GATEWAY' or 'VLAN_ONLY'. Example ipv4_configuration: {'hostIpAddress':'10.10.20.1','prefixLength':24,'dhcpConfiguration':{'mode':'SERVER','ipAddressRange':{'start':'10.10.20.100','stop':'10.10.20.200'},'leaseTimeSeconds':86400}}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| management | Yes | ||
| site_id | No | default | |
| vlan_id | No | ||
| enabled | No | ||
| isolation_enabled | No | ||
| internet_access_enabled | No | ||
| mdns_forwarding_enabled | No | ||
| cellular_backup_enabled | No | ||
| ipv4_configuration | No |