Bug 1016632 - RHEVM-CLI: id parameter seems to be parsed incorrectly when passed in collection
Summary: RHEVM-CLI: id parameter seems to be parsed incorrectly when passed in collection
Keywords:
Status: CLOSED DUPLICATE of bug 1015975
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-cli
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Michael Pasternak
QA Contact: Ilia Meerovich
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-08 12:56 UTC by Ilia Meerovich
Modified: 2016-02-10 19:02 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-08 13:10:47 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ilia Meerovich 2013-10-08 12:56:17 UTC
[imeerovi@imeerovi (99% =) /tmp]$ rpm -q rhevm-cli
rhevm-cli-3.3.0.7-1.el6ev.noarch


[RHEVM shell (connected)]# add role --permits-permit "permit.administrative=false,permit.id=100" --administrative true --name 'New_Role'


error: "id_" is invalid segment at option "--permit.id=100".


[RHEVM shell (connected)]# help add role

USAGE
  
  add <type> [parent identifiers] [command options]
  
DESCRIPTION
  
  Creates a new object or adds existent with type role. See 'help add' for generic
  help on creating objects.
  
ATTRIBUTE OPTIONS
  
  The following options are available for objects with type role:
  
    * --name: string
    * --permits-permit: collection
      {
        permit.id: string
      }
    * [--description: string]
    * [--administrative: boolean]
    * [--expect: 201-created]
    * [--correlation_id: anystring]
  
COLLECTION BASED OPTION FORMAT
  
    * [--x-y: collection]
      {
        [y.a: string]
        [y.b: string]
        [y.c: string]
      }
  
    e.g:
  
    --x-y "y.a=a1,y.b=b1,y.c=c1"
    --x-y "y.a=a2,y.b=b2,y.c=c2"
    ...
  
    where a, b, c are option properties and aN, bN, cN is actual user's data
  
RETURN VALUES
  
    * 002 (COMMAND_ERROR)
    * 005 (COMMUNICATION_ERROR)
    * 003 (INTERRUPTED)
    * 011 (NOT_FOUND)
    * 000 (OK)
    * 010 (REMOTE_ERROR)
    * 001 (SYNTAX_ERROR)
    * 004 (UNKNOWN_ERROR)
  
[RHEVM shell (connected)]#

Comment 1 Michael Pasternak 2013-10-08 13:10:47 UTC

*** This bug has been marked as a duplicate of bug 1015975 ***


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