Sha256: 8142586c5eb4e2a3c5ebe356d7c69186dffabb9a30bad74544aca6e2bd2d9105

Contents?: true

Size: 303 Bytes

Versions: 30

Compression:

Stored size: 303 Bytes

Contents

module Fog
  module Compute
    class Libvirt
      class Real
        def create_volume(pool_name, xml)
          client.lookup_storage_pool_by_name(pool_name).create_vol_xml(xml)
        end
      end

      class Mock
        def create_volume(pool_name, xml)
        end
      end
    end
  end
end

Version data entries

30 entries across 30 versions & 5 rubygems

Version Path
fog-libvirt-0.5.0 lib/fog/libvirt/requests/compute/create_volume.rb
fog-libvirt-0.4.2 lib/fog/libvirt/requests/compute/create_volume.rb
fog-libvirt-0.4.1 lib/fog/libvirt/requests/compute/create_volume.rb
fog-libvirt-0.4.0 lib/fog/libvirt/requests/compute/create_volume.rb
fog-libvirt-0.3.0 lib/fog/libvirt/requests/compute/create_volume.rb
fog-libvirt-0.2.0 lib/fog/libvirt/requests/compute/create_volume.rb
fog-libvirt-0.1.0 lib/fog/libvirt/requests/compute/create_volume.rb
fog-libvirt-0.0.4 lib/fog/libvirt/requests/compute/create_volume.rb
fog-libvirt-0.0.3 lib/fog/libvirt/requests/compute/create_volume.rb
fog-libvirt-0.0.2 lib/fog/libvirt/requests/compute/create_volume.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/libvirt/requests/compute/create_volume.rb
fog-libvirt-0.0.1 lib/fog/libvirt/requests/compute/create_volume.rb
fog-1.29.0 lib/fog/libvirt/requests/compute/create_volume.rb
fog-1.28.0 lib/fog/libvirt/requests/compute/create_volume.rb
fog-1.27.0 lib/fog/libvirt/requests/compute/create_volume.rb
fog-1.26.0 lib/fog/libvirt/requests/compute/create_volume.rb
fog-1.25.0 lib/fog/libvirt/requests/compute/create_volume.rb
nsidc-fog-1.24.1 lib/fog/libvirt/requests/compute/create_volume.rb
fog-1.24.0 lib/fog/libvirt/requests/compute/create_volume.rb
ns-fog-1.22.11 lib/fog/libvirt/requests/compute/create_volume.rb