For the complete documentation index, see llms.txt. This page is also available as Markdown.

Networks

Virtual network management operations

List networks

get

Lists networks to which the project has access.

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Query parameters
admin_state_upbooleanOptional

Filter the list result by the administrative state of the resource.

idstringOptional

Filter the list result by the ID of the resource.

namestringOptional

Filter the list result by the human-readable name of the resource.

project_idstringOptional

Filter the list result by the ID of the project that owns the resource.

tenant_idstringOptional

Filter the list result by the ID of the project that owns the resource.

sharedbooleanOptional

Filter the network list result based on if the network is shared across all tenants.

statusstring · enumOptional

Filter the list result by status.

Possible values:
router:externalbooleanOptional

Filter the network list result based on whether the network has an external routing facility.

fieldsstringOptional

The fields that you want the server to return. If no fields are specified, all fields are returned.

sort_dirstring · enumOptional

Sort direction. A valid value is asc (ascending) or desc (descending).

Possible values:
sort_keystringOptional

Sorts by a resource attribute.

tagsstringOptional

A list of tags to filter the list result by. Resources that match all tags in this list will be returned.

tags-anystringOptional

A list of tags to filter the list result by. Resources that match any tag in this list will be returned.

not-tagsstringOptional

A list of tags to filter the list result by. Resources that match all tags in this list will be excluded.

not-tags-anystringOptional

A list of tags to filter the list result by. Resources that match any tag in this list will be excluded.

Responses
200

Successful operation

application/json
get/v2.0/networks
GET /neutron/v2.0/networks HTTP/1.1
Host: example.platform9.com
X-Auth-Token: YOUR_API_KEY
Accept: */*
{
  "networks": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "description": "text",
      "admin_state_up": true,
      "status": "ACTIVE",
      "shared": true,
      "project_id": "123e4567-e89b-12d3-a456-426614174000",
      "tenant_id": "123e4567-e89b-12d3-a456-426614174000",
      "subnets": [
        "123e4567-e89b-12d3-a456-426614174000"
      ],
      "router:external": true,
      "provider:network_type": "flat",
      "provider:physical_network": "text",
      "provider:segmentation_id": 1,
      "mtu": 1,
      "port_security_enabled": true,
      "dns_domain": "text",
      "qos_policy_id": "123e4567-e89b-12d3-a456-426614174000",
      "availability_zone_hints": [
        "text"
      ],
      "availability_zones": [
        "text"
      ],
      "ipv4_address_scope": "123e4567-e89b-12d3-a456-426614174000",
      "ipv6_address_scope": "123e4567-e89b-12d3-a456-426614174000",
      "l2_adjacency": true,
      "vlan_transparent": true,
      "qinq": true,
      "is_default": true,
      "segments": [
        {
          "provider:network_type": "text",
          "provider:physical_network": "text",
          "provider:segmentation_id": 1
        }
      ],
      "tags": [
        "text"
      ],
      "revision_number": 1,
      "created_at": "2026-01-01T00:00:00.000Z",
      "updated_at": "2026-01-01T00:00:00.000Z"
    }
  ]
}

Create network

post

Creates a network.

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Body
Responses
201

Network created successfully

application/json
post/v2.0/networks
POST /neutron/v2.0/networks HTTP/1.1
Host: example.platform9.com
X-Auth-Token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 236

{
  "network": {
    "name": "test-flat-l2",
    "description": "l2-vlan",
    "mtu": 1500,
    "admin_state_up": true,
    "provider:network_type": "flat",
    "provider:physical_network": "phy-simple-nw",
    "shared": false,
    "port_security_enabled": false,
    "router:external": false
  }
}
{
  "network": {
    "id": "02e0247e-328a-4460-b82d-56ea99d639a8",
    "name": "test-flat-l2",
    "tenant_id": "68fbc006f13c4598a47dffe6576f1d47",
    "admin_state_up": true,
    "mtu": 1500,
    "status": "ACTIVE",
    "subnets": [],
    "shared": false,
    "project_id": "68fbc006f13c4598a47dffe6576f1d47",
    "port_security_enabled": false,
    "qos_policy_id": null,
    "dns_domain": "",
    "router:external": false,
    "provider:network_type": "flat",
    "provider:physical_network": "phy-simple-nw",
    "provider:segmentation_id": null,
    "availability_zone_hints": [],
    "availability_zones": [],
    "ipv4_address_scope": null,
    "ipv6_address_scope": null,
    "description": "l2-vlan",
    "tags": [],
    "created_at": "2026-06-03T01:40:03Z",
    "updated_at": "2026-06-03T01:40:03Z",
    "revision_number": 1
  }
}

Show network details

get

Shows details for a network.

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Path parameters
network_idstring · uuidRequired

The ID of the network.

Query parameters
fieldsstringOptional

The fields that you want the server to return. If no fields are specified, all fields are returned.

Responses
200

Successful operation

application/json
get/v2.0/networks/{network_id}
GET /neutron/v2.0/networks/{network_id} HTTP/1.1
Host: example.platform9.com
X-Auth-Token: YOUR_API_KEY
Accept: */*
{
  "network": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "description": "text",
    "admin_state_up": true,
    "status": "ACTIVE",
    "shared": true,
    "project_id": "123e4567-e89b-12d3-a456-426614174000",
    "tenant_id": "123e4567-e89b-12d3-a456-426614174000",
    "subnets": [
      "123e4567-e89b-12d3-a456-426614174000"
    ],
    "router:external": true,
    "provider:network_type": "flat",
    "provider:physical_network": "text",
    "provider:segmentation_id": 1,
    "mtu": 1,
    "port_security_enabled": true,
    "dns_domain": "text",
    "qos_policy_id": "123e4567-e89b-12d3-a456-426614174000",
    "availability_zone_hints": [
      "text"
    ],
    "availability_zones": [
      "text"
    ],
    "ipv4_address_scope": "123e4567-e89b-12d3-a456-426614174000",
    "ipv6_address_scope": "123e4567-e89b-12d3-a456-426614174000",
    "l2_adjacency": true,
    "vlan_transparent": true,
    "qinq": true,
    "is_default": true,
    "segments": [
      {
        "provider:network_type": "text",
        "provider:physical_network": "text",
        "provider:segmentation_id": 1
      }
    ],
    "tags": [
      "text"
    ],
    "revision_number": 1,
    "created_at": "2026-01-01T00:00:00.000Z",
    "updated_at": "2026-01-01T00:00:00.000Z"
  }
}

