[user-guide] Update the "nova flavor-create"to"openstack flavor create"
Implements: blueprint use-openstack-command Change-Id: I3293b46e0bb4f6acf21d3a3c628e7fb9e2136aa8
This commit is contained in:
parent
efeab85f71
commit
05f6f1de42
@ -61,7 +61,7 @@ Create and access a database
|
||||
|
||||
- If your environment does not have a suitable flavor, an
|
||||
administrative user must create a custom flavor by using the
|
||||
:command:`nova flavor-create` command.
|
||||
:command:`openstack flavor create` command.
|
||||
|
||||
**MySQL example.** This example creates a flavor that you can use
|
||||
with a MySQL database. This example has the following attributes:
|
||||
@ -79,12 +79,22 @@ Create and access a database
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ nova flavor-create mysql-minimum 6 512 5 1
|
||||
+----+---------------+-----------+------+-----------+------+-------+-------------+-----------+
|
||||
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
|
||||
+----+---------------+-----------+------+-----------+------+-------+-------------+-----------+
|
||||
| 6 | mysql-minimum | 512 | 5 | 0 | | 1 | 1.0 | True |
|
||||
+----+---------------+-----------+------+-----------+------+-------+-------------+-----------+
|
||||
$ openstack flavor create mysql-minimum --id 6 --ram 512 --disk 5 --vcpus 1
|
||||
+----------------------------+---------------+
|
||||
| Field | Value |
|
||||
+----------------------------+---------------+
|
||||
| OS-FLV-DISABLED:disabled | False |
|
||||
| OS-FLV-EXT-DATA:ephemeral | 0 |
|
||||
| disk | 5 |
|
||||
| id | 6 |
|
||||
| name | mysql-minimum |
|
||||
| os-flavor-access:is_public | True |
|
||||
| properties | |
|
||||
| ram | 512 |
|
||||
| rxtx_factor | 1.0 |
|
||||
| swap | |
|
||||
| vcpus | 1 |
|
||||
+----------------------------+---------------+
|
||||
|
||||
.. _create-database-instance:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user