From 89aa488c7bd6bf90adc17824fd42850390bdb0c5 Mon Sep 17 00:00:00 2001 From: Richard Mayhew Date: Sun, 14 May 2017 16:17:05 +0200 Subject: Included the changelog for RouterOS --- lib/oxidized/model/routeros.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/oxidized') 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 -- cgit v1.2.1