Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class ManageIQ::Providers::IbmPowerHmc::InfraManager < ManageIQ::Providers::Infr

supports :create
supports :metrics
supports :native_console
supports :management_console
supports :provisioning

has_many :hosts_advanced_settings, :through => :hosts, :source => :advanced_settings
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ class ManageIQ::Providers::IbmPowerHmc::InfraManager::Vm < ManageIQ::Providers::
unsupported_reason_add(:set_description, _("Host is not HMC-managed")) unless host_hmc_managed
end

supports :native_console do
supports :management_console do
reason ||= _("VM Console not supported because VM is orphaned") if orphaned?
reason ||= _("VM Console not supported because VM is archived") if archived?
unsupported_reason_add(:native_console, reason) if reason
unsupported_reason_add(:management_console, reason) if reason
end

def provider_object(_connection = nil)
Expand Down