summaryrefslogtreecommitdiff
path: root/libvirt-override-api.xml
diff options
context:
space:
mode:
authorPavel Hrdina <phrdina@redhat.com>2015-03-28 11:21:56 +0100
committerPavel Hrdina <phrdina@redhat.com>2015-03-28 11:21:56 +0100
commit0be1f5e31a06af9d93d5de73242de7f263cc5c3d (patch)
tree5f360af7781f543dbecc4f8047419d9d53033107 /libvirt-override-api.xml
parente1e9b270965a94ce703d9cb2a458824877a77cf0 (diff)
downloadlibvirt-python-0be1f5e31a06af9d93d5de73242de7f263cc5c3d.tar.gz
Expose virDomainInterfacesAddresses to python bindingv1.2.14
examples/Makefile.am: * Add new file domipaddrs.py examples/README: * Add documentation for the python example libvirt-override-api.xml: * Add new symbol for virDomainInterfacesAddresses libvirt-override.c: * Hand written python api Example: $ python examples/domipaddrs.py qemu:///system f18 Interface MAC address Protocol Address vnet0 52:54:00:20:70:3d ipv4 192.168.105.240/16 Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Diffstat (limited to 'libvirt-override-api.xml')
-rw-r--r--libvirt-override-api.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/libvirt-override-api.xml b/libvirt-override-api.xml
index cf46090..d1a9c26 100644
--- a/libvirt-override-api.xml
+++ b/libvirt-override-api.xml
@@ -678,5 +678,12 @@
<arg name='flags' type='unsigned int' info='unused, pass 0'/>
<return type='char *' info="list of mounted filesystems information"/>
</function>
+ <function name='virDomainInterfaceAddresses' file='python'>
+ <info>returns a dictionary of domain interfaces along with their MAC and IP addresses</info>
+ <arg name='dom' type='virDomainPtr' info='pointer to the domain'/>
+ <arg name='source' type='unsigned int' info='the data source'/>
+ <arg name='flags' type='unsigned int' info='extra flags; not used yet, so callers should always pass 0'/>
+ <return type='char *' info="dictionary of domain interfaces along with their MAC and IP addresses"/>
+ </function>
</symbols>
</api>