Feature #1327

the CLI should support extended arguments

Added by Jaime Melis almost 9 years ago. Updated over 8 years ago.

Status:ClosedStart date:07/03/2012
Priority:NormalDue date:
Assignee:Javi Fontan% Done:

0%

Category:CLI
Target version:Release 3.8
Resolution:fixed Pull request:

Description

it should support something like:
onevm create --cpu 1 --memory 512 --disk ubuntu --net private

memory should accept units e.g. Mb|MB|M , Gb|GB|G... as in 512M or 4GB


Related issues

Related to Feature #1353: Improve CLI commands Closed 07/12/2012
Related to Bug #1530: onevm create options --disk and --network do not accept n... Closed 10/04/2012

Associated revisions

Revision d9cf939e
Added by Javi Fontan over 8 years ago

feature #1327: Add parametrized template creation for onevm and onetemplate

Also moved template file read from the creation loop in onevm create

Revision 7d3b59fa
Added by Javi Fontan over 8 years ago

feature #1327: disallow using template files and template options

Revision ed150773
Added by Javi Fontan over 8 years ago

feature #1327: Add creation options to oneimage create

Revision 3576b06d
Added by Javi Fontan over 8 years ago

feature #1327: bug in oneimage create that prevented parameter check

Revision d105000d
Added by Javi Fontan over 8 years ago

feature #1327: took out -d for description as it is use for datastore

Revision 674d6890
Added by Ruben S. Montero over 8 years ago

feature #1327: Extend arguments only support long options. Add examples to create methods using
options. Restructure checks for options and template files

Revision f4cc63be
Added by Ruben S. Montero over 8 years ago

feature #1327: Pushing missing file from 674d68901681b8ec2f9b433d58384c4c25d847d3

Revision 1a85ee1f
Added by Jaime Melis over 8 years ago

feature #1327: Add --raw and --arch to onevm create

History

#1 Updated by Ruben S. Montero almost 9 years ago

  • Description updated (diff)

#2 Updated by Ruben S. Montero over 8 years ago

  • Assignee set to Javi Fontan

#3 Updated by Ruben S. Montero over 8 years ago

  • Status changed from New to Assigned

#4 Updated by Javi Fontan over 8 years ago

  • Status changed from Assigned to Closed
  • Resolution set to fixed

Also available in: Atom PDF