Bug 771015

Summary: Error parameter on interfaceParameters and setInterfaceParameters python APIs
Product: Red Hat Enterprise Linux 6 Reporter: Alex Jia <ajia>
Component: libvirtAssignee: Alex Jia <ajia>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.3CC: acathrow, dallan, dyuan, mzhan, rwu
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-18 09:42:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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 ***