Skip to content

Commit fbc8ab2

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Making consistent used of GiB and MiB in API ref"
2 parents a32d765 + eebffb3 commit fbc8ab2

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed

api-ref/source/parameters.yaml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,7 @@ minDisk:
979979
type: integer
980980
minRam:
981981
description: |
982-
Filters the response by a minimum RAM, in MB. For example, ``512``.
982+
Filters the response by a minimum RAM, in MiB. For example, ``512``.
983983
in: query
984984
required: false
985985
type: integer
@@ -2235,13 +2235,13 @@ disabled_reason_body:
22352235
type: string
22362236
disk_available_least:
22372237
description: |
2238-
The actual free disk on this hypervisor(in GB).
2238+
The actual free disk on this hypervisor(in GiB).
22392239
in: body
22402240
required: true
22412241
type: integer
22422242
disk_available_least_total:
22432243
description: |
2244-
The actual free disk on all hypervisors(in GB).
2244+
The actual free disk on all hypervisors(in GiB).
22452245
in: body
22462246
required: true
22472247
type: integer
@@ -3129,13 +3129,13 @@ forceDelete:
31293129
type: none
31303130
free_ram_mb:
31313131
description: |
3132-
The free RAM in this hypervisor(in MB).
3132+
The free RAM in this hypervisor(in MiB).
31333133
in: body
31343134
required: true
31353135
type: integer
31363136
free_ram_mb_total:
31373137
description: |
3138-
The free RAM on all hypervisors(in MB).
3138+
The free RAM on all hypervisors(in MiB).
31393139
in: body
31403140
required: true
31413141
type: integer
@@ -3195,7 +3195,7 @@ host_cpu:
31953195
type: integer
31963196
host_disk_gb:
31973197
description: |
3198-
The disk size on the host (in GB).
3198+
The disk size on the host (in GiB).
31993199
in: body
32003200
required: true
32013201
type: integer
@@ -3226,7 +3226,7 @@ host_maintenance_mode_in:
32263226
type: string
32273227
host_memory_mb:
32283228
description: |
3229-
The memory size on the host (in MB).
3229+
The memory size on the host (in MiB).
32303230
in: body
32313231
required: true
32323232
type: integer
@@ -3414,13 +3414,13 @@ hypervisor_diagnostics:
34143414
min_version: 2.48
34153415
hypervisor_free_disk_gb:
34163416
description: |
3417-
The free disk remaining on this hypervisor(in GB).
3417+
The free disk remaining on this hypervisor(in GiB).
34183418
in: body
34193419
required: true
34203420
type: integer
34213421
hypervisor_free_disk_gb_total:
34223422
description: |
3423-
The free disk remaining on all hypervisors(in GB).
3423+
The free disk remaining on all hypervisors(in GiB).
34243424
in: body
34253425
required: true
34263426
type: integer
@@ -4141,7 +4141,7 @@ links:
41414141
type: array
41424142
local_gb:
41434143
description: |
4144-
The disk in this hypervisor(in GB).
4144+
The disk in this hypervisor(in GiB).
41454145
in: body
41464146
required: true
41474147
type: integer
@@ -4161,19 +4161,19 @@ local_gb_simple_tenant_usage_optional:
41614161
type: integer
41624162
local_gb_total:
41634163
description: |
4164-
The disk on all hypervisors(in GB).
4164+
The disk on all hypervisors(in GiB).
41654165
in: body
41664166
required: true
41674167
type: integer
41684168
local_gb_used:
41694169
description: |
4170-
The disk used in this hypervisor(in GB).
4170+
The disk used in this hypervisor(in GiB).
41714171
in: body
41724172
required: true
41734173
type: integer
41744174
local_gb_used_total:
41754175
description: |
4176-
The disk used on all hypervisors(in GB).
4176+
The disk used on all hypervisors(in GiB).
41774177
in: body
41784178
required: true
41794179
type: integer
@@ -4231,47 +4231,47 @@ memory_details_diagnostics:
42314231
The dictionary with information about VM memory usage.
42324232
Following fields are presented in the dictionary:
42334233
4234-
- ``maximum`` - Amount of memory provisioned for the VM in MB (Integer)
4234+
- ``maximum`` - Amount of memory provisioned for the VM in MiB (Integer)
42354235
42364236
- ``used`` - Amount of memory that is currently used by the guest operating
4237-
system and its applications in MB (Integer)
4237+
system and its applications in MiB (Integer)
42384238
in: body
42394239
required: true
42404240
type: array
42414241
min_version: 2.48
42424242
memory_mb:
42434243
description: |
4244-
The memory of this hypervisor(in MB).
4244+
The memory of this hypervisor(in MiB).
42454245
in: body
42464246
required: true
42474247
type: integer
42484248
memory_mb_simple_tenant_usage:
42494249
description: |
4250-
The memory size of the server (in MB).
4250+
The memory size of the server (in MiB).
42514251
in: body
42524252
required: true
42534253
type: integer
42544254
memory_mb_simple_tenant_usage_optional:
42554255
description: |
4256-
The memory size of the server (in MB).
4256+
The memory size of the server (in MiB).
42574257
in: body
42584258
required: false
42594259
type: integer
42604260
memory_mb_total:
42614261
description: |
4262-
The memory of all hypervisors(in MB).
4262+
The memory of all hypervisors(in MiB).
42634263
in: body
42644264
required: true
42654265
type: integer
42664266
memory_mb_used:
42674267
description: |
4268-
The memory used in this hypervisor(in MB).
4268+
The memory used in this hypervisor(in MiB).
42694269
in: body
42704270
required: true
42714271
type: integer
42724272
memory_mb_used_total:
42734273
description: |
4274-
The memory used on all hypervisors(in MB).
4274+
The memory used on all hypervisors(in MiB).
42754275
in: body
42764276
required: true
42774277
type: integer
@@ -4501,7 +4501,7 @@ minDisk_body:
45014501
type: integer
45024502
minRam_body:
45034503
description: |
4504-
The minimum amount of RAM an image requires to function, in MB. For example, ``512``.
4504+
The minimum amount of RAM an image requires to function, in MiB. For example, ``512``.
45054505
in: body
45064506
required: true
45074507
type: integer
@@ -5335,14 +5335,14 @@ quota_tenant_or_user_id_body:
53355335
type: string
53365336
ram: &ram
53375337
description: |
5338-
The amount of allowed server RAM, in MB, for each tenant.
5338+
The amount of allowed server RAM, in MiB, for each tenant.
53395339
in: body
53405340
required: true
53415341
type: integer
53425342
ram_quota_class: &ram_quota_class
53435343
<<: *ram
53445344
description: |
5345-
The amount of allowed instance RAM, in MB, for the quota class.
5345+
The amount of allowed instance RAM, in MiB, for the quota class.
53465346
ram_quota_class_optional:
53475347
<<: *ram_quota_class
53485348
required: false
@@ -5355,7 +5355,7 @@ ram_quota_details:
53555355
type: object
53565356
ram_quota_optional:
53575357
description: |
5358-
The amount of allowed server RAM, in MB, for each tenant.
5358+
The amount of allowed server RAM, in MiB, for each tenant.
53595359
in: body
53605360
required: false
53615361
type: integer
@@ -6318,7 +6318,7 @@ total_local_gb_usage:
63186318
type: float
63196319
total_memory_mb_usage:
63206320
description: |
6321-
Multiplying the server memory size (in MB) by hours the server exists,
6321+
Multiplying the server memory size (in MiB) by hours the server exists,
63226322
and then adding that all together for each server.
63236323
in: body
63246324
required: true
@@ -6660,7 +6660,7 @@ volume_id_resp:
66606660
type: string
66616661
volume_size:
66626662
description: |
6663-
The size of the volume (in GB).
6663+
The size of the volume (in GiB).
66646664
This is integer value from range 1 to 2147483647
66656665
which can be requested as integer and string.
66666666
in: body

placement-api-ref/source/traits.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Traits
44

55
Traits are *qualitative* characteristics of resource providers.
66
The classic example for traits can be requesting disk from different
7-
providers: a user may request 80GB of disk space for an instance
7+
providers: a user may request 80GiB of disk space for an instance
88
(quantitative), but may also expect that the disk be SSD instead of
99
spinning disk (qualitative). Traits provide a way to mark that a
1010
storage provider is SSD or spinning.

0 commit comments

Comments
 (0)