Skip to content

Commit

Permalink
Merge pull request #450 from open-traffic-generator/lag_bgp_metrics
Browse files Browse the repository at this point in the history
update protocol metrics to get stats on LAG interface
  • Loading branch information
ANISH-GOTTAPU authored Sep 17, 2021
2 parents 3fc1895 + 51c6616 commit 873662f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions snappi_ixnetwork/protocolmetrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ def _port_names_from_devices(self):
config = self._api.snappi_config
if len(self.device_names) == 0:
port_list = [p.name for p in config.ports]
lag_list = [lag.name for lag in config.lags]
port_list = port_list + lag_list
return port_list
port_list = [
d.container_name
Expand Down

0 comments on commit 873662f

Please sign in to comment.