summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/planet.rb
AgeCommit message (Collapse)Author
2018-07-07use convenience methods in modelsWild Kat
* 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
2018-04-21the great makeover - standardize layout, alignment, indentationWild Kat
2017-06-13Planet: remove temperature from outputFlorian Klink
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.
2016-11-10add support for PLANET SG switchesFlorian Klink
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.