summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/junos.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-06-08Remove more JunOS secrets (#1359)Zmegolaz
* Remove more JunOS secrets * Removed redundant junos secret replacements. Updated changelog. * Moved this change to Master in the changelog.
2018-04-21the great makeover - standardize layout, alignment, indentationWild Kat
2018-03-15add hexadecimal for junos pre-shared-secretAdam Smith
2018-03-15add secrets to sanitize in JunOSAdam Smith
2017-02-20Added license information and gsub to take out chatty subscriber license ↵Tim Pozar
updates.
2016-07-10move ssh_no_exec exec test into exec definitionNick Hilliard
2016-07-09implement new screenscrape method in modelNick Hilliard
2016-07-06Added support for ssh_no_exec config file variableNick Hilliard
2016-02-17Added support for "show virtual-chassis" output on Junos EX and QFX switchesBen Cardy
2015-12-09keep the config output cleanElvin Efendi
2015-12-07bug fixElvin Efendi
2015-11-23ignore frequently changing monitoring dataElvin Efendi
2015-11-23use paranthesis for method callElvin Efendi
2015-11-23strip temprature and speed measurement from chassis environment outputElvin Efendi
2015-11-23include health and hardware info into configElvin Efendi
2015-11-13better test framework, more specs and Travis CIElvin Efendi
2015-09-28fixes #202Saku Ytti
2015-03-26rename fileSaku Ytti
2014-08-06small model changesSaku Ytti
- ios show first line of 'show version' - junos display omitted config
2014-06-11add secrets removal code + bump versionSamer Abdel-Hafez
2014-03-17Fix JunOS modelSaku Ytti
Block must return string, it returned nil which broke it. Also coerce type to string in future, so block won't fail so catastrophically, just output missing.
2014-03-14Introduce 'post' and 'pre' commandsSaku Ytti
Both post and pre are called after all 'cmd' are already called, but output from 'pre' is put on top of configuration output and output from 'post' is put on bottom of confguration output. Rationale is dynamic configuration, where you'll only know after running some commands what commands you want to run. Both except blocks, such as pre do # commands to execute end Both can be called multiple times
2013-04-261.9/2.0 compatibility fix + syslogd cleanupSaku Ytti
2013-04-21Run 'main' method if it existsSaku Ytti
Gives alternative, maybe less awkward way to do conditional commands. You can first use cmd methods to gather stuff you want, then in main method you could conditional to things based on them, maybe futher call methods per model.
2013-04-19Add 'cmd :all' convenience, ran after each commandSaku Ytti
Easier screen-scraping, if each command produces always same set of cruft that needs to be removed
2013-04-17Initial commitSaku Ytti
Silly for shit-and-giggles attempt at rancid