[libvirt] [RFC][PATCH 0/7] interface: Transaction API
Michal Privoznik
mprivozn at redhat.com
Mon May 9 19:28:46 UTC 2011
This is a RFC implementation of what some may call network transaction API.
The new interface driver functions now do not contain anything valuable,
they are just stub. Later on, a real netcf calls will be added. This should
only give us an image of whole thing. So any comments are more than welcome.
The new API is accessible via new virsh command: iface-change with 3 options:
start, commit, rollback. The test driver actually works, moreover it works
as expected later within real deployment.
Michal Privoznik (7):
interface: add new public API
interface: define internal driver API
interface: implement the public APIs
interface: implement the remote protocol
interface: expose to virsh
interface: Implement the driver methods
interface: implement test driver
configure.ac | 5 ++
include/libvirt/libvirt.h.in | 7 ++
src/driver.h | 12 ++++
src/esx/esx_interface_driver.c | 3 +
src/interface/netcf_driver.c | 39 ++++++++++++
src/libvirt.c | 129 ++++++++++++++++++++++++++++++++++++++++
src/libvirt_public.syms | 7 ++
src/phyp/phyp_driver.c | 5 +-
src/remote/remote_driver.c | 3 +
src/remote/remote_protocol.x | 18 +++++-
src/remote_protocol-structs | 9 +++
src/test/test_driver.c | 113 +++++++++++++++++++++++++++++++++++
tools/virsh.c | 59 ++++++++++++++++++
13 files changed, 407 insertions(+), 2 deletions(-)
--
1.7.5.rc3
More information about the libvir-list
mailing list