Class: Ropian::Control::Raritan

Inherits:
Generic
  • Object
show all
Defined in:
lib/ropian/control/raritan.rb

Constant Summary

Constants inherited from Generic

Generic::States

Instance Method Summary collapse

Methods inherited from Generic

#initialize, #inspect, #reboot, #set_state, #turn_off, #turn_on

Constructor Details

This class inherits a constructor from Ropian::Control::Generic

Instance Method Details

#base_oidObject



4
5
6
# File 'lib/ropian/control/raritan.rb', line 4

def base_oid
  @base_oid ||= SNMP::ObjectId.new('1.3.6.1.4.1.13742.4.1.2.2.1.3')
end

#state_orderObject



7
8
9
# File 'lib/ropian/control/raritan.rb', line 7

def state_order
  @state_order ||= [:off, :on, :reboot]
end