Installing and Configuring OpenStack in Oracle® Solaris 11.2

Exit Print View

Updated: April 2015
 
 

Displaying Information About Flavors

The nova flavor-list command displays the list of available flavors. You will use the name or ID of the flavor when you create a VM instance. To include the extra-specs on the flavor list, specify the --extra-specs option with the nova flavor-list command. For more information about the extra_specs value, see Modifying Flavor Specifications.

In the following example, the RXTX_Factor and Is_Public columns are elided from the output to save space. See the OpenStack Command-Line Interface Reference for information about these columns.

$ nova flavor-list
+----+-----------------------------+-----------+------+-----------+------+-------+
| ID | Name                        | Memory_MB | Disk | Ephemeral | Swap | VCPUs |
+----+-----------------------------+-----------+------+-----------+------+-------+
| 1  | Oracle Solaris              |           |      |           |      |       |
|    |  kernel zone - tiny         | 2048      | 10   | 0         |      | 1     |
| 10 | Oracle Solaris              |           |      |           |      |       |
|    |  non-global zone - xlarge   | 16384     | 80   | 0         |      | 32    |
| 2  | Oracle Solaris              |           |      |           |      |       |
|    |  kernel zone - small        | 4096      | 20   | 0         |      | 4     |
| 3  | Oracle Solaris              |           |      |           |      |       |
|    |  kernel zone - medium       | 8192      | 40   | 0         |      | 8     |
| 4  | Oracle Solaris              |           |      |           |      |       |
|    |  kernel zone - large        | 16384     | 40   | 0         |      | 16    |
| 5  | Oracle Solaris              |           |      |           |      |       |
|    |  kernel zone - xlarge       | 32768     | 80   | 0         |      | 32    |
| 6  | Oracle Solaris              |           |      |           |      |       |
|    |  non-global zone - tiny     | 2048      | 10   | 0         |      | 1     |
| 7  | Oracle Solaris              |           |      |           |      |       |
|    |  non-global zone - small    | 3072      | 20   | 0         |      | 4     |
| 8  | Oracle Solaris              |           |      |           |      |       |
|    |  non-global zone - medium   | 4096      | 40   | 0         |      | 8     |
| 9  | Oracle Solaris              |           |      |           |      |       |
|    |  non-global zone - large    | 8192      | 40   | 0         |      | 16    |
+----+-----------------------------+-----------+------+-----------+------+-------+

The following commands show detailed information about the specified flavor. The first version of the command specifies the flavor name, and the second version specifies the flavor ID. The output is identical for both of these commands.

$ nova flavor-show 'Oracle Solaris kernel zone - large'
$ nova flavor-show 4
+----------------------------+------------------------------------+
| Property                   | Value                              |
+----------------------------+------------------------------------+
| name                       | Oracle Solaris kernel zone - large |
| ram                        | 16384                              |
| OS-FLV-DISABLED:disabled   | False                              |
| vcpus                      | 16                                 |
| extra_specs                | {u'zonecfg:brand': u'solaris-kz'}  |
| swap                       |                                    |
| os-flavor-access:is_public | True                               |
| rxtx_factor                | 1.0                                |
| OS-FLV-EXT-DATA:ephemeral  | 0                                  |
| disk                       | 40                                 |
| id                         | 4                                  |
+----------------------------+------------------------------------+