mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
python: Actually implement list*Interfaces bindings
* python/generator.py python/libvirt-override-api.xml python/libvirt-override.c: implement the bindings for virConnectListInterfaces() and virConnectListDefinedInterfaces()
This commit is contained in:
committed by
Daniel Veillard
parent
7d43c80bc4
commit
c7e1cfc9f4
@@ -211,5 +211,15 @@
|
||||
<return type='char *' info='the UUID string or None in case of error'/>
|
||||
<arg name='secret' type='virSecretPtr' info='a secret object'/>
|
||||
</function>
|
||||
<function name='virConnectListInterfaces' file='python'>
|
||||
<info>list the running interfaces, stores the pointers to the names in @names</info>
|
||||
<arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>
|
||||
<return type='str *' info='the list of Names of None in case of error'/>
|
||||
</function>
|
||||
<function name='virConnectListDefinedInterfaces' file='python'>
|
||||
<info>list the defined interfaces, stores the pointers to the names in @names</info>
|
||||
<arg name='conn' type='virConnectPtr' info='pointer to the hypervisor connection'/>
|
||||
<return type='str *' info='the list of Names of None in case of error'/>
|
||||
</function>
|
||||
</symbols>
|
||||
</api>
|
||||
|
||||
Reference in New Issue
Block a user