Class: Sloe::Device

Inherits:
Common
  • Object
show all
Defined in:
lib/sloe/device.rb

Overview

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

Instance Attribute Summary

Attributes inherited from Common

#logging, #snmp

Instance Method Summary collapse

Constructor Details

#initialize(args, &block) ⇒ Device

Sloe::Device object for generic Netconf device



9
10
11
12
13
14
15
# 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