lib/sloe/device.rb in sloe-0.5.4 vs lib/sloe/device.rb in sloe-0.6.0
- old
+ new
@@ -1,10 +1,12 @@
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