From 5bc22bf576e83068baeab99dc6dadc978f60a696 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Wed, 23 Sep 2026 08:21:31 +0000 Subject: [PATCH 1/2] Generate vpn --- services/vpn/oas_commit | 2 +- .../vpn/src/stackit/vpn/models/tunnel_configuration_phase1.py | 2 +- .../vpn/src/stackit/vpn/models/tunnel_configuration_phase2.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/services/vpn/oas_commit b/services/vpn/oas_commit index 35b7f4140..27148dc5b 100644 --- a/services/vpn/oas_commit +++ b/services/vpn/oas_commit @@ -1 +1 @@ -7e7c0c6d141ef436fa9dee1e9724936562b7d6da +62ead01f35546dd1edddf1c7dc9f7ef5e7d1b739 diff --git a/services/vpn/src/stackit/vpn/models/tunnel_configuration_phase1.py b/services/vpn/src/stackit/vpn/models/tunnel_configuration_phase1.py index 0ba6d3ecf..839bf6d5c 100644 --- a/services/vpn/src/stackit/vpn/models/tunnel_configuration_phase1.py +++ b/services/vpn/src/stackit/vpn/models/tunnel_configuration_phase1.py @@ -37,7 +37,7 @@ class TunnelConfigurationPhase1(BaseModel): description="Supported integrity algorithms. SHA1 is deprecated and will be removed on 2026-12-31. ", alias="integrityAlgorithms", ) - rekey_time: Optional[Annotated[int, Field(le=28800, strict=True, ge=900)]] = Field( + rekey_time: Optional[Annotated[int, Field(le=86400, strict=True, ge=900)]] = Field( default=14400, description="Time to schedule a IKE re-keying (in seconds).", alias="rekeyTime" ) __properties: ClassVar[List[str]] = ["dhGroups", "encryptionAlgorithms", "integrityAlgorithms", "rekeyTime"] diff --git a/services/vpn/src/stackit/vpn/models/tunnel_configuration_phase2.py b/services/vpn/src/stackit/vpn/models/tunnel_configuration_phase2.py index 9c27c96f7..1dbdffba2 100644 --- a/services/vpn/src/stackit/vpn/models/tunnel_configuration_phase2.py +++ b/services/vpn/src/stackit/vpn/models/tunnel_configuration_phase2.py @@ -42,7 +42,7 @@ class TunnelConfigurationPhase2(BaseModel): description='Action to perform for this CHILD_SA on DPD timeout. "clear": Closes the CHILD_SA and does not take further action. "restart": immediately tries to re-negotiate the CILD_SA under a fresh IKE_SA. ', alias="dpdAction", ) - rekey_time: Optional[Annotated[int, Field(le=3600, strict=True, ge=900)]] = Field( + rekey_time: Optional[Annotated[int, Field(le=14400, strict=True, ge=900)]] = Field( default=3600, description="Time to schedule a Child SA re-keying (in seconds).", alias="rekeyTime" ) start_action: Optional[StrictStr] = Field( From 00c628a2aac66927e1c3ac6aff9e486f46f1c345 Mon Sep 17 00:00:00 2001 From: Jonas Schlecht Date: Wed, 23 Sep 2026 10:39:04 +0200 Subject: [PATCH 2/2] chore: add changelogs --- CHANGELOG.md | 3 +++ services/vpn/CHANGELOG.md | 4 ++++ services/vpn/pyproject.toml | 2 +- services/vpn/uv.lock | 2 +- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ec4c90d30..7c058b053 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,9 @@ - [v0.6.0](services/telemetryrouter/CHANGELOG.md#v060) - **Feature:** Add `disabled` field to `ConfigFilter` to allow disabling a filter without removing it - `vpn`: + - [v0.7.3](services/vpn/CHANGELOG.md#v073) + - **Improvement:** Relax maximum `rekey_time` validation to `86400` (previously `28800`) in `TunnelConfigurationPhase1` + - **Improvement:** Relax maximum `rekey_time` validation to `14400` (previously `3600`) in `TunnelConfigurationPhase2` - [v0.7.2](services/vpn/CHANGELOG.md#v072) - **Breaking Change:** `predefined_network_prefix` attribute in `NetworkConfig` model class changed type from `Optional[List[str]]` to `Optional[str]` to match actual API behavior - **Improvement:** Relax minimum ASN validation to `1` (previously `64512`) for `as_path_contains_any` and `first_asn` in `BGPFilterRuleMatch` and `remote_asn` in `BGPTunnelConfig` diff --git a/services/vpn/CHANGELOG.md b/services/vpn/CHANGELOG.md index bff803954..25571b910 100644 --- a/services/vpn/CHANGELOG.md +++ b/services/vpn/CHANGELOG.md @@ -1,3 +1,7 @@ +## v0.7.3 +- **Improvement:** Relax maximum `rekey_time` validation to `86400` (previously `28800`) in `TunnelConfigurationPhase1` +- **Improvement:** Relax maximum `rekey_time` validation to `14400` (previously `3600`) in `TunnelConfigurationPhase2` + ## v0.7.2 - **Breaking Change:** `predefined_network_prefix` attribute in `NetworkConfig` model class changed type from `Optional[List[str]]` to `Optional[str]` to match actual API behavior - **Improvement:** Relax minimum ASN validation to `1` (previously `64512`) for `as_path_contains_any` and `first_asn` in `BGPFilterRuleMatch` and `remote_asn` in `BGPTunnelConfig` diff --git a/services/vpn/pyproject.toml b/services/vpn/pyproject.toml index 08ddb4e4a..fe15f41b9 100644 --- a/services/vpn/pyproject.toml +++ b/services/vpn/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "stackit-vpn" -version = "v0.7.2" +version = "v0.7.3" description = "STACKIT VPN API" authors = [{name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud"}] requires-python = ">=3.10,<4.0" diff --git a/services/vpn/uv.lock b/services/vpn/uv.lock index 3ec91c739..037ee6c06 100644 --- a/services/vpn/uv.lock +++ b/services/vpn/uv.lock @@ -1057,7 +1057,7 @@ dev = [ [[package]] name = "stackit-vpn" -version = "0.7.2" +version = "0.7.3" source = { editable = "." } dependencies = [ { name = "pydantic" },