Displaying 7 results from an estimated 7 matches for "nfsstoragepool".
2009 Jul 28
0
[PATCH 3/5] Storage views patched for glusterfs drop down as one the Storage Pools
...src/app/views/storage/_form.rhtml
index ea2b0c4..1e7f22f 100644
--- a/src/app/views/storage/_form.rhtml
+++ b/src/app/views/storage/_form.rhtml
@@ -12,6 +12,8 @@
<%= text_field_with_label "Export Path:", 'storage_pool', 'export_path' if @storage_pool[:type] == "NfsStoragePool" %>
+<%= text_field_with_label "Export Path:", 'storage_pool', 'export_path' if @storage_pool[:type] == "GlusterfsStoragePool" %>
+
<!--[eoform:storage_pool]-->
diff --git a/src/app/views/storage/_list.rhtml b/src/app/views/storage/_...
2009 Jul 09
0
[PATCH 3/5 ovirt-server] Storage views patched for glusterfs drop down as one the Storage Pools
...src/app/views/storage/_form.rhtml
index ea2b0c4..1e7f22f 100644
--- a/src/app/views/storage/_form.rhtml
+++ b/src/app/views/storage/_form.rhtml
@@ -12,6 +12,8 @@
<%= text_field_with_label "Export Path:", 'storage_pool', 'export_path' if @storage_pool[:type] == "NfsStoragePool" %>
+<%= text_field_with_label "Export Path:", 'storage_pool', 'export_path' if @storage_pool[:type] == "GlusterfsStoragePool" %>
+
<!--[eoform:storage_pool]-->
diff --git a/src/app/views/storage/_list.rhtml b/src/app/views/storage/_...
2009 Jul 09
1
[PATCH 1/5 ovirt-server] Add glusterfs to task-omatic API for {task_storage,utils}
...e.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.export_path, logger)
elsif pool[:type] == "LvmStoragePool"
# OK, if this is LVM s...
2009 May 28
0
[PATCH server] Use fixed mount points and add timeouts to various calls.
...s.
@@ -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 +220,9 @@ class LibvirtPool
end
class IscsiLibvirtPool < LibvirtPool
- def initialize(ip_addr, target)
- super('iscsi')
+ def initialize(ip_addr,...
2009 Jul 31
0
[TAKE-2][PATCH 1/5] Add glusterfs to task-omatic API for task_storage
...e.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.export_path, logger)
elsif pool[:type] == "LvmStoragePool"
# OK, if this is LVM s...
2009 May 29
0
[PATCH server] Add more debugging to storage tasks
...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, 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...
2009 Jul 29
0
[PATCH server] Remove ununsed utils.rb file.
...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) this is a LUN with LVM already on it. In this case, all we need to
- # do...