Sha256: 3c6e6eabe8faeab71e2ee7014c5ac388f0814a0fa80ddcf1007f3ac662ff25a6
Contents?: true
Size: 418 Bytes
Versions: 5
Compression:
Stored size: 418 Bytes
Contents
# Supporting Cisco Catalyst Express Switches and IOS using the basic web interface class CiscoCE < Oxidized::Model using Refinements cmd "/level/15/exec/-/show/startup-config" do |cfg| output = cfg.gsub(/\A.+<DL>(.+)<\/DL>.+\z/m, '\1') # Strip configuration file from within HTML response. output end cfg :http do @username = @node.auth[:username] @password = @node.auth[:password] end end
Version data entries
5 entries across 5 versions & 1 rubygems