Bug 1366547 - Not possible to send query parameter with action/add/update methods
Summary: Not possible to send query parameter with action/add/update methods
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine-sdk-python
Classification: oVirt
Component: Core
Version: 4.0.0a
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.0.4
: 4.0.0.a6
Assignee: Ondra Machacek
QA Contact: Petr Matyáš
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-12 09:49 UTC by Ondra Machacek
Modified: 2016-09-26 12:41 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-26 12:41:08 UTC
oVirt Team: Infra
Embargoed:
rule-engine: ovirt-4.0.z+
mgoldboi: planning_ack+
omachace: devel_ack+
pstehlik: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 62531 0 sdk_4.0 MERGED Send query parameters with Add/Update actions 2016-08-18 11:47:23 UTC

Description Ondra Machacek 2016-08-12 09:49:01 UTC
Description of problem:
When API supports to send query parameter to some action/add/update, in SDK it' not possible send such 
query parameter.

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

How reproducible:
always

Steps to Reproduce:
1. Try to create template with 'copy_permissions' flag. Or import vm with collapse snapshots.

  https://github.com/oVirt/ovirt-engine/tree/master/backend/manager/modules/restapi#335-removed-the-permissionsclone-element

  https://github.com/oVirt/ovirt-engine/tree/master/backend/manager/modules/restapi#333-removed-the-snapshotscollapse_snapshots-element

Actual results:
Not possible.

Expected results:
Should be possible to do it from SDK.

Additional info:

Comment 1 Ondra Machacek 2016-08-18 14:03:35 UTC
To verify, run following example:

 https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/add_independet_vm.py

Comment 2 Petr Matyáš 2016-09-13 16:11:33 UTC
Verified on 4.0.4-2


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