Skip to main content

Overview

The OpenStack Networking API provides full programmatic control over virtual network resources — networks, subnets, routers, ports, security groups, floating IPs, and QoS policies. The API uses a RESTful design with JSON bodies and project-scoped resource isolation.
Prerequisites
  • A valid project-scoped token from the Identity API
  • Base URL: https://api.<your-domain>/networking/v2.0
  • Network resources are project-isolated by default — shared resources are admin-managed

Key Endpoints


Create a Network and Subnet


Routers

Create a router with external gateway

Security Groups

Create a security group
Allow SSH inbound (TCP 22)
Allow HTTPS inbound (TCP 443)
Security group rule parameters:

Floating IPs

Allocate a floating IP from external network
Associate floating IP with a port
Disassociate floating IP (keep allocated)
Release floating IP back to the pool

Ports

string
required
Network ID to create the port on.
string
Display name for the port.
array
List of objects specifying subnet_id and optionally a specific ip_address.
array
List of security group IDs to apply to this port.
Create a port with specific IP

Network Resource Status


Next Steps

Compute API

Launch instances connected to the networks you create

Network QoS

Apply bandwidth limits and DSCP marking via the QoS API

Identity API

Manage project membership and resource access