Class: SMCCommands::Networkmode

Inherits:
SMCCommandBase show all
Includes:
CommandMixins::Networkmode
Defined in:
lib/setup_oob/command/smc.rb

Constant Summary collapse

MODES =
{
  :dedicated => 0x00,
  :shared => 0x01,
  :failover => 0x02,
}.freeze

Constants inherited from SMCCommandBase

SMCCommandBase::ACTIONS, SMCCommandBase::COMMANDS, SMCCommandBase::DEFAULT_PASSWORD, SMCCommandBase::USER

Instance Attribute Summary

Attributes inherited from CommandBase

#logger

Method Summary

Methods included from CommandMixins::Networkmode

#_converge!, #_converged?, #desired_mode

Methods inherited from SMCCommandBase

#basecmd, basecmd, #enabled?, #rawcmd, #runraw

Methods inherited from CommandBase

#converge!, #converged?, #initialize

Constructor Details

This class inherits a constructor from CommandBase