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

Methods

Included Modules

Fog::Compute::LibvirtUtil

Public Class methods

Can be created by passing in :xml => "<xml to create volume>" A volume always belongs to a pool, :pool_name => "<name of pool>"

@returns volume created

Public Instance methods

Clones this volume to the name provided

Try to guess the default/first pool of no pool_name was specificed

Destroy a volume

Takes a pool and either :xml or other settings

Wipes a volume , zeroes disk

Create a valid xml for the volume based on the template

[Validate]