diff options
author | ytti <saku@ytti.fi> | 2016-02-17 13:33:52 +0200 |
---|---|---|
committer | ytti <saku@ytti.fi> | 2016-02-17 13:33:52 +0200 |
commit | 8bb72c7f7a0051472ad4b09401023d2e0b39f111 (patch) | |
tree | 17c635f2dde1021aa1e2e36328353fcfd74f72b7 | |
parent | 2a997a6e21c3583d8cc0182d736b4fad638df7b7 (diff) | |
parent | 495c8fd3bd3e549ce5133b0c6cffe7a7dd2a90ae (diff) |
Merge pull request #316 from benbacardi/junos-virtual-chassis
Added support for "show virtual-chassis" output on Junos EX and QFX
-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 |