Class: JunOS

Inherits:
Oxidized::Model show all
Defined in:
lib/oxidized/model/junos.rb

Instance Attribute Summary

Attributes inherited from Oxidized::Model

#input, #node

Instance Method Summary collapse

Methods inherited from Oxidized::Model

cfg, #cfg, cfgs, cmd, #cmd, cmds, comment, #comment, expect, #expect, expects, #expects, #get, inherited, #output, post, pre, prompt, #prompt, #screenscrape, #send

Methods included from Oxidized::Config::Vars

#vars

Instance Method Details

#telnetObject



4
5
6
# File 'lib/oxidized/model/junos.rb', line 4

def telnet
  @input.class.to_s.match(/Telnet/)
end