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

Create network

post

Creates a network.

Authorizations
X-Auth-TokenstringRequired

PCD Identity Service token authentication

Body
Responses
post
/v2.0/networks

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}

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}

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
delete
/v2.0/networks/{network_id}

No content

Last updated

Was this helpful?