Re: [libvirt] [Ruby]How to retrieve nodes in ?

2014-01-12 Thread Chris Lalancette
On Sun, Jan 12, 2014 at 6:09 PM, Teto wrote: > Hi, > Thanks to your advice, I was able to make it work using nokogiri. > I am now trying to attach new devices (shared folders) via my custom function: > = > def attach_device(uuid , device) > puts "CAlled with uuid #{uuid}" > >

Re: [libvirt] [Ruby]How to retrieve nodes in ?

2014-01-12 Thread Teto
Hi, Thanks to your advice, I was able to make it work using nokogiri. I am now trying to attach new devices (shared folders) via my custom function: = def attach_device(uuid , device) puts "CAlled with uuid #{uuid}" client.lookup_domain_by_uuid(uuid).update_device(d

Re: [libvirt] [Ruby]How to retrieve nodes in ?

2014-01-09 Thread Chris Lalancette
On Thu, Jan 9, 2014 at 11:04 AM, Teto wrote: > Hi, > > I would like to list devices (for instance I would like to retrieve > the part in type="mount">...) embedded in a domain via the > ruby bindings ? The steps are roughly: 1. require 'libvirt' 2. Connect to libvirt using the open method 3.

[libvirt] [Ruby]How to retrieve nodes in ?

2014-01-09 Thread Teto
Hi, I would like to list devices (for instance I would like to retrieve the part in ...) embedded in a domain via the ruby bindings ? Thanks Matt -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list