Commit 223fff16 authored by Robert Ricci's avatar Robert Ricci

Intel support is now fully functional. This mostly invovled making the

snmpit_intel module conform to the same API as snmpit_cisco.

Intels VLANs are now done per port rather than per MAC. This should give
experimenters more flexibility on the experimental net, and is more consistent
with the way that VLANs are done on other switches.

snmpit_intel_stack will need to undergo minor work to support stacks of
multiple switches.
parent c27dcd5e
This diff is collapsed.
......@@ -125,7 +125,7 @@ sub vlanExists($$) {
my $self = shift;
my $vlan_id = shift;
if ($self->{LEADER}->findVlan($vlan_id)) {
if ($self->{LEADER}->findVlan($vlan_id,1)) {
return 1;
} else {
return 0;
......@@ -147,6 +147,7 @@ sub removeVlan($$) {
return 0;
}
$errors += $self->{LEADER}->removePortsFromVlan($vlan_id);
my $ok = $self->{LEADER}->removeVlan($vlan_id);
return ($ok && ($errors == 0));
......
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