lib/oxidized/model/aireos.rb in oxidized-0.21.0 vs lib/oxidized/model/aireos.rb in oxidized-0.22.0
- old
+ new
@@ -1,19 +1,18 @@
class Aireos < Oxidized::Model
-
# AireOS (at least I think that is what it's called, hard to find data)
# Used in Cisco WLC 5500
- comment '# ' ## this complains too, can't find real comment char
+ comment '# ' # this complains too, can't find real comment char
prompt /^\([^\)]+\)\s>/
cmd :all do |cfg|
cfg.each_line.to_a[1..-2].join
end
- ##show sysinfo?
- ##show switchconfig?
+ # show sysinfo?
+ # show switchconfig?
cmd 'show udi' do |cfg|
cfg = comment clean cfg
cfg << "\n"
end
@@ -49,7 +48,6 @@
out << line.strip
end
out = out.join "\n"
out << "\n"
end
-
end