94edc07539
Pypi url changed from [1] to [2] [1] https://pypi.python.org/pypi/<package> [2] https://pypi.org/project/<package> Co-Authored-By: Nguyen Hai <nguyentrihai93@gmail.com> Change-Id: If929fa84942bfbc0a0fc68489fba53dbdd5e42ca
3.2 KiB
3.2 KiB
Use the command line clients
This section describes some of the more common commands to use your OpenStack cloud.
Log in to any utility container or install the openstack client on your machine, and run the following commands:
The openstack flavor list command lists the flavors that are available. These are different disk sizes that can be assigned to images:
$ openstack flavor list
+-----+-----------+-------+------+-----------+-------+-----------+
| ID | Name | RAM | Disk | Ephemeral | VCPUs | Is Public |
+-----+-----------+-------+------+-----------+-------+-----------+
| 1 | m1.tiny | 512 | 1 | 0 | 1 | True |
| 2 | m1.small | 2048 | 20 | 0 | 1 | True |
| 3 | m1.medium | 4096 | 40 | 0 | 2 | True |
| 4 | m1.large | 8192 | 80 | 0 | 4 | True |
| 5 | m1.xlarge | 16384 | 160 | 0 | 8 | True |
+-----+-----------+-------+------+-----------+-------+-----------+
The openstack floating ip list command lists the currently available floating IP addresses and the instances they are associated with:
$ openstack floating ip list
+------------------+---------------------+------------------+---------+-------------------+---------------+
| ID | Floating IP Address | Fixed IP Address | Port | Floating Network | Project |
+------------------+---------------------+------------------+---------+-------------------+---------------+
| 0a88589a-ffac... | 192.168.12.7 | None | None | d831dac6-028c... | 32db2ccf2a... |
+------------------+---------------------+------------------+---------+-------------------+---------------+
For more information about OpenStack client utilities, see these links:
- OpenStack API Quick Start
- OpenStackClient commands
- Image Service (glance) CLI commands
- Image Service (glance) CLI command cheat sheet
- Compute (nova) CLI commands
- Compute (nova) CLI command cheat sheet
- Networking (neutron) CLI commands
- Networking (neutron) CLI command cheat sheet
- Block Storage (cinder) CLI commands
- Block Storage (cinder) CLI command cheat sheet
- python-keystoneclient
- python-glanceclient
- python-novaclient
- python-neutronclient