Remove "Switch" from model name in L3::Foundry
This commit is contained in:
@@ -8,6 +8,10 @@ version 3.09 ()
|
|||||||
L3::IBMGbTor
|
L3::IBMGbTor
|
||||||
* [] set_i_untagged combines both set_i_vlan and set_i_pvid in one method
|
* [] set_i_untagged combines both set_i_vlan and set_i_pvid in one method
|
||||||
|
|
||||||
|
[ENHANCEMENTS]
|
||||||
|
|
||||||
|
* Remove "Switch" from model name in L3::Foundry
|
||||||
|
|
||||||
[BUG FIXES]
|
[BUG FIXES]
|
||||||
|
|
||||||
* Modify _xos_i_vlan_membership() in L3::Extreme to only include tagged
|
* Modify _xos_i_vlan_membership() in L3::Extreme to only include tagged
|
||||||
|
|||||||
@@ -163,6 +163,7 @@ sub model {
|
|||||||
return $id unless defined $model;
|
return $id unless defined $model;
|
||||||
|
|
||||||
$model =~ s/^sn//;
|
$model =~ s/^sn//;
|
||||||
|
$model =~ s/Switch//;
|
||||||
|
|
||||||
return $model;
|
return $model;
|
||||||
}
|
}
|
||||||
@@ -866,7 +867,8 @@ These are methods that return scalar value from SNMP
|
|||||||
=item $foundry->model()
|
=item $foundry->model()
|
||||||
|
|
||||||
Returns model type. Checks $foundry->id() against the F<FOUNDRY-SN-ROOT-MIB>
|
Returns model type. Checks $foundry->id() against the F<FOUNDRY-SN-ROOT-MIB>
|
||||||
and removes 'C<sn>'. EdgeIron models determined through F<ENTITY-MIB>.
|
and removes 'C<sn>' and 'C<Switch>'. EdgeIron models determined
|
||||||
|
through F<ENTITY-MIB>.
|
||||||
|
|
||||||
=item $foundry->vendor()
|
=item $foundry->vendor()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user