Skip to content

Commit

Permalink
added errDisabledCnt to interfaces summarize
Browse files Browse the repository at this point in the history
Signed-off-by: AndryNick98 <[email protected]>
  • Loading branch information
AndryNick98 committed May 26, 2023
1 parent fe92eec commit ac158cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions suzieq/engines/pandas/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ def summarize(self, **kwargs) -> pd.DataFrame:
('ifDownCnt', 'state != "up" and adminState == "up"', 'ifname'),
('ifAdminDownCnt', 'adminState != "up"', 'ifname'),
('ifWithMultipleIPCnt', 'ipAddressList.str.len() > 1', 'ifname'),
('errDisabledCnt', 'state == "errDisabled" and adminState == "up"',
'ifname')
]

self._summarize_on_add_list_or_count = [
Expand Down

0 comments on commit ac158cc

Please sign in to comment.