Re: [libvirt-python PATCH v12] Expose virDomainInterfacesAddresses to python binding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 03/19/2015 09:15 AM, Pavel Hrdina wrote:
> From: Nehal J Wani <nehaljw.kkd1@xxxxxxxxx>
> 
> 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@xxxxxxxxxx>
> ---
>  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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]