Class Fog::Compute::Libvirt::Pool
In: lib/fog/libvirt/models/compute/pool.rb
Parent: Fog::Model

Methods

active?   allocation   auto_start=   auto_start?   build   capacity   destroy   name   new   num_of_volumes   persistent?   save   shutdown   start   state   stop   uuid   volumes   xml_desc  

Public Class methods

Can be created by passing in XML

Public Instance methods

Is the pool active or not?

Retrieves the allocated disk space of the pool

Set autostart value of the storage pool (true|false)

Will the pool autostart or not?

Build this storage pool

Retrieves the capacity of disk space of the pool

Destroys the storage pool

Retrieves the name of the pool

Retrieves the number of volumes available in this pool

Is the pool persistent or not?

Shuts down the pool

Start the pool = make it active Performs a libvirt create (= start)

Stop the pool = make it non-active Performs a libvirt destroy (= stop)

Retrieves the uuid of the pool

Retrieves the volumes of this pool

Returns the xml description of the current pool

[Validate]