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
c7768ad04c6cf3a6fffee98596d5e90a1bfe5891
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
2 changes: 1 addition & 1 deletion services/vpn/src/stackit/vpn/models/routing_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

class RoutingType(str, Enum):
"""
RoutingType
Once the gateway is created, it is not possible to change this attribute.
"""

"""
Expand Down
Loading