Bug 1311495 - Add support for URL parameters in actions
Summary: Add support for URL parameters in actions
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine-sdk-python
Classification: oVirt
Component: Core
Version: 3.6.3.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ovirt-3.6.5
: 3.6.5.0
Assignee: Juan Hernández
QA Contact: movciari
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-24 11:15 UTC by Juan Hernández
Modified: 2016-04-21 14:37 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-sdk-python-3.6.5.0
Clone Of:
Environment:
Last Closed: 2016-04-21 14:37:38 UTC
oVirt Team: Infra
Embargoed:
rule-engine: ovirt-3.6.z+
mgoldboi: planning_ack+
juan.hernandez: devel_ack+
pstehlik: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 53961 0 master ABANDONED sdk: Support URL parameters in actions 2020-11-13 08:07:08 UTC
oVirt gerrit 53962 0 sdk_3.6 MERGED sdk: Support URL parameters in actions 2020-11-13 08:07:08 UTC

Description Juan Hernández 2016-02-24 11:15:40 UTC
Currently the Python SDK doesn't support the URL parameters available in actions. For example, the action that deactivates a host has a "stop_gluster_service" parameter, but it is impossible to use it with the Python SDK because the signature of the corresponding method is like this:

  def deactivate(
      self,
      action=params.Action(),
      correlation_id=None
  )

To support these parameters the signature should be like this:

  def deactivate(
      self,
      action=params.Action(),
      correlation_id=None,
      stop_gluster_service=None
  )


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