On Fri, Mar 27, 2015 at 05:37:30PM -0400, John Ferlan wrote:
On 03/19/2015 09:15 AM, Pavel Hrdina wrote:
> From: Nehal J Wani <nehaljw.kkd1(a)gmail.com>
>
> 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
>
> In v11:
> - Cope with hwaddr being NULL by filling in PY_NONE
>
> Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
> ---
> MANIFEST.in | 1 +
> examples/README | 1 +
> examples/domipaddrs.py | 57 +++++++++++++++++++++
> generator.py | 2 +
> libvirt-override-api.xml | 7 +++
> libvirt-override.c | 128 +++++++++++++++++++++++++++++++++++++++++++++++
> sanitytest.py | 3 ++
> 7 files changed, 199 insertions(+)
> create mode 100755 examples/domipaddrs.py
>
ACK -
John
Thanks, pushed now.
Pavel