Class Rethtool::InterfaceSettings::Mode
In: lib/rethtool/interface_settings.rb
Parent: Object

A struct to represent interface modes (supported, advertised, current)

available fields are:

 .speed -- integer link speed, in Mb (-1 if unknown)
 .duplex -- :full, :half, :fec, or :unknown
 .media -- A string, such as 'T', 'X', 'KX', etc, or nil if unknown

Methods

to_s  

Public Instance methods

Print out a more standard-looking representation for a mode

[Validate]