From 8864e52042f20bb36f4d8f190cba0ab30f098828 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Wed, 2 Sep 2026 11:45:20 +0000 Subject: [PATCH] Generate vpn --- services/vpn/oas_commit | 2 +- services/vpn/src/stackit/vpn/models/bgp_filter_rule_match.py | 4 ++-- services/vpn/src/stackit/vpn/models/bgp_tunnel_config.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/services/vpn/oas_commit b/services/vpn/oas_commit index ec6f0b9d6..77bad3ba6 100644 --- a/services/vpn/oas_commit +++ b/services/vpn/oas_commit @@ -1 +1 @@ -b7d1b614138d667d378a5fd45e2a91539a7fb02e +7ef816d0b66577a45f96dc95258adf805ca5b005 diff --git a/services/vpn/src/stackit/vpn/models/bgp_filter_rule_match.py b/services/vpn/src/stackit/vpn/models/bgp_filter_rule_match.py index a23894d6f..1651dfa43 100644 --- a/services/vpn/src/stackit/vpn/models/bgp_filter_rule_match.py +++ b/services/vpn/src/stackit/vpn/models/bgp_filter_rule_match.py @@ -29,7 +29,7 @@ class BGPFilterRuleMatch(BaseModel): """ # noqa: E501 as_path_contains_any: Optional[ - Annotated[List[Annotated[int, Field(le=4294967294, strict=True, ge=64512)]], Field(max_length=10)] + Annotated[List[Annotated[int, Field(le=4294967294, strict=True, ge=1)]], Field(max_length=10)] ] = Field( default=None, description="Matches if the AS-PATH contains any one of the listed ASNs (logical OR within the list). Treated as an unordered set; ordering is not preserved by the storage layer. When combined with firstASN, both conditions must hold (logical AND, consistent with the rest of the match block). If firstASN is also listed here, its presence as the first hop is sufficient to satisfy this list; no duplicate hop is required. ", @@ -39,7 +39,7 @@ class BGPFilterRuleMatch(BaseModel): default=None, description="Matches if the route carries any one of these BGP standard communities (logical OR within the list). Format is 'asn:value' per RFC 1997 (both halves must fit in a uint32, i.e. 0..4294967295). Extended, large and well-known communities are not supported. ", ) - first_asn: Optional[Annotated[int, Field(le=4294967294, strict=True, ge=64512)]] = Field( + first_asn: Optional[Annotated[int, Field(le=4294967294, strict=True, ge=1)]] = Field( default=None, description="Matches if the first ASN (immediate neighbor) in the AS-PATH equals this ASN. Combines with asPathContainsAny using logical AND: when both are set, the first ASN must equal firstASN AND the path must additionally contain at least one ASN from asPathContainsAny. ", alias="firstASN", diff --git a/services/vpn/src/stackit/vpn/models/bgp_tunnel_config.py b/services/vpn/src/stackit/vpn/models/bgp_tunnel_config.py index 2e99ce04e..0b1d25b93 100644 --- a/services/vpn/src/stackit/vpn/models/bgp_tunnel_config.py +++ b/services/vpn/src/stackit/vpn/models/bgp_tunnel_config.py @@ -33,8 +33,8 @@ class BGPTunnelConfig(BaseModel): description="UUID of the BGPFilter to apply to incoming routes from this tunnel's BGP neighbor. The filter must exist in the same gateway. Multiple tunnels may reference the same BGPFilter; in that case the rules' 'match.peer' field can be used to scope behavior per neighbor. Outbound filtering is not yet supported; use gateway.bgp.overrideAdvertisedRoutes to control what is advertised. ", alias="inboundFilterId", ) - remote_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). ", + remote_asn: Annotated[int, Field(le=4294967294, strict=True, ge=1)] = Field( + description='Number of an Autonomous System. Both 16Bit and 32Bit ranges are supported, excluding values reserved by: * RFC 7607 (0) * RFC 6793 (23456, AS_TRANS) * RFC 7300 (65535 and 4294967295, the "Last ASNs") ', alias="remoteAsn", ) __properties: ClassVar[List[str]] = ["inboundFilterId", "remoteAsn"]