Project

General

Profile

Actions

Feature #3781

open

Allow memory size in MB and GB in --compute-attributes key

Added by Marco De Vitis almost 11 years ago. Updated almost 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Hosts
Target version:
-
Difficulty:
Triaged:
Yes
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

The --compute-attributes option when creating a host on a Libvirt provider accepts a "memory" key, which currently has to be indicated in bytes.
This is awkward for common memory amounts; please allow specifying the memory size in megabytes or gigabytes (or mebibytes or gibibytes) by using suffixes, e.g. 2G, 768M, just like the "capacity" key of the --volume option already allows.
Thanks.


Related issues 2 (0 open2 closed)

Related to Hammer CLI - Tracker #16829: Tracker for compute resource related issuesClosed

Actions
Related to Hammer CLI - Tracker #18935: Tracker for issues related to processing of nested options in host createClosed

Actions
Actions #1

Updated by Tomáš Strachota almost 11 years ago

Needs api support. Each provider requires memory in different format.

Actions #2

Updated by Tomáš Strachota about 8 years ago

  • Category set to Hosts
Actions #3

Updated by Tomáš Strachota about 8 years ago

  • Related to Tracker #16829: Tracker for compute resource related issues added
Actions #4

Updated by Tomáš Strachota over 7 years ago

  • Related to Tracker #18935: Tracker for issues related to processing of nested options in host create added
Actions #5

Updated by Shira Maximov almost 5 years ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF