ruby-libvirt equiv of virsh list --all

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I have a working KVM system managed with virsh and virt-install.  
I am currently playing with ruby-libvirt-0.1.0.  
I am wanting to build a simple sinatra/ruby app to show the VE's on a node and their state.  
I have ruby 1.8.5 on CentOS 5.4.  

I have the basics of it worked out but am a little stuck.  
Is there a way of retrieving a list of all VM's on a host using ruby-libvirt. ie: virsh list --all ?  

    @conn.list_defined_domains only shows VE's not started (lists VE names)
    @conn.list_domains only shows VE's running (lists VE id's)

What I ultimately would like is to retrieve a full list of the uuid's of all defined VE's(running or not).  




-- 
Regards
Mick Pollard ( lunix )
------------------------------------------------
BOFH Excuse of the day:
Extraneous Configuration Invalidation



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux