Sha256: 8d5412916f617023124e83c4224332e73672b6152c04d2a56f9ab41cd6abff88
Contents?: true
Size: 310 Bytes
Versions: 1
Compression:
Stored size: 310 Bytes
Contents
require 'net/netconf/jnpr' require 'sloe/common' module Sloe class Junos < Sloe::Common def initialize(args, &block) super( args, &block ) end def cli(cmd_str, attrs = { :format => 'text' }) attrs[:format] ||= 'text' self.rpc.command(cmd_str, attrs).text end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sloe-0.5.3 | lib/sloe/junos.rb |