Commit 78446f03 authored by Weibin Sun's avatar Weibin Sun Committed by Robert Ricci

Fix 'deamon' typo; use snmpit_arista in snmpit_stack.

parent 3804280c
......@@ -21,7 +21,7 @@ LIB_STUFF = snmpit_intel.pm \
snmpit_cisco_stack.pm snmpit_intel_stack.pm \
snmpit_foundry.pm snmpit_stack.pm snmpit_remote.pm \
snmpit_nortel.pm snmpit_hp.pm snmpit_apcon.pm \
snmpit_arista.pm snmpit_arista_switch_deamon.py
snmpit_arista.pm snmpit_arista_switch_deamon.py
#
# Force dependencies on the scripts so that they will be rerun through
......
......@@ -7,7 +7,7 @@
#
#
# Deamon server running on Arista switch side for snmpit_arista.
# Daemon server running on Arista switch side for snmpit_arista.
#
import PyClient
......
......@@ -1594,6 +1594,12 @@ sub snap($) {
$device = new snmpit_apcon($devicename,$self->{DEBUG});
last;
}; # /apcon.*/
(/arista/)
&& do {
require snmpit_arista;
$device = new snmpit_arista($devicename, $self->{DEBUG});
last;
}; # /arista.*/
print "Device $devicename is not of a known type\n";
}
if (!$device) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment