RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 771015 - Error parameter on interfaceParameters and setInterfaceParameters python APIs
Summary: Error parameter on interfaceParameters and setInterfaceParameters python APIs
Keywords:
Status: CLOSED DUPLICATE of bug 770971
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.3
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Alex Jia
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-31 06:15 UTC by Alex Jia
Modified: 2012-01-18 09:42 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-18 09:42:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Alex Jia 2011-12-31 06:15:36 UTC
Description of problem:
The parameter 'params' and 'nparams' are useless for interfaceParameters python API, and the parameter 'nparams' is also not necessary for setInterfaceParameters python API.

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

# rpm -q libvirt-python
libvirt-python-0.9.9-0rc1.el6.x86_64

How reproducible:
always

Steps to Reproduce:
Depends on bug 770971, so I can only analyse interfaceParameters and setInterfaceParameters interface parameters in /usr/lib64/python2.6/site-packages/libvirt.py now.
  
Actual results:

From the codes of view, user can't use interfaceParameters and setInterfaceParameters python APIs.

Expected results:

Can use them normally.

Additional info:

The bug depends on bug 770971, need to expose virDomain{Get,Set}InterfaceParameters' API in python binding firstly.

And also need to add notice return value type in python/libvirt-override-api.xml, if we have exposed virDomain{Get,Set}InterfaceParameters'.

Comment 1 Dave Allan 2012-01-17 19:01:48 UTC
Alex, do you mind if I assign this BZ to you?

Comment 3 Alex Jia 2012-01-18 09:42:52 UTC
Patch for upstream:
https://www.redhat.com/archives/libvir-list/2012-January/msg00695.html

Since I use a single patch to fix both interface parameter issues and related APIs exposing in python binding, I'm closing this as a dup by myself.

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


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