Sha256: 44c51e046e9b9d8c4ef160cc69aad95ad87020c19f13fe10bfe416c778c6412d

Contents?: true

Size: 743 Bytes

Versions: 13

Compression:

Stored size: 743 Bytes

Contents

# frozen_string_literal: true

module Libvirt
  module Xml
    class StoragePool < Generic
      # https://libvirt.org/formatstorage.html

      root_path './pool'

      attribute :type, type: :attr
      attribute :name
      attribute :uuid
      attribute :capacity, type: :memory
      attribute :allocation, type: :memory
      attribute :available, type: :memory
      attribute :target_path, path: './target/path'
      attribute :target_perm_mode, path: './target/permissions/mode'
      attribute :target_perm_owner, path: './target/permissions/owner'
      attribute :target_perm_group, path: './target/permissions/group'
      attribute :target_perm_label, path: './target/permissions/label'
      # TODO: source
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
libvirt_ffi-0.8.1 lib/libvirt/xml/storage_pool.rb
libvirt_ffi-0.8.0 lib/libvirt/xml/storage_pool.rb
libvirt_ffi-0.7.0 lib/libvirt/xml/storage_pool.rb
libvirt_ffi-0.6.2 lib/libvirt/xml/storage_pool.rb
libvirt_ffi-0.6.1 lib/libvirt/xml/storage_pool.rb
libvirt_ffi-0.6.0 lib/libvirt/xml/storage_pool.rb
libvirt_ffi-0.5.6 lib/libvirt/xml/storage_pool.rb
libvirt_ffi-0.5.5 lib/libvirt/xml/storage_pool.rb
libvirt_ffi-0.5.4 lib/libvirt/xml/storage_pool.rb
libvirt_ffi-0.5.3 lib/libvirt/xml/storage_pool.rb
libvirt_ffi-0.5.2 lib/libvirt/xml/storage_pool.rb
libvirt_ffi-0.5.1 lib/libvirt/xml/storage_pool.rb
libvirt_ffi-0.5.0 lib/libvirt/xml/storage_pool.rb