[Libvir] [PATCH]: Add virNodeGetInfo to ruby bindings

All, Attached is a patch to add the virNodeGetInfo() call to the Libvirt Ruby bindings. Although it is not technically a virConn* function, it acts like one since it uses the virConnectPtr structure, so I put it with those functions. Let me know if I am doing anything completely crazy in here; this is my first stab at Ruby binding code. It works like so: require 'libvirt' conn = Libvirt::open("qemu:///system") ni = c.nodeGetInfo print ni Signed-off-by: Chris Lalancette <clalance@redhat.com>

On Mon, 2007-11-19 at 16:18 -0500, Chris Lalancette wrote:
Attached is a patch to add the virNodeGetInfo() call to the Libvirt Ruby bindings. Although it is not technically a virConn* function, it acts like one since it uses the virConnectPtr structure, so I put it with those functions.
Looks good .. committed. David
participants (2)
-
Chris Lalancette
-
David Lutterkort