Top Level Namespace

Defined Under Namespace

Modules: Gen_switch_graph, SNMP, YML Classes: Arp, Configuration, Dot, Neato, Port, Switch

Instance Method Summary (collapse)

Instance Method Details

- (Object) self_test(switches)

Debugging check to see if we loaded the switches correctly

Parameters:

  • switches (Switch)

    The switches we loaded from the conf file, and just did SNMP queries on



11
12
13
14
15
16
# File 'run.rb', line 11

def self_test(switches)
  #Visual test to see if we loaded data correctly.
  switches.each do |s|
    pp s
  end
end