[Ovirt-devel] [PATCH 4/5 ovirt-server] Added glusterfs for new search controller parameter
Harshavardhana
harsha at gluster.com
Thu Jul 9 11:42:58 UTC 2009
---
src/app/controllers/search_controller.rb | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/src/app/controllers/search_controller.rb b/src/app/controllers/search_controller.rb
index 0fb6456..fb78418 100644
--- a/src/app/controllers/search_controller.rb
+++ b/src/app/controllers/search_controller.rb
@@ -37,17 +37,23 @@ class SearchController < ApplicationController
"NfsStoragePool" => {:controller => "storage",
:show_action => "show",
:searched => true},
+ "GlusterfsStoragePool" => {:controller => "storage" ,
+ :show_action => "show",
+ :searched => true},
"IscsiStorageVolume" => {:controller => "storage_volume",
:show_action => "show",
:searched => false},
"NfsStorageVolume" => {:controller => "storage_volume",
:show_action => "show",
:searched => false},
+ "GlusterfsStorageVolume" => {:controller => "storage_volume",
+ :show_action => "show",
+ :searched => false},
"LvmStorageVolume" => {:controller => "storage_volume",
:show_action => "show",
:searched => false}}
- MULTI_TYPE_MODELS = {"StoragePool" => ["IscsiStoragePool", "NfsStoragePool"]}
+ MULTI_TYPE_MODELS = {"StoragePool" => ["IscsiStoragePool", "NfsStoragePool", "GlusterfsStoragePool"]}
def single_result
--
1.6.0.6
More information about the ovirt-devel
mailing list