Commit c3020d8c authored by Leigh Stoller's avatar Leigh Stoller

Critical bug fix; set proper paths to new location of the snmpit

libraries (snmpit_test subdir). I suppose we should really commit
to the new test version of snmpit.
(cherry picked from commit 4128acbb)
parent 2db5664f
#!/usr/bin/perl -w #!/usr/bin/perl -w
# #
# EMULAB-COPYRIGHT # EMULAB-COPYRIGHT
# Copyright (c) 2000-2010 University of Utah and the Flux Group. # Copyright (c) 2000-2012 University of Utah and the Flux Group.
# All rights reserved. # All rights reserved.
# #
use English; use English;
...@@ -47,6 +47,9 @@ use libdb; ...@@ -47,6 +47,9 @@ use libdb;
use libtestbed; use libtestbed;
use Experiment; use Experiment;
use User; use User;
# Optional alternate version of libraries.
use lib '@prefix@/lib/snmpit_test';
use snmpit_lib; use snmpit_lib;
# The set of OIDs we care about # The set of OIDs we care about
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# #
# EMULAB-COPYRIGHT # EMULAB-COPYRIGHT
# Copyright (c) 2003-2010 University of Utah and the Flux Group. # Copyright (c) 2003-2012 University of Utah and the Flux Group.
# All rights reserved. # All rights reserved.
# #
...@@ -26,15 +26,17 @@ ...@@ -26,15 +26,17 @@
use lib '@prefix@/lib'; use lib '@prefix@/lib';
use libdb; use libdb;
use libxmlrpc; use libxmlrpc;
use SNMP;
use Getopt::Long;
use strict;
# Optional alternate version of libraries.
use lib '@prefix@/lib/snmpit_test';
use snmpit_lib; use snmpit_lib;
use snmpit_cisco; use snmpit_cisco;
use snmpit_foundry; use snmpit_foundry;
use snmpit_nortel; use snmpit_nortel;
use snmpit_hp; use snmpit_hp;
use SNMP;
use Getopt::Long;
use strict;
my $MASTER_COMMUNITY = "@SNMP_RW_COMMUNITY@"; my $MASTER_COMMUNITY = "@SNMP_RW_COMMUNITY@";
my $ELABINELAB = @ELABINELAB@; my $ELABINELAB = @ELABINELAB@;
......
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