[PATCH 0/4] Introduce APIs to extract DHCP leases info

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

 



This API returns the information stored in the DHCP leases file
created by dnsmasq for a given virtual network. It contacts the
bridge network driver, which parses the leases file.

It supports two methods:

1. Return info for all network interfaces connected to a given
   virtual network
2. Return information for a particular network interface in a
   given virtual network by providing its MAC Address

* The need for these APIs were result of a RFC was proposed on the list.
  Refer: http://www.redhat.com/archives/libvir-list/2013-July/msg01603.html

Nehal J Wani (4):
  net-dhcp-leases: Implement the public APIs
  net-dhcp-leases: Implement the remote protocol
  net-dhcp-leases: Private implementation inside network driver
  net-dhcp-leases: Add virsh support

 daemon/remote.c              | 128 +++++++++++++++++++++++++
 include/libvirt/libvirt.h.in |  22 +++++
 python/generator.py          |   3 +
 src/driver.h                 |  13 +++
 src/libvirt.c                | 166 ++++++++++++++++++++++++++++++++
 src/libvirt_public.syms      |   7 ++
 src/network/bridge_driver.c  | 222 +++++++++++++++++++++++++++++++++++++++++++
 src/remote/remote_driver.c   | 117 +++++++++++++++++++++++
 src/remote/remote_protocol.x |  48 +++++++++-
 src/remote_protocol-structs  |  27 ++++++
 src/rpc/gendispatch.pl       |   1 +
 tools/virsh-network.c        |  92 ++++++++++++++++++
 tools/virsh.pod              |   6 ++
 13 files changed, 851 insertions(+), 1 deletion(-)

-- 
1.7.11.7

--
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]