openstack
TLDR
List servers
$ openstack server list
Create server$ openstack server create --flavor [m1.small] --image [ubuntu] --network [net] [name]
List images$ openstack image list
List flavors$ openstack flavor list
Show server details$ openstack server show [server_name]
Delete server$ openstack server delete [server_name]
SYNOPSIS
openstack [options] command [args]
DESCRIPTION
openstack is the unified CLI for OpenStack cloud services. It provides a single interface to manage compute, storage, networking, and identity services.
Configuration is typically in clouds.yaml or environment variables.
PARAMETERS
server
Compute instance commands.image
Image commands.network
Network commands.volume
Block storage commands.flavor
Flavor commands.--os-cloud name
Use cloud config.-f format
Output format.
CONFIGURATION
$ # ~/.config/openstack/clouds.yaml
clouds:
mycloud:
auth:
auth_url: https://cloud.example.com:5000
username: user
password: pass
project_name: myproject
clouds:
mycloud:
auth:
auth_url: https://cloud.example.com:5000
username: user
password: pass
project_name: myproject
COMMON COMMANDS
$ openstack server list
openstack image list
openstack network list
openstack volume list
openstack flavor list
openstack image list
openstack network list
openstack volume list
openstack flavor list
CAVEATS
Requires OpenStack credentials. API versions vary by deployment. Large operations may timeout.
HISTORY
The unified OpenStack client was introduced to replace service-specific CLIs (nova, neutron, cinder), providing consistent interface across services.


