Bug 1311495

Summary: Add support for URL parameters in actions
Product: [oVirt] ovirt-engine-sdk-python Reporter: Juan Hernández <juan.hernandez>
Component: CoreAssignee: Juan Hernández <juan.hernandez>
Status: CLOSED CURRENTRELEASE QA Contact: movciari
Severity: low Docs Contact:
Priority: medium    
Version: 3.6.3.0CC: bugs, juan.hernandez, mgoldboi
Target Milestone: ovirt-3.6.5Flags: rule-engine: ovirt-3.6.z+
mgoldboi: planning_ack+
juan.hernandez: devel_ack+
pstehlik: testing_ack+
Target Release: 3.6.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-sdk-python-3.6.5.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-21 14:37:38 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 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
  )