From f15bf6ac203f3cd1774d72eb0fc16aac807f7bc0 Mon Sep 17 00:00:00 2001 From: jbaker48 Date: Tue, 6 Dec 2016 21:05:23 +1100 Subject: exclude time from output --- lib/oxidized/model/eos.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/oxidized/model/eos.rb b/lib/oxidized/model/eos.rb index 75da0fa..bbcb4e2 100644 --- a/lib/oxidized/model/eos.rb +++ b/lib/oxidized/model/eos.rb @@ -22,7 +22,7 @@ class EOS < Oxidized::Model comment cfg end - cmd 'show running-config | no-more' do |cfg| + cmd 'show running-config | no-more | exclude Time:' do |cfg| cfg end -- cgit v1.2.1 From 59851430fd2363940f435ca58c6a2fb6928d472e Mon Sep 17 00:00:00 2001 From: jbaker48 Date: Tue, 6 Dec 2016 21:23:20 +1100 Subject: Update eos.rb --- lib/oxidized/model/eos.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/oxidized/model/eos.rb b/lib/oxidized/model/eos.rb index bbcb4e2..a9f3ff3 100644 --- a/lib/oxidized/model/eos.rb +++ b/lib/oxidized/model/eos.rb @@ -22,7 +22,7 @@ class EOS < Oxidized::Model comment cfg end - cmd 'show running-config | no-more | exclude Time:' do |cfg| + cmd 'show running-config | no-more | exclude ! Time:' do |cfg| cfg end -- cgit v1.2.1