Class: Sloe::Device
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
Instance Method Summary collapse
-
#initialize(args, &block) ⇒ Device
constructor
Sloe::Device object for generic Netconf device.
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 |