diff --git a/app/models/manageiq/providers/monitoring_manager.rb b/app/models/manageiq/providers/monitoring_manager.rb index f53990f9167..f4b01dd8b7b 100644 --- a/app/models/manageiq/providers/monitoring_manager.rb +++ b/app/models/manageiq/providers/monitoring_manager.rb @@ -7,5 +7,9 @@ def self.ems_type def self.description "Monitoring Manager".freeze end + + def name + "#{parent_manager.try(:name)} Monitoring Manager" + end end end diff --git a/app/models/manageiq/providers/network_manager.rb b/app/models/manageiq/providers/network_manager.rb index 1c888fb94fa..099515b7cf4 100644 --- a/app/models/manageiq/providers/network_manager.rb +++ b/app/models/manageiq/providers/network_manager.rb @@ -82,5 +82,9 @@ def self.supported_types_and_descriptions_hash end end end + + def name + "#{parent_manager.try(:name)} Network Manager" + end end end diff --git a/app/models/manageiq/providers/storage_manager/cinder_manager.rb b/app/models/manageiq/providers/storage_manager/cinder_manager.rb index fe4cd951d89..b7c9ecddc97 100644 --- a/app/models/manageiq/providers/storage_manager/cinder_manager.rb +++ b/app/models/manageiq/providers/storage_manager/cinder_manager.rb @@ -52,6 +52,10 @@ def description @description ||= "Cinder ".freeze end + def name + "#{parent_manager.try(:name)} Cinder Manager" + end + def supports_api_version? true end diff --git a/app/models/manageiq/providers/storage_manager/swift_manager.rb b/app/models/manageiq/providers/storage_manager/swift_manager.rb index 3930785dc3a..94f5732cbe3 100644 --- a/app/models/manageiq/providers/storage_manager/swift_manager.rb +++ b/app/models/manageiq/providers/storage_manager/swift_manager.rb @@ -48,6 +48,10 @@ def description @description ||= "Swift ".freeze end + def name + "#{parent_manager.try(:name)} Swift Manager" + end + def supports_api_version? true end