Making consistent used of GiB and MiB in API ref
This patch will replace all GB with GiB and MB with MiB to have a consistent use of units in the compute API reference and the placement API reference. Co-Authored-By: Takashi Natsume <natsume.takashi@lab.ntt.co.jp> Change-Id: Ie40413752b591b222ff29dbe975ddd7d10638eca Closes-Bug: #1752340
This commit is contained in:
parent
df3dd2b5c7
commit
eebffb3879
@ -979,7 +979,7 @@ minDisk:
|
|||||||
type: integer
|
type: integer
|
||||||
minRam:
|
minRam:
|
||||||
description: |
|
description: |
|
||||||
Filters the response by a minimum RAM, in MB. For example, ``512``.
|
Filters the response by a minimum RAM, in MiB. For example, ``512``.
|
||||||
in: query
|
in: query
|
||||||
required: false
|
required: false
|
||||||
type: integer
|
type: integer
|
||||||
@ -2235,13 +2235,13 @@ disabled_reason_body:
|
|||||||
type: string
|
type: string
|
||||||
disk_available_least:
|
disk_available_least:
|
||||||
description: |
|
description: |
|
||||||
The actual free disk on this hypervisor(in GB).
|
The actual free disk on this hypervisor(in GiB).
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
disk_available_least_total:
|
disk_available_least_total:
|
||||||
description: |
|
description: |
|
||||||
The actual free disk on all hypervisors(in GB).
|
The actual free disk on all hypervisors(in GiB).
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
@ -3119,13 +3119,13 @@ forceDelete:
|
|||||||
type: none
|
type: none
|
||||||
free_ram_mb:
|
free_ram_mb:
|
||||||
description: |
|
description: |
|
||||||
The free RAM in this hypervisor(in MB).
|
The free RAM in this hypervisor(in MiB).
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
free_ram_mb_total:
|
free_ram_mb_total:
|
||||||
description: |
|
description: |
|
||||||
The free RAM on all hypervisors(in MB).
|
The free RAM on all hypervisors(in MiB).
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
@ -3185,7 +3185,7 @@ host_cpu:
|
|||||||
type: integer
|
type: integer
|
||||||
host_disk_gb:
|
host_disk_gb:
|
||||||
description: |
|
description: |
|
||||||
The disk size on the host (in GB).
|
The disk size on the host (in GiB).
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
@ -3216,7 +3216,7 @@ host_maintenance_mode_in:
|
|||||||
type: string
|
type: string
|
||||||
host_memory_mb:
|
host_memory_mb:
|
||||||
description: |
|
description: |
|
||||||
The memory size on the host (in MB).
|
The memory size on the host (in MiB).
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
@ -3404,13 +3404,13 @@ hypervisor_diagnostics:
|
|||||||
min_version: 2.48
|
min_version: 2.48
|
||||||
hypervisor_free_disk_gb:
|
hypervisor_free_disk_gb:
|
||||||
description: |
|
description: |
|
||||||
The free disk remaining on this hypervisor(in GB).
|
The free disk remaining on this hypervisor(in GiB).
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
hypervisor_free_disk_gb_total:
|
hypervisor_free_disk_gb_total:
|
||||||
description: |
|
description: |
|
||||||
The free disk remaining on all hypervisors(in GB).
|
The free disk remaining on all hypervisors(in GiB).
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
@ -4131,7 +4131,7 @@ links:
|
|||||||
type: array
|
type: array
|
||||||
local_gb:
|
local_gb:
|
||||||
description: |
|
description: |
|
||||||
The disk in this hypervisor(in GB).
|
The disk in this hypervisor(in GiB).
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
@ -4151,19 +4151,19 @@ local_gb_simple_tenant_usage_optional:
|
|||||||
type: integer
|
type: integer
|
||||||
local_gb_total:
|
local_gb_total:
|
||||||
description: |
|
description: |
|
||||||
The disk on all hypervisors(in GB).
|
The disk on all hypervisors(in GiB).
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
local_gb_used:
|
local_gb_used:
|
||||||
description: |
|
description: |
|
||||||
The disk used in this hypervisor(in GB).
|
The disk used in this hypervisor(in GiB).
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
local_gb_used_total:
|
local_gb_used_total:
|
||||||
description: |
|
description: |
|
||||||
The disk used on all hypervisors(in GB).
|
The disk used on all hypervisors(in GiB).
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
@ -4221,47 +4221,47 @@ memory_details_diagnostics:
|
|||||||
The dictionary with information about VM memory usage.
|
The dictionary with information about VM memory usage.
|
||||||
Following fields are presented in the dictionary:
|
Following fields are presented in the dictionary:
|
||||||
|
|
||||||
- ``maximum`` - Amount of memory provisioned for the VM in MB (Integer)
|
- ``maximum`` - Amount of memory provisioned for the VM in MiB (Integer)
|
||||||
|
|
||||||
- ``used`` - Amount of memory that is currently used by the guest operating
|
- ``used`` - Amount of memory that is currently used by the guest operating
|
||||||
system and its applications in MB (Integer)
|
system and its applications in MiB (Integer)
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: array
|
type: array
|
||||||
min_version: 2.48
|
min_version: 2.48
|
||||||
memory_mb:
|
memory_mb:
|
||||||
description: |
|
description: |
|
||||||
The memory of this hypervisor(in MB).
|
The memory of this hypervisor(in MiB).
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
memory_mb_simple_tenant_usage:
|
memory_mb_simple_tenant_usage:
|
||||||
description: |
|
description: |
|
||||||
The memory size of the server (in MB).
|
The memory size of the server (in MiB).
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
memory_mb_simple_tenant_usage_optional:
|
memory_mb_simple_tenant_usage_optional:
|
||||||
description: |
|
description: |
|
||||||
The memory size of the server (in MB).
|
The memory size of the server (in MiB).
|
||||||
in: body
|
in: body
|
||||||
required: false
|
required: false
|
||||||
type: integer
|
type: integer
|
||||||
memory_mb_total:
|
memory_mb_total:
|
||||||
description: |
|
description: |
|
||||||
The memory of all hypervisors(in MB).
|
The memory of all hypervisors(in MiB).
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
memory_mb_used:
|
memory_mb_used:
|
||||||
description: |
|
description: |
|
||||||
The memory used in this hypervisor(in MB).
|
The memory used in this hypervisor(in MiB).
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
memory_mb_used_total:
|
memory_mb_used_total:
|
||||||
description: |
|
description: |
|
||||||
The memory used on all hypervisors(in MB).
|
The memory used on all hypervisors(in MiB).
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
@ -4491,7 +4491,7 @@ minDisk_body:
|
|||||||
type: integer
|
type: integer
|
||||||
minRam_body:
|
minRam_body:
|
||||||
description: |
|
description: |
|
||||||
The minimum amount of RAM an image requires to function, in MB. For example, ``512``.
|
The minimum amount of RAM an image requires to function, in MiB. For example, ``512``.
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
@ -5325,14 +5325,14 @@ quota_tenant_or_user_id_body:
|
|||||||
type: string
|
type: string
|
||||||
ram: &ram
|
ram: &ram
|
||||||
description: |
|
description: |
|
||||||
The amount of allowed server RAM, in MB, for each tenant.
|
The amount of allowed server RAM, in MiB, for each tenant.
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
ram_quota_class: &ram_quota_class
|
ram_quota_class: &ram_quota_class
|
||||||
<<: *ram
|
<<: *ram
|
||||||
description: |
|
description: |
|
||||||
The amount of allowed instance RAM, in MB, for the quota class.
|
The amount of allowed instance RAM, in MiB, for the quota class.
|
||||||
ram_quota_class_optional:
|
ram_quota_class_optional:
|
||||||
<<: *ram_quota_class
|
<<: *ram_quota_class
|
||||||
required: false
|
required: false
|
||||||
@ -5345,7 +5345,7 @@ ram_quota_details:
|
|||||||
type: object
|
type: object
|
||||||
ram_quota_optional:
|
ram_quota_optional:
|
||||||
description: |
|
description: |
|
||||||
The amount of allowed server RAM, in MB, for each tenant.
|
The amount of allowed server RAM, in MiB, for each tenant.
|
||||||
in: body
|
in: body
|
||||||
required: false
|
required: false
|
||||||
type: integer
|
type: integer
|
||||||
@ -6308,7 +6308,7 @@ total_local_gb_usage:
|
|||||||
type: float
|
type: float
|
||||||
total_memory_mb_usage:
|
total_memory_mb_usage:
|
||||||
description: |
|
description: |
|
||||||
Multiplying the server memory size (in MB) by hours the server exists,
|
Multiplying the server memory size (in MiB) by hours the server exists,
|
||||||
and then adding that all together for each server.
|
and then adding that all together for each server.
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
@ -6650,7 +6650,7 @@ volume_id_resp:
|
|||||||
type: string
|
type: string
|
||||||
volume_size:
|
volume_size:
|
||||||
description: |
|
description: |
|
||||||
The size of the volume (in GB).
|
The size of the volume (in GiB).
|
||||||
This is integer value from range 1 to 2147483647
|
This is integer value from range 1 to 2147483647
|
||||||
which can be requested as integer and string.
|
which can be requested as integer and string.
|
||||||
in: body
|
in: body
|
||||||
|
@ -4,7 +4,7 @@ Traits
|
|||||||
|
|
||||||
Traits are *qualitative* characteristics of resource providers.
|
Traits are *qualitative* characteristics of resource providers.
|
||||||
The classic example for traits can be requesting disk from different
|
The classic example for traits can be requesting disk from different
|
||||||
providers: a user may request 80GB of disk space for an instance
|
providers: a user may request 80GiB of disk space for an instance
|
||||||
(quantitative), but may also expect that the disk be SSD instead of
|
(quantitative), but may also expect that the disk be SSD instead of
|
||||||
spinning disk (qualitative). Traits provide a way to mark that a
|
spinning disk (qualitative). Traits provide a way to mark that a
|
||||||
storage provider is SSD or spinning.
|
storage provider is SSD or spinning.
|
||||||
|
Loading…
Reference in New Issue
Block a user