#484 add Aggregate::agg_ports_ifstack to CiscoAgg::agg_ports

This commit is contained in:
Oliver Gorwits
2023-07-14 17:57:37 +01:00
parent ba721cf9fb
commit a71be6e4c2
3 changed files with 16 additions and 3 deletions

View File

@@ -63,7 +63,9 @@ 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' or $ifType->{ $higher } eq 'propMultiplexor') {
if ( $ifType->{ $higher } eq 'ieee8023adLag'
or $ifType->{ $higher } eq 'propMultiplexor'
or $ifType->{ $higher } eq 'propVirtual' ) {
$ret->{ $lower } = $higher;
}
}