Skip to content

Commit df24550

Browse files
authored
[dev]: add eigrp value to protocol (#166)
* add eigrp value to protocol * fix: change source_vpn serialization alias typo
1 parent e680d2f commit df24550

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • catalystwan/models/configuration/feature_profile/sdwan/service/lan

catalystwan/models/configuration/feature_profile/sdwan/service/lan/vpn.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,23 +80,27 @@
8080
"connected",
8181
"bgp",
8282
"ospf",
83+
"eigrp", # 20.18+
8384
]
8485

8586
RedistributeToServiceProtocol = Literal[
8687
"bgp",
8788
"ospf",
89+
"eigrp", # 20.18+
8890
]
8991

9092
RouteLeakFromServiceProtocol = Literal[
9193
"static",
9294
"connected",
9395
"bgp",
9496
"ospf",
97+
"eigrp", # 20.18+
9598
]
9699

97100
RedistributeToGlobalProtocol = Literal[
98101
"bgp",
99102
"ospf",
103+
"eigrp", # 20.18+
100104
]
101105

102106

@@ -523,7 +527,7 @@ class RouteLeakFromService(BaseModel):
523527
class RouteLeakBetweenServices(BaseModel):
524528
model_config = ConfigDict(arbitrary_types_allowed=True, populate_by_name=True)
525529

526-
source_vpn: Union[Variable, Global[int]] = Field(serialization_alias="soureVpn", validation_alias="soureVpn")
530+
source_vpn: Union[Variable, Global[int]] = Field(serialization_alias="sourceVpn", validation_alias="sourceVpn")
527531
route_protocol: Union[Variable, Global[RouteLeakFromServiceProtocol]] = Field(
528532
serialization_alias="routeProtocol", validation_alias="routeProtocol"
529533
)

0 commit comments

Comments
 (0)