Commit 5f798989 authored by Leigh Stoller's avatar Leigh Stoller

First working version of netscout module. Gonna need more testing and I

expect that there will be timeout issues, the netscouts seem to hang up
on a regular basis for 30 seconds or more.
parent 02e9653b
This diff is collapsed.
#!/usr/bin/perl -w
#
# Copyright (c) 2000-2015 University of Utah and the Flux Group.
# Copyright (c) 2000-2015, 2018 University of Utah and the Flux Group.
# Copyright (c) 2004-2009 Regents, University of California.
#
# {{{EMULAB-LGPL
......@@ -1687,6 +1687,12 @@ sub snap($) {
$device = new snmpit_h3c($devicename,$self->{DEBUG});
last;
}; # /comware.*/
(/netscout/)
&& do {
require snmpit_netscout;
$device = new snmpit_netscout($devicename,$self->{DEBUG});
last;
}; # /comware.*/
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