Bug 891227

Summary: PRD34 - [RFE] RHEVM-CLI: expose api capabilities in cli
Product: Red Hat Enterprise Virtualization Manager Reporter: Oded Ramraz <oramraz>
Component: ovirt-engine-cliAssignee: Juan Hernández <juan.hernandez>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Beňas <pbenas>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: aberezin, acathrow, ecohen, gklein, iheim, jkt, juan.hernandez, oramraz, pbenas, pstehlik, Rhev-m-bugs
Target Milestone: ---Keywords: FutureFeature
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: ovirt-3.4.0-alpha1 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-12 14:03:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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