2
# Shrink flavors for density testing
4
echo " + Shrinking flavors."
5
nova flavor-delete m1.tiny
6
nova flavor-delete m1.small
7
nova flavor-delete m1.medium
8
nova flavor-delete m1.large
9
nova flavor-delete m1.xlarge
10
nova flavor-create --ephemeral 20 --is-public True m1.tiny 1 512 20 1
11
nova flavor-create --ephemeral 20 --is-public True m1.small 2 1536 20 1
12
nova flavor-create --ephemeral 40 --is-public True m1.medium 3 2048 40 2
13
nova flavor-create --ephemeral 60 --is-public True m1.large 4 4096 60 2
14
nova flavor-create --ephemeral 80 --is-public True m1.xlarge 5 8192 80 2
17
#+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
18
#| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
19
#+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
20
#| 1 | m1.tiny | 512 | 1 | 0 | | 1 | 1.0 | True |
21
#| 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0 | True |
22
#| 3 | m1.medium | 4096 | 40 | 0 | | 2 | 1.0 | True |
23
#| 4 | m1.large | 8192 | 80 | 0 | | 4 | 1.0 | True |
24
#| 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 | True |
25
#| 6 | m1.cirros | 64 | 1 | 0 | | 1 | 1.0 | True |
26
#+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
29
#+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
30
#| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
31
#+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
32
#| 1 | m1.tiny | 512 | 20 | 20 | | 1 | 1.0 | True |
33
#| 2 | m1.small | 1536 | 20 | 20 | | 1 | 1.0 | True |
34
#| 3 | m1.medium | 2048 | 40 | 40 | | 2 | 1.0 | True |
35
#| 4 | m1.large | 4096 | 60 | 60 | | 2 | 1.0 | True |
36
#| 5 | m1.xlarge | 8192 | 80 | 80 | | 2 | 1.0 | True |
37
#| 6 | m1.cirros | 64 | 1 | 0 | | 1 | 1.0 | True |
38
#+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+