Displaying 5 results from an estimated 5 matches for "iscsilibvirtpool".
2009 May 28
0
[PATCH server] Use fixed mount points and add timeouts to various calls.
...reate(:timeout => 60 * 2)
raise "Error defining pool: #{result.text}" unless result.status == 0
# Refresh qpid object with new properties.
@@ -195,7 +195,7 @@ class LibvirtPool
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 +2...
2009 May 29
0
[PATCH server] Add more debugging to storage tasks
...0 * 2)
raise "Error building pool: #{result.text}" unless result.status == 0
end
@@ -193,11 +197,11 @@ class LibvirtPool
return false
end
- def self.factory(pool)
+ def self.factory(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, poo...
2009 Jul 09
1
[PATCH 1/5 ovirt-server] Add glusterfs to task-omatic API for {task_storage,utils}
...++++++++++
2 files changed, 90 insertions(+), 0 deletions(-)
diff --git a/src/task-omatic/task_storage.rb b/src/task-omatic/task_storage.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.ex...
2009 Jul 29
0
[PATCH server] Remove ununsed utils.rb file.
...def shutdown
- if @remote_pool_started
- @remote_pool.destroy
- end
- if @remote_pool_defined
- @remote_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) thi...
2009 Jul 31
0
[TAKE-2][PATCH 1/5] Add glusterfs to task-omatic API for task_storage
...++++++++++
1 files changed, 50 insertions(+), 0 deletions(-)
diff --git a/src/task-omatic/task_storage.rb b/src/task-omatic/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.ex...