From 90f604e9d5f1c7f46e64dc19921cfcdd4b190845 Mon Sep 17 00:00:00 2001 From: Jakub Krajewski Date: Wed, 4 Dec 2024 13:05:16 +0100 Subject: [PATCH] Every version has snake case in group_id --- .../feature_profile/sdwan/service/lan/ethernet.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/catalystwan/models/configuration/feature_profile/sdwan/service/lan/ethernet.py b/catalystwan/models/configuration/feature_profile/sdwan/service/lan/ethernet.py index de91257a..52335f21 100644 --- a/catalystwan/models/configuration/feature_profile/sdwan/service/lan/ethernet.py +++ b/catalystwan/models/configuration/feature_profile/sdwan/service/lan/ethernet.py @@ -103,10 +103,7 @@ class VrrpIPv6(BaseModel): class VrrpIPv4(BaseModel): model_config = ConfigDict(arbitrary_types_allowed=True, populate_by_name=True, extra="forbid") - group_id: Annotated[ - Union[Variable, Global[int]], - VersionedField(versions="<=20.12", serialization_alias="group_id"), - ] = Field(serialization_alias="groupId", validation_alias=AliasChoices("groupId", "group_id")) + group_id: Union[Variable, Global[int]] priority: Union[Variable, Global[int], Default[int]] = Default[int](value=100) timer: Union[Variable, Global[int], Default[int]] = Default[int](value=1000) track_omp: Union[Global[bool], Default[bool]] = Field(