diff options
author | Saku Ytti <saku@ytti.fi> | 2014-08-06 13:50:38 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2014-08-06 13:50:38 +0300 |
commit | 91b7a0de8dfcabf70f777f97fe8045030ce3c5fc (patch) | |
tree | c025e514694c28459e1cb235e1818759296bd6c0 /lib/oxidized/model/junos.rb | |
parent | 658c824d76e916db8bc7369a70f5cb80bed2a023 (diff) |
small model changes
- ios show first line of 'show version'
- junos display omitted config
Diffstat (limited to 'lib/oxidized/model/junos.rb')
-rw-r--r-- | lib/oxidized/model/junos.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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+)/ |