Class: BMCPowerManager

Inherits:
PowerManager show all
Defined in:
app/models/power_manager/bmc_power_manager.rb

Constant Summary

Constants inherited from PowerManager

PowerManager::SUPPORTED_ACTIONS

Instance Method Summary collapse

Methods inherited from PowerManager

#logger, method_missing, #state

Constructor Details

#initialize(opts = {}) ⇒ BMCPowerManager

Returns a new instance of BMCPowerManager.


3
4
5
6
# File 'app/models/power_manager/bmc_power_manager.rb', line 3

def initialize(opts = {})
  super(opts)
  @proxy = host.bmc_proxy
end