Merge "[user-guide] Update the "nova flavor-create"to"openstack flavor create""

This commit is contained in:
Jenkins 2016-12-21 03:16:14 +00:00 committed by Gerrit Code Review
commit bb8c960140

View File

@ -61,7 +61,7 @@ Create and access a database
- If your environment does not have a suitable flavor, an - If your environment does not have a suitable flavor, an
administrative user must create a custom flavor by using the 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 **MySQL example.** This example creates a flavor that you can use
with a MySQL database. This example has the following attributes: with a MySQL database. This example has the following attributes:
@ -79,12 +79,22 @@ Create and access a database
.. code-block:: console .. code-block:: console
$ nova flavor-create mysql-minimum 6 512 5 1 $ openstack flavor create mysql-minimum --id 6 --ram 512 --disk 5 --vcpus 1
+----+---------------+-----------+------+-----------+------+-------+-------------+-----------+ +----------------------------+---------------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public | | Field | Value |
+----+---------------+-----------+------+-----------+------+-------+-------------+-----------+ +----------------------------+---------------+
| 6 | mysql-minimum | 512 | 5 | 0 | | 1 | 1.0 | True | | 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: .. _create-database-instance: