Bug 891227 - PRD34 - [RFE] RHEVM-CLI: expose api capabilities in cli
Summary: PRD34 - [RFE] RHEVM-CLI: expose api capabilities in cli
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-cli
Version: 3.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.4.0
Assignee: Juan Hernández
QA Contact: Petr Beňas
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-02 09:06 UTC by Oded Ramraz
Modified: 2016-02-10 19:09 UTC (History)
11 users (show)

Fixed In Version: ovirt-3.4.0-alpha1
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-12 14:03:36 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 20022 0 None None None Never
oVirt gerrit 20139 0 None None None Never

Description Oded Ramraz 2013-01-02 09:06:26 UTC
Description of problem:

help should specify possible values for enumerables:
For example when running "help add vm" there are few parameters which require specific values : e.g os-type ,  same is true for --cpi-id for add cluster or sorage-type for add datacenter . 
It would be nice if help will contain the possible values for those enumerables. 


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

help add vm 

USAGE
  
  add <type> [base identifiers] [attribute options]
  
DESCRIPTION
  
  Creates a new object or adds existent with type vm. See 'help add' for generic
  help on creating objects.
  
ATTRIBUTE OPTIONS
  
  The following options are available for objects with type vm:
  
    * --name: string
    * --template-id|name: string
    * --cluster-id|name: string
    * [--quota-id: string]
    * [--timezone: string]
    * [--os-boot: collection]
      {
        [boot.dev: string]
      }
    * [--custom_properties-custom_property: collection]
      {
        [custom_property.name: string]
        [custom_property.value: string]
      }
    * [--os-type: string]
    * [--usb-enabled: boolean]
    * [--usb-type: string]
    * [--type: string]
    * [--os-initRd: string]
    * [--display-monitors: int]
    * [--display-type: string]
    * [--display-allow_override: boolean]
    * [--os-cmdline: string]
    * [--cpu-topology-cores: int]
    * [--memory: long]
    * [--high_availability-priority: int]
    * [--high_availability-enabled: boolean]
    * [--domain-name: string]
    * [--description: string]
    * [--stateless: boolean]
    * [--cpu-topology-sockets: int]
    * [--placement_policy-affinity: string]
    * [--placement_policy-host-id|name: string]
    * [--origin: string]
    * [--os-kernel: string]
    * [--disks-clone: boolean]

Comment 1 Michael Pasternak 2013-10-09 11:19:48 UTC
added new command to list all version capabilities (including enumerables)
and new features been added in the current version.

== Usage ==

capabilities [command options]

== Description ==

Displaying system capabilities for the current version.

== Arguments ==

 * [features] - Lists version features.

Comment 4 Petr Beňas 2014-05-12 10:25:59 UTC
Verified in av8.1.

Comment 5 Itamar Heim 2014-06-12 14:03:36 UTC
Closing as part of 3.4.0


Note You need to log in before you can comment on or make changes to this bug.