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