1
0
Fork 1
mirror of https://github.com/thatmattlove/hyperglass.git synced 2026-01-17 00:38:06 +00:00

Fix: allow integer values in extCommunityListRaw field for Arista BGP parsing

This commit is contained in:
cooperwinser 2024-12-09 11:53:19 +11:00
parent 0b2fbb1b4d
commit 2ed949a7a4

View file

@ -2,6 +2,7 @@
# Standard Library
import typing as t
from typing import Union
from datetime import datetime
# Third Party
@ -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] = []