Correct port indexing of VSP 4K in L3::Passport
This commit is contained in:
@@ -8,6 +8,10 @@ version 3.28 (TBD)
|
|||||||
* Modified generic Layer3::Cisco class: use community based indexing if
|
* Modified generic Layer3::Cisco class: use community based indexing if
|
||||||
the device returns a value for vtpVersion
|
the device returns a value for vtpVersion
|
||||||
|
|
||||||
|
[BUG FIXES]
|
||||||
|
|
||||||
|
* Correct port indexing of VSP 4K in L3::Passport
|
||||||
|
|
||||||
version 3.27 (2015-05-05)
|
version 3.27 (2015-05-05)
|
||||||
|
|
||||||
[ENHANCEMENTS]
|
[ENHANCEMENTS]
|
||||||
|
|||||||
@@ -573,6 +573,9 @@ sub index_factor {
|
|||||||
# Older Accelar models use base 16 instead of 64
|
# Older Accelar models use base 16 instead of 64
|
||||||
$index_factor = 16
|
$index_factor = 16
|
||||||
if ( defined $model and $model =~ /^1[012][05]0/ );
|
if ( defined $model and $model =~ /^1[012][05]0/ );
|
||||||
|
# Newer VSP 4K uses 192?
|
||||||
|
$index_factor = 192
|
||||||
|
if ( defined $model and $model =~ /^VSP4/ );
|
||||||
return $index_factor;
|
return $index_factor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user