[libvirt] [libvirt-test-API][PATCH] Add global IPv6 default values to network part

2015-01-25 Thread jiahu
Added below variables into global.cfg. netip6addr/netip6prefix/netip6start/netip6end --- global.cfg | 9 + 1 file changed, 9 insertions(+) diff --git a/global.cfg b/global.cfg index db8f71e..56677a5 100644 --- a/global.cfg +++ b/global.cfg @@ -195,6 +195,15 @@ defaultnetstart = 192.168.11

[libvirt] [libvirt-test-API][PATCH] Add IPv6 section into network case

2015-01-25 Thread jiahu
Add IPv6 family related scenarios to virtual network case --- cases/basic_network.conf | 8 repos/network/define.py| 7 ++- repos/network/xmls/network.xml | 5 + 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/cases/basic_network.conf b/cases/basic_net

[libvirt] [PATCH v8 3/4] domifaddr: Implement the API for qemu

2015-01-25 Thread Nehal J Wani
By querying the qemu guest agent with the QMP command "guest-network-get-interfaces" and converting the received JSON output to structured objects. Although "ifconfig" is deprecated, IP aliases created by "ifconfig" are supported by this API. The legacy syntax of an IP alias is: ":". Since we want

[libvirt] [PATCH v8 4/4] domifaddr: Add virsh support

2015-01-25 Thread Nehal J Wani
tools/virsh-domain-monitor.c * Introduce new command : domifaddr Usage: domifaddr [interface] [--full] [--lease] [--agent] Example outputs: virsh # domifaddr f20 Name MAC address Protocol Address -

[libvirt] [PATCH v8 1/4] domifaddr: Implement the public APIs

2015-01-25 Thread Nehal J Wani
Define helper function virDomainInterfaceFree, which allows the upper layer application to free the domain interface object conveniently. The API is going to provide multiple methods by flags, e.g. * Query guest agent * Parse DHCP lease file include/libvirt/libvirt-domain.h * Define virDoma

[libvirt] [PATCH v8 2/4] domifaddr: Implement the remote protocol

2015-01-25 Thread Nehal J Wani
daemon/remote.c * Define remoteSerializeDomainInterface, remoteDispatchDomainInterfaceAddresses src/remote/remote_driver.c * Define remoteDomainInterfaceAddresses src/remote/remote_protocol.x * New RPC procedure: REMOTE_PROC_DOMAIN_INTERFACE_ADDRESSES * Define structs remote_domain_i

[libvirt] [PATCH v8 0/4] Introduce API to query IP addresses for given domain

2015-01-25 Thread Nehal J Wani
This feature has been requested for a very long time. Since qemu guest agent and leaseshelper give us reliable results, now the wait is over. The RFC was first proposed by Michal Privoznik: http://www.redhat.com/archives/libvir-list/2012-February/msg00437.html A patch was submitted, using str

[libvirt] [PATCH] [Build-breaker : 1.2.12] Suppress compilation without dbus headers

2015-01-25 Thread Prerna Saxena
Hi, While testing 1.2.12 rc2 on Powerpc, Fedora 21, I hit a bunch of build failures in absence of dbus-devel : src/util/virsystemd.c:284:17: note: in expansion of macro 'STREQ_NULLABLE' if (STREQ_NULLABLE("org.freedesktop.DBus.Error.UnknownMethod", ^ src/util/vi