diff options
author | Ben Cardy <ben.cardy@ocado.com> | 2016-02-17 11:29:32 +0000 |
---|---|---|
committer | Ben Cardy <ben.cardy@ocado.com> | 2016-02-17 11:29:32 +0000 |
commit | 495c8fd3bd3e549ce5133b0c6cffe7a7dd2a90ae (patch) | |
tree | 17c635f2dde1021aa1e2e36328353fcfd74f72b7 /lib/oxidized/model | |
parent | 2a997a6e21c3583d8cc0182d736b4fad638df7b7 (diff) |
Added support for "show virtual-chassis" output on Junos EX and QFX switches
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r-- | lib/oxidized/model/junos.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/oxidized/model/junos.rb b/lib/oxidized/model/junos.rb index bb56481..bdd9bed 100644 --- a/lib/oxidized/model/junos.rb +++ b/lib/oxidized/model/junos.rb @@ -30,6 +30,8 @@ class JunOS < Oxidized::Model case @model when 'mx960' out << cmd('show chassis fabric reachability') { |cfg| comment cfg } + when /^(ex22|ex33|ex4|ex8|qfx)/ + out << cmd('show virtual-chassis') { |cfg| comment cfg } end out end |