Commit 272aedb1 authored by Kirk Webb's avatar Kirk Webb

Add Comware switch type to portstats command.

parent d6342b86
......@@ -368,6 +368,11 @@ DEVICE: foreach my $name (keys %portMap) {
$device = new snmpit_force10($name);
last;
};
/comware/ && do {
require snmpit_h3c;
$device = new snmpit_h3c($name);
last;
};
# 'default' case
warn "WARNING: Unknown switch type ($type) for $name, skipping some ports\n";
......
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