Update network

put

Updates a network.

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Path parameters
network_idstring · uuidRequired

The ID of the network.

Body
Responses
200

Network updated successfully

application/json
put/v2.0/networks/{network_id}
PUT /neutron/v2.0/networks/{network_id} HTTP/1.1
Host: example.platform9.com
X-Auth-Token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 39

{
  "network": {
    "tags": [
      "simple_network"
    ]
  }
}
{
  "network": {
    "id": "675590d2-4e9f-49cb-b7f9-83cf1b65bcca",
    "name": "vlan-l2",
    "tenant_id": "68fbc006f13c4598a47dffe6576f1d47",
    "admin_state_up": true,
    "mtu": 1500,
    "status": "ACTIVE",
    "subnets": [],
    "shared": false,
    "project_id": "68fbc006f13c4598a47dffe6576f1d47",
    "port_security_enabled": false,
    "qos_policy_id": null,
    "dns_domain": "",
    "router:external": false,
    "provider:network_type": "vlan",
    "provider:physical_network": "phy-simple-nw",
    "provider:segmentation_id": 1000,
    "availability_zone_hints": [],
    "availability_zones": [],
    "ipv4_address_scope": null,
    "ipv6_address_scope": null,
    "description": "",
    "tags": [
      "simple_network"
    ],
    "created_at": "2026-06-03T01:46:51Z",
    "updated_at": "2026-06-03T01:48:12Z",
    "revision_number": 2
  }
}

Delete network

delete

Deletes a network and its associated resources.

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Path parameters
network_idstring · uuidRequired

The ID of the network.

Responses
204

Network deleted successfully

No content

delete/v2.0/networks/{network_id}
DELETE /neutron/v2.0/networks/{network_id} HTTP/1.1
Host: example.platform9.com
X-Auth-Token: YOUR_API_KEY
Accept: */*

No content

Last updated

Was this helpful?