Skip to content

Commit 5e96400

Browse files
authored
openstack-flavor: add page (#17618)
1 parent c21a051 commit 5e96400

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

pages/common/openstack-flavor.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# openstack flavor
2+
3+
> Manage OpenStack instance flavors (virtual hardware templates).
4+
> More information: <https://docs.openstack.org/python-openstackclient/latest/cli/command-objects/flavor.html>.
5+
6+
- List all flavors:
7+
8+
`openstack flavor list`
9+
10+
- Show details of a flavor:
11+
12+
`openstack flavor show {{flavor_id_or_name}}`
13+
14+
- Create a new flavor with 2 vCPUs, 4GB RAM, and 20GB disk:
15+
16+
`openstack flavor create {{flavor_name}} --vcpus 2 --ram 4096 --disk 20`
17+
18+
- Delete a flavor:
19+
20+
`openstack flavor delete {{flavor_id_or_name}}`
21+
22+
- Create a flavor with 10GB ephemeral disk and 512MB swap space:
23+
24+
`openstack flavor create {{flavor_name}} --vcpus 4 --ram 8192 --disk 40 --ephemeral 10 --swap 512`

0 commit comments

Comments
 (0)