summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Cardy <ben.cardy@ocado.com>2016-02-17 11:29:32 +0000
committerBen Cardy <ben.cardy@ocado.com>2016-02-17 11:29:32 +0000
commit495c8fd3bd3e549ce5133b0c6cffe7a7dd2a90ae (patch)
tree17c635f2dde1021aa1e2e36328353fcfd74f72b7
parent2a997a6e21c3583d8cc0182d736b4fad638df7b7 (diff)
Added support for "show virtual-chassis" output on Junos EX and QFX switches
-rw-r--r--lib/oxidized/model/junos.rb2
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