From 91b7a0de8dfcabf70f777f97fe8045030ce3c5fc Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Wed, 6 Aug 2014 13:50:38 +0300 Subject: small model changes - ios show first line of 'show version' - junos display omitted config --- lib/oxidized/model/junos.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/oxidized/model/junos.rb') diff --git a/lib/oxidized/model/junos.rb b/lib/oxidized/model/junos.rb index 06d627f..70f0956 100644 --- a/lib/oxidized/model/junos.rb +++ b/lib/oxidized/model/junos.rb @@ -18,7 +18,7 @@ class JunOS < Oxidized::Model cfg end - cmd 'show configuration' + cmd 'show configuration | display omit' cmd 'show version' do |cfg| @model = $1 if cfg.match /^Model: (\S+)/ -- cgit v1.2.1