Class: SMCCommands::Ntp

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

Constant Summary collapse

SUB_COMMANDS =
{
  :enabled => [0x00],
  :primary => [0x01],
  :secondary => [0x02],
}.freeze
TYPES =
[
  :primary,
  :secondary,
].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::Ntp

#_converge!, #_converged?, #servers

Methods inherited from SMCCommandBase

#basecmd, basecmd, #rawcmd, #runraw

Methods inherited from CommandBase

#converge!, #converged?, #initialize

Constructor Details

This class inherits a constructor from CommandBase