Add support for propMultiplexor as ifType.

3Com/H3C switches use this type for Link Aggegation without LACP.
This commit is contained in:
Max Kosmach
2016-02-19 18:46:49 +03:00
parent 8426620572
commit 6f4a4a91cf

View File

@@ -61,7 +61,7 @@ sub agg_ports_ifstack {
foreach my $idx ( keys %$ifStack ) {
my ( $higher, $lower ) = split /\./, $idx;
next if ( $higher == 0 or $lower == 0 );
if ( $ifType->{ $higher } eq 'ieee8023adLag' ) {
if ( $ifType->{ $higher } eq 'ieee8023adLag' or $ifType->{ $higher } eq 'propMultiplexor') {
$ret->{ $lower } = $higher;
}
}