From 495c8fd3bd3e549ce5133b0c6cffe7a7dd2a90ae Mon Sep 17 00:00:00 2001 From: Ben Cardy Date: Wed, 17 Feb 2016 11:29:32 +0000 Subject: Added support for "show virtual-chassis" output on Junos EX and QFX switches --- lib/oxidized/model/junos.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/oxidized/model') 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 -- cgit v1.2.1