summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Mayhew <richard@splash.co.za>2017-05-14 16:17:05 +0200
committerRichard Mayhew <richard@splash.co.za>2017-05-14 16:17:05 +0200
commit89aa488c7bd6bf90adc17824fd42850390bdb0c5 (patch)
tree2a98e1e1d32cd16dacf8b12763d80a107b1fd644
parent4854deb9e40b060a55d230cfb49a8e93e3346ac8 (diff)
Included the changelog for RouterOS
-rw-r--r--lib/oxidized/model/routeros.rb4
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