#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

@@ -33,6 +33,7 @@ use strict;
use warnings;
use Exporter;
use SNMP::Info::IEEE802dot3ad;
use SNMP::Info::Aggregate 'agg_ports_ifstack';
@SNMP::Info::CiscoAgg::ISA = qw/
SNMP::Info::IEEE802dot3ad
@@ -137,7 +138,12 @@ sub agg_ports_lag {
# combine PAgP, LAG & Cisco proprietary data
sub agg_ports {
my $ret = {%{agg_ports_pagp(@_)}, %{agg_ports_lag(@_)}, %{agg_ports_cisco(@_)}};
my $ret = {
%{agg_ports_ifstack(@_)},
%{agg_ports_pagp(@_)},
%{agg_ports_lag(@_)},
%{agg_ports_cisco(@_)},
};
return $ret;
}