summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/junos.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model/junos.rb')
-rw-r--r--lib/oxidized/model/junos.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/oxidized/model/junos.rb b/lib/oxidized/model/junos.rb
index 4bca998..5b3d11b 100644
--- a/lib/oxidized/model/junos.rb
+++ b/lib/oxidized/model/junos.rb
@@ -20,10 +20,12 @@ class JunOS < Oxidized::Model
end
post do
+ out = ''
case @model
when 'mx960'
- cmd('show chassis fabric reachability') { |cfg| comment cfg }
+ out << cmd('show chassis fabric reachability') { |cfg| comment cfg }
end
+ out
end
cmd 'show chassis hardware' do |cfg|