Skip to content

Ports CLI Reference

Reference · Updated Sep 2026

Coming from another cloud?

▸AWS·Amazon VPC + VPC CNI

Amazon VPC + VPC CNIhigh

  • Quake AI uses per-cluster private networks and routers for Kubernetes; EKS uses a customer VPC with ENI pod networking.
  • Quake AI K8s uses Flannel/Calico/Cilium CNI on Neutron; EKS uses VPC CNI with prefix delegation.
  • EKS bills cross-AZ control traffic; OpenStack no.
AWS docs ↗
▸Azure·AKS Networking

AKS Networkinghigh

  • Azure CNI or kubenet, integrates Azure Load Balancer/Application Gateway; Quake AI Kubernetes clusters use Neutron private networks and routers with CNI plugins (Flannel, Calico, Cilium).
  • Bring-your-own CNI supported; Quake AI tenant-isolated Neutron.
  • Azure-specific: Application routing add-on (nginx), no native Neutron.
Azure docs ↗
▸DigitalOcean·VPC-native Networking with Cilium

VPC-native Networking with Ciliumhigh

  • VPC-native using Cilium eBPF (K8s 1.31+), Gateway API default on 1.33+; Quake AI Kubernetes clusters use CNI plugins (Flannel, Calico, Cilium) on Neutron private networks.
  • Direct pod-to-VPC resource routing and internal load balancers; Quake AI Kubernetes clusters expose services through Kubernetes LoadBalancer behavior and floating IPs.
DigitalOcean docs ↗
▸Google Cloud·VPC Networking

VPC Networkinghigh

  • Per-cluster Neutron networks + floating IPs; GKE shared VPC with alias IP ranges.
  • Kubernetes LoadBalancer behavior replaces Google Cloud Load Balancers after migration.
Google Cloud docs ↗

Ports CLI reference

See the OpenStack CLI port reference for the full list of openstack port subcommands.

These commands create, list, show, update, and delete ports. Replace the PORT_ID_OR_NAME, NETWORK_ID_OR_NAME, and SECURITY_GROUP_ID_OR_NAME placeholders with the IDs or names of your ports, networks, and security groups.

List ports#

bash
openstack port list

Show port details#

bash
openstack port show PORT_ID_OR_NAME

Create a port#

bash
openstack port create --network NETWORK_ID_OR_NAME PORT_NAME
  • Additional options assign specific attributes, such as --fixed-ip ip-address=IP_ADDRESS to assign a specific IP address.

Update a port#

bash
openstack port set --fixed-ip ip-address=NEW_IP_ADDRESS PORT_ID_OR_NAME

openstack port set --fixed-ip adds a fixed IP to the port; it does not replace the existing fixed IPs. After the command above, the port carries both its original IP and NEW_IP_ADDRESS.

To replace every fixed IP, clear the list and reassign in one command:

bash
openstack port set --no-fixed-ip --fixed-ip subnet=SUBNET,ip-address=NEW_IP_ADDRESS PORT_ID_OR_NAME

To remove a single fixed IP, unset it by address:

bash
openstack port unset --fixed-ip ip-address=OLD_IP_ADDRESS PORT_ID_OR_NAME
  • Other options update security groups, device owner, or other port attributes.

Delete a port#

bash
openstack port delete PORT_ID_OR_NAME

Add a security group to a port#

bash
openstack port set --security-group SECURITY_GROUP_ID_OR_NAME PORT_ID_OR_NAME

Remove a security group from a port#

bash
openstack port unset --security-group SECURITY_GROUP_ID_OR_NAME PORT_ID_OR_NAME

Bind a port to a host#

bash
openstack port set --host HOST_ID PORT_ID_OR_NAME
  • The admin-only binding fields are binding:host_id, binding:profile, and binding:vnic_type. For binding:vnic_type, normal is the only value a project user can set.

Output columns#

Select specific columns with --column COL1 --column COL2 or change the output format with -f json, -f csv, or -f table (default).

openstack port list#

ColumnDescription
IDPort UUID
NamePort name
MAC AddressLayer 2 hardware address
Fixed IP AddressesAssigned IP addresses and subnet IDs
StatusCurrent state (ACTIVE, DOWN, BUILD)
Was this page helpful?