Huddle01 Cloud
CLINetworks

hudl network create <name>

Create a new private network with a CIDR block.

Create a new private network with a CIDR block. The network is provisioned in the current region and includes a primary subnet with DHCP enabled by default.

Usage

hudl network create <name> [flags]

Flags

FlagDescription
--description <text>Human-readable description for the network.
--cidr <cidr>CIDR pool for the network (e.g. 10.0.0.0/16).
--subnet-size <int>Primary subnet prefix length, e.g. 24 for a /24 subnet.
--dhcpEnable DHCP on the primary subnet (default: true).

Common flags

FlagDescription
--region <code>Override the active region for this call only.
--workspace <slug>Override the active workspace for this call only.
-o, --outputOutput format: table (default), json, yaml, wide, name.
--idempotency-key <key>Attach an idempotency key so retries are safe.

Examples

Create a basic network:

hudl network create backend-net

Create a network with a specific CIDR and /24 subnet:

hudl network create db-network \
  --cidr 10.10.0.0/16 \
  --subnet-size 24 \
  --description "Database tier network"

Create a network with DHCP disabled:

hudl network create static-net \
  --cidr 192.168.1.0/24 \
  --subnet-size 24 \
  --dhcp=false

Output as JSON for scripting:

hudl network create infra-net --cidr 172.16.0.0/16 -o json

API reference

This command calls POST /networks under the hood. See the full request and response schema in the API reference.