diff options
author | Richard Mayhew <richard@splash.co.za> | 2017-05-14 16:17:05 +0200 |
---|---|---|
committer | Richard Mayhew <richard@splash.co.za> | 2017-05-14 16:17:05 +0200 |
commit | 89aa488c7bd6bf90adc17824fd42850390bdb0c5 (patch) | |
tree | 2a98e1e1d32cd16dacf8b12763d80a107b1fd644 /lib/oxidized/model | |
parent | 4854deb9e40b060a55d230cfb49a8e93e3346ac8 (diff) |
Included the changelog for RouterOS
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r-- | lib/oxidized/model/routeros.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/oxidized/model/routeros.rb b/lib/oxidized/model/routeros.rb index 94f3c4a..31650c7 100644 --- a/lib/oxidized/model/routeros.rb +++ b/lib/oxidized/model/routeros.rb @@ -10,6 +10,10 @@ class RouterOS < Oxidized::Model comment cfg end + cmd '/system history print' do |cfg| + comment cfg + end + cmd '/export' do |cfg| cfg.gsub! /\x1B\[([0-9]{1,3}((;[0-9]{1,3})*)?)?[m|K]/, '' # strip ANSI colours cfg.gsub! /\\\r\n\s+/, '' # strip new line |