Displaying 5 results from an estimated 5 matches for "nfslibvirtpool".
2009 Jul 09
1
[PATCH 1/5 ovirt-server] Add glusterfs to task-omatic API for {task_storage,utils}
....rb
index 77363ac..97ae4fc 100644
--- a/src/task-omatic/task_storage.rb
+++ b/src/task-omatic/task_storage.rb
@@ -202,6 +202,8 @@ class LibvirtPool
return IscsiLibvirtPool.new(pool.ip_addr, pool[:target], pool[:port], logger)
elsif pool[:type] == "NfsStoragePool"
return NFSLibvirtPool.new(pool.ip_addr, pool.export_path, logger)
+ elsif pool[:type] == "GlusterfsStoragePool"
+ return GLUSTERFSLibvirtPool.new(pool.ip_addr, pool.export_path, logger)
elsif pool[:type] == "LvmStoragePool"
# OK, if this is LVM storage, there are two cases we need...
2009 May 29
0
[PATCH server] Add more debugging to storage tasks
...tory(pool, logger)
if pool[:type] == "IscsiStoragePool"
- return IscsiLibvirtPool.new(pool.ip_addr, pool[:target], pool[:port])
+ return IscsiLibvirtPool.new(pool.ip_addr, pool[:target], pool[:port], logger)
elsif pool[:type] == "NfsStoragePool"
- return NFSLibvirtPool.new(pool.ip_addr, pool.export_path)
+ return NFSLibvirtPool.new(pool.ip_addr, pool.export_path, logger)
elsif pool[:type] == "LvmStoragePool"
# OK, if this is LVM storage, there are two cases we need to care about:
# 1) this is a LUN with LVM already on it. In thi...
2009 May 28
0
[PATCH server] Use fixed mount points and add timeouts to various calls.
...tPool
def self.factory(pool)
if pool[:type] == "IscsiStoragePool"
- return IscsiLibvirtPool.new(pool.ip_addr, pool[:target])
+ return IscsiLibvirtPool.new(pool.ip_addr, pool[:target], pool[:port]")
elsif pool[:type] == "NfsStoragePool"
return NFSLibvirtPool.new(pool.ip_addr, pool.export_path)
elsif pool[:type] == "LvmStoragePool"
@@ -220,8 +220,9 @@ class LibvirtPool
end
class IscsiLibvirtPool < LibvirtPool
- def initialize(ip_addr, target)
- super('iscsi')
+ def initialize(ip_addr, target, port)
+ mount = "#...
2009 Jul 31
0
[TAKE-2][PATCH 1/5] Add glusterfs to task-omatic API for task_storage
....rb
index 8165818..77b0166 100644
--- a/src/task-omatic/task_storage.rb
+++ b/src/task-omatic/task_storage.rb
@@ -202,6 +202,8 @@ class LibvirtPool
return IscsiLibvirtPool.new(pool.ip_addr, pool[:target], pool[:port], logger)
elsif pool[:type] == "NfsStoragePool"
return NFSLibvirtPool.new(pool.ip_addr, pool.export_path, logger)
+ elsif pool[:type] == "GlusterfsStoragePool"
+ return GLUSTERFSLibvirtPool.new(pool.ip_addr, pool.export_path, logger)
elsif pool[:type] == "LvmStoragePool"
# OK, if this is LVM storage, there are two cases we need...
2009 Jul 29
0
[PATCH server] Remove ununsed utils.rb file.
...emote_pool.undefine
- end
- end
-
- def xmlequal?(docroot)
- return false
- end
-
- def self.factory(pool)
- if pool[:type] == "IscsiStoragePool"
- return IscsiLibvirtPool.new(pool.ip_addr, pool[:target])
- elsif pool[:type] == "NfsStoragePool"
- return NFSLibvirtPool.new(pool.ip_addr, pool.export_path)
- elsif pool[:type] == "LvmStoragePool"
- # OK, if this is LVM storage, there are two cases we need to care about:
- # 1) this is a LUN with LVM already on it. In this case, all we need to
- # do is to create a new LV (== libvirt v...