Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
8a1052f4
Commit
8a1052f4
authored
May 03, 2013
by
Mike Hibler
Browse files
Add the arista switch to those supported.
It appears to work correctly, at least the counts returned are plausible!
parent
db2ab066
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/snmpit_test/portstats.in
View file @
8a1052f4
#!/usr/bin/perl -T
#
# Copyright (c) 2000-201
2
University of Utah and the Flux Group.
# Copyright (c) 2000-201
3
University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
...
...
@@ -342,6 +342,11 @@ DEVICE: foreach my $name (keys %portMap) {
$device
=
new
snmpit_hp
(
$name
);
last
;
};
/arista/
&&
do
{
require
snmpit_arista
;
$device
=
new
snmpit_arista
(
$name
);
last
;
};
# 'default' case
warn
"
WARNING: Unknown switch type (
$type
) for
$name
, skipping some ports
\n
";
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment