Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion services/vpn/oas_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
91111d4871a604207235ce0835c7840677bda134
a06cb6347c39c30aa1f6e1a1e0a25805978b4fb0
3 changes: 1 addition & 2 deletions services/vpn/src/stackit/vpn/models/bgp_gateway_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class BGPGatewayConfig(BaseModel):
BGP configuration effects all connections. (only for routingMode=BGP_ROUTE_BASED)
""" # noqa: E501

local_asn: Optional[Annotated[int, Field(le=4294967294, strict=True, ge=64512)]] = Field(
default=None,
local_asn: Annotated[int, Field(le=4294967294, strict=True, ge=64512)] = Field(
description="ASN for private use (reserved by IANA), both 16Bit and 32Bit ranges are valid (RFC 6996). ",
alias="localAsn",
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,15 @@ class GatewayStatusResponse(BaseModel):
display_name: Optional[StrictStr] = Field(
default=None, description="Name of the Gateway instance.", alias="displayName"
)
error_message: Optional[StrictStr] = Field(
default=None,
description="A descriptive message provided when the gateway is in an error state.",
alias="errorMessage",
)
gateway_status: Optional[GatewayStatus] = Field(default=None, alias="gatewayStatus")
id: Optional[UUID] = Field(default=None, description="UUID of the Gateway instance.")
tunnels: Optional[List[VPNTunnels]] = None
__properties: ClassVar[List[str]] = ["connections", "displayName", "gatewayStatus", "id", "tunnels"]
__properties: ClassVar[List[str]] = ["connections", "displayName", "errorMessage", "gatewayStatus", "id", "tunnels"]

model_config = ConfigDict(
validate_by_name=True,
Expand Down Expand Up @@ -111,6 +116,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
else None
),
"displayName": obj.get("displayName"),
"errorMessage": obj.get("errorMessage"),
"gatewayStatus": obj.get("gatewayStatus"),
"id": obj.get("id"),
"tunnels": (
Expand Down
Loading