Sha256: fc76084d238737669353f730d4af90fc9c905059173089b7b4606515c4163621

Contents?: true

Size: 459 Bytes

Versions: 12

Compression:

Stored size: 459 Bytes

Contents

require 'net/netconf'
require 'sloe/common'

module Sloe
  # Class for working with generic Netconf (i.e. a device that does not support vendor specific extension)
  class Device < Sloe::Common

    # Sloe::Device object for generic Netconf device
    def initialize(args, &block)

      # Stop netconf gem from defaulting to :Junos and thus 
      # not loading :Junos extensions
      args[:os_type] = :Netconf
      super( args, &block )
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
sloe-0.8.9 lib/sloe/device.rb
sloe-0.8.7 lib/sloe/device.rb
sloe-0.8.6 lib/sloe/device.rb
sloe-0.8.5 lib/sloe/device.rb
sloe-0.8.4 lib/sloe/device.rb
sloe-0.8.3 lib/sloe/device.rb
sloe-0.8.2 lib/sloe/device.rb
sloe-0.8.1 lib/sloe/device.rb
sloe-0.8.0 lib/sloe/device.rb
sloe-0.7.2 lib/sloe/device.rb
sloe-0.7.0 lib/sloe/device.rb
sloe-0.6.0 lib/sloe/device.rb