Skip to content

Commit

Permalink
Fix: allow integer values in extCommunityListRaw field for Arista BGP…
Browse files Browse the repository at this point in the history
… parsing
  • Loading branch information
cooperwinser committed Dec 9, 2024
1 parent 0b2fbb1 commit 2ed949a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hyperglass/models/parsing/arista_eos.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# Standard Library
import typing as t
from typing import Union
from datetime import datetime

# Third Party
Expand Down Expand Up @@ -64,7 +65,7 @@ class AristaRouteDetail(_AristaBase):

origin: str
label_stack: t.List = []
ext_community_list: t.List[str] = []
ext_community_list_raw: t.List[Union[str, int]] = []
ext_community_list_raw: t.List[str] = []
community_list: t.List[str] = []
large_community_list: t.List[str] = []
Expand Down

0 comments on commit 2ed949a

Please sign in to comment.