Age | Commit message (Collapse) | Author |
|
* use convenience methods in models for legibility
* disable Style/SymbolProc in rubocop
* introduce cut_both instead of cut_head.cut_tail chain
* document cut_both convenience method
|
|
|
|
Some Planet Switches (at least from their industrial line)
show the system temperature on the 'show version'
command, so strip it from the output, too.
|
|
So far, only SGS switches were supported.
Now, we check the model type during the 'show version' command, and only
execute the 'show transceiver details' command in case an SGS switch was
detected (as its not supported on SG models).
We will also strip lines containing the current System Time and Uptime.
These only appear on SG models, but it's a good idea to strip them anyways.
|