Sha256: c9387cbb19a637385ea42c551bc55822c64f12ff3fd0af450578b7a5231ff396

Contents?: true

Size: 384 Bytes

Versions: 2

Compression:

Stored size: 384 Bytes

Contents

require 'sloe/version'
require 'net/netconf'
require 'net/scp'
require 'snmp'


module Sloe
	class Device < Netconf::SSH

		attr_reader :snmp

	  def initialize(args)
	    super(args)
	    self.open

	    @snmp_args = {:host => args[:target], :mib_dir => args[:mib_dir], :mib_modules => args[:mib_modules]}
      @snmp = SNMP::Manager.new(@snmp_args)
	    
      self
	  end
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sloe-0.3.1 lib/sloe.rb
sloe-0.3.0 lib/sloe.rb