Openstack-Yoga版本安装-10-创建flavor
Openstack Yoga版本Flavor配置
[root@node-1 ~]# openstack flavor create --id 0 --vcpus 1 --ram 2048 --disk 100 m1.nano
+----------------------------+---------+
| Field | Value |
+----------------------------+---------+
| OS-FLV-DISABLED:disabled | False |
| OS-FLV-EXT-DATA:ephemeral | 0 |
| disk | 100 |
| id | 0 |
| name | m1.nano |
| os-flavor-access:is_public | True |
| properties | |
| ram | 2048 |
| rxtx_factor | 1.0 |
| swap | |
| vcpus | 1 |
+----------------------------+---------+
[root@node-1 ~]# openstack flavor list
+----+---------+------+------+-----------+-------+-----------+
| ID | Name | RAM | Disk | Ephemeral | VCPUs | Is Public |
+----+---------+------+------+-----------+-------+-----------+
| 0 | m1.nano | 2048 | 100 | 0 | 1 | True |
+----+---------+------+------+-----------+-------+-----------+