diff options
| author | Pavel Hrdina <phrdina@redhat.com> | 2015-03-28 11:21:56 +0100 |
|---|---|---|
| committer | Pavel Hrdina <phrdina@redhat.com> | 2015-03-28 11:21:56 +0100 |
| commit | 0be1f5e31a06af9d93d5de73242de7f263cc5c3d (patch) | |
| tree | 5f360af7781f543dbecc4f8047419d9d53033107 /examples/README | |
| parent | e1e9b270965a94ce703d9cb2a458824877a77cf0 (diff) | |
| download | libvirt-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 'examples/README')
| -rw-r--r-- | examples/README | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/README b/examples/README index 5b5d405..1d4b425 100644 --- a/examples/README +++ b/examples/README @@ -11,6 +11,7 @@ domrestore.py - restore domU's from their saved files in a directory esxlist.py - list active domains of an VMware ESX host and print some info. also demonstrates how to use the libvirt.openAuth() method dhcpleases.py - list dhcp leases for a given virtual network +domipaddrs.py - list IP addresses for guest domains The XML files in this directory are examples of the XML format that libvirt expects, and will have to be adapted for your setup. They are only needed |
