Chapter 3. API Operations

Provides virtual networking services among devices that are managed by the OpenStack Compute service. The Networking API v2.0 combines the API v1.1 functionality with some essential Internet Protocol Address Management (IPAM) functionality.

Enables users to associate IP address blocks and other network configuration settings with a neutron network. You can choose a specific IP address from the block or let neutron choose the first available IP address.

MethodURIDescription
Networks
GET/v2.0/networks

Lists networks to which the specified tenant has access.

POST/v2.0/networks

Creates a network.

POST/v2.0/networks

Creates multiple networks in a single request.

GET/v2.0/networks/{network_id}

Shows information for a specified network.

PUT/v2.0/networks/{network_id}

Updates a specified network.

DELETE/v2.0/networks/{network_id}

Deletes a specified network and its associated resources.

Subnets
GET/v2.0/subnets

Lists subnets to which the specified tenant has access.

POST/v2.0/subnets

Creates a subnet on a specified network.

POST/v2.0/subnets

Creates multiple subnets in a single request. Specify a list of subnets in the request body.

GET/v2.0/subnets/{subnet_id}

Shows information for a specified subnet.

PUT/v2.0/subnets/{subnet_id}

Updates a specified subnet.

DELETE/v2.0/subnets/{subnet_id}

Deletes a specified subnet.

Ports
GET/v2.0/ports

Lists ports to which the tenant has access.

POST/v2.0/ports

Creates a port on a specified network.

POST/v2.0/ports

Creates multiple ports in a single request. Specify a list of ports in the request body.

GET/v2.0/ports/{port_id}

Shows information for a specified port.

PUT/v2.0/ports/{port_id}

Updates a specified port.

DELETE/v2.0/ports/{port_id}

Deletes a specified port.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...