Skip to content
NimbusNexus

Networks

A network is a virtual L2 broadcast domain inside a region. VMs and load balancers attach to a network through ports, and each port's address comes from one of the network's subnets.

Two flavors

FlavorCreated byRoutable to internetUsed for
ExternalAuto-provisioned per region; sharedYes — directly, or via floating IPsThe default uplink for most workloads
TenantYou, inside the projectNot directly — needs a routerPrivate VPC, multi-tier apps, internal-only services

The external network in each region is shared across all projects in that region. Its id is a UUID like any other; GET /api/v1/network/ lists it with router:external: true. Tenant networks are visible only inside your project, unless you share them.

Why you'd create a tenant network

  • Multi-tier architecture. Frontend VMs on a public-facing subnet; backend / DB VMs on a private subnet. The two sides talk over the tenant network without ever touching the public internet.
  • Multiple isolated environments in one region. prod / staging / dev on three separate tenant networks; no accidental cross-talk.
  • Compliance. Some workloads require private addressing for everything except a documented egress path. A tenant network + router lets you build that path explicitly.

For simple single-VM setups, just attach to the external network and skip tenant networks entirely. The VM's port then holds a public address. Creating a VM on the external network needs bandwidth_mbps and subscription.bandwidth, and the port and its bandwidth are billed (see Pricing data).

MTU and IPv6

Set a network's mtu when you create or update it. The default and the largest value allowed are platform settings.

A network has no IP version of its own; its subnets do. Each subnet takes an ip_version of 4 or 6, and one network can hold both.

What's next

  • Subnets — IP-address blocks carved out of a network.
  • Routers — connect tenant networks to the external gateway.
  • Security groups — firewall rules applied to interfaces inside a network.
  • Load balancers — distribute traffic across VMs in a network.

Reference

GET/api/v1/network/

List Networks

Lists virtual networks owned by the project, optionally including shared public networks.

Parameters

NameInTypeDescription
admin_domainquerystring | null—
admin_projectquerystring | null—
namequerystring | null—
descriptionquerystring | null—
admin_state_upqueryboolean | null—
sharedqueryboolean | null—
statusquerystring | null—
router_externalqueryboolean | null—
include_publicqueryboolean—
scope_current_projectqueryboolean | null—

Responses

  • 200Successful Response
  • 401Unauthorized
  • 403Forbidden
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/network/" \
  -H "Authorization: Bearer $NIMBUS_KEY"
POST/api/v1/network/

Create Network

Creates a virtual network in the scoped project.

Request body

FieldTypeDescription
admin_domainstring | null—
admin_projectstring | null—
namestring | null—
descriptionstring | null—
admin_state_upboolean | null—
sharedboolean | null—
project_idstring | null—
dns_domainstring | null—
qos_policy_idstring | null—
mtuinteger | null—
availability_zone_hintsarray of string | null—
port_security_enabledboolean | null—

Responses

  • 201Successful Response
  • 400Bad Request
  • 401Unauthorized
  • 403Forbidden
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X POST "https://api.nimbusnexus.net/api/v1/network/" \
  -H "Authorization: Bearer $NIMBUS_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
GET/api/v1/network/artifacts

Network Artifacts

Returns the availability zones and QoS policies usable when creating a network.

Responses

  • 200Successful Response
  • 401Unauthorized
  • 403Forbidden
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/network/artifacts" \
  -H "Authorization: Bearer $NIMBUS_KEY"
GET/api/v1/network/{network_id}

Get Network

Returns the details of a single virtual network by ID.

Parameters

NameInTypeDescription
network_id*pathstring—

Responses

  • 200Successful Response
  • 400Bad Request
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 409Conflict
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X GET "https://api.nimbusnexus.net/api/v1/network/<network_id>" \
  -H "Authorization: Bearer $NIMBUS_KEY"
PUT/api/v1/network/{network_id}

Update Network

Updates the mutable attributes of an existing virtual network.

Parameters

NameInTypeDescription
network_id*pathstring—

Request body

FieldTypeDescription
admin_domainstring | null—
admin_projectstring | null—
namestring | null—
descriptionstring | null—
admin_state_upboolean | null—
sharedboolean | null—
dns_domainstring | null—
qos_policy_idstring | null—
is_defaultboolean | null—
mtuinteger | null—
port_security_enabledboolean | null—

Responses

  • 200Successful Response
  • 400Bad Request
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 409Conflict
  • 422Validation error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X PUT "https://api.nimbusnexus.net/api/v1/network/<network_id>" \
  -H "Authorization: Bearer $NIMBUS_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
DELETE/api/v1/network/{network_id}

Delete Network

Deletes a virtual network by ID.

Parameters

NameInTypeDescription
network_id*pathstring—

Responses

  • 204Successful Response
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 422Validation Error
  • 429Too Many Requests
  • 500Internal Server Error

Example

curl -X DELETE "https://api.nimbusnexus.net/api/v1/network/<network_id>" \
  -H "Authorization: Bearer $NIMBUS_KEY"

Need to make a real call? Try these endpoints in the live Swagger UI →