class Sloe::Device

Class for working with generic Netconf (i.e. a device that does not support vendor specific extension)

Public Class Methods

new(args, &block) click to toggle source

Sloe::Device object for generic Netconf device

Calls superclass method Sloe::Common::new
# File lib/sloe/device.rb, line 9
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