Fixes #178: Set MED to 0 on Arista routes if none is specified

This commit is contained in:
thatmattlove 2021-12-08 17:14:59 -07:00
parent c8892f43ea
commit 7d41dbf4bf

View file

@ -73,7 +73,7 @@ class AristaRoutePath(_AristaBase):
"""Validation model for Arista bgpRoutePaths."""
as_path_entry: AristaAsPathEntry
med: int
med: int = 0
local_preference: int
weight: int
peer_entry: AristaPeerEntry