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:


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.