stackit-vpn 0.5.0__tar.gz → 0.7.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/PKG-INFO +4 -5
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/pyproject.toml +7 -7
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/__init__.py +39 -6
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/api/default_api.py +3358 -363
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/api_client.py +5 -6
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/api_response.py +0 -1
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/configuration.py +5 -6
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/exceptions.py +5 -5
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/__init__.py +24 -5
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/api_error.py +5 -5
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/api_error_detail.py +12 -8
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/api_error_response.py +5 -5
- stackit_vpn-0.7.0/src/stackit/vpn/models/bgp_filter.py +103 -0
- stackit_vpn-0.7.0/src/stackit/vpn/models/bgp_filter_list.py +99 -0
- stackit_vpn-0.7.0/src/stackit/vpn/models/bgp_filter_rule.py +119 -0
- stackit_vpn-0.7.0/src/stackit/vpn/models/bgp_filter_rule_list.py +97 -0
- stackit_vpn-0.7.0/src/stackit/vpn/models/bgp_filter_rule_match.py +147 -0
- stackit_vpn-0.7.0/src/stackit/vpn/models/bgp_filter_rule_set.py +86 -0
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/bgp_gateway_config.py +6 -6
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/bgp_status.py +5 -5
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/bgp_status_peers.py +5 -5
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/bgp_status_routes.py +5 -5
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/bgp_tunnel_config.py +18 -7
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/connection_list.py +5 -5
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/connection_response.py +5 -5
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/connection_status_response.py +5 -5
- stackit_vpn-0.7.0/src/stackit/vpn/models/create_gateway_bgp_filter_payload.py +103 -0
- stackit_vpn-0.7.0/src/stackit/vpn/models/create_gateway_bgp_filter_rule_payload.py +119 -0
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/create_gateway_connection_payload.py +5 -5
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/create_gateway_payload.py +22 -6
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/create_gateway_payload_availability_zones.py +5 -5
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/gateway.py +22 -6
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/gateway_list.py +5 -5
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/gateway_response.py +14 -5
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/gateway_status.py +5 -5
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/gateway_status_response.py +5 -5
- stackit_vpn-0.7.0/src/stackit/vpn/models/network_config.py +92 -0
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/peering_config.py +6 -6
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/phase.py +11 -8
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/phase1_status.py +5 -5
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/phase2_status.py +5 -5
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/plan.py +5 -5
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/plan_list.py +5 -5
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/quota.py +5 -5
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/quota_list.py +5 -5
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/quota_list_response.py +5 -5
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/region.py +5 -5
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/routing_type.py +5 -5
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/tunnel_configuration.py +6 -6
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/tunnel_configuration_phase1.py +11 -8
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/tunnel_configuration_phase2.py +11 -8
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/tunnel_status.py +5 -5
- stackit_vpn-0.7.0/src/stackit/vpn/models/update_gateway_bgp_filter_payload.py +103 -0
- stackit_vpn-0.7.0/src/stackit/vpn/models/update_gateway_bgp_filter_rule_payload.py +119 -0
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/update_gateway_connection_payload.py +5 -5
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/update_gateway_payload.py +22 -6
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/models/vpn_tunnels.py +5 -5
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/rest.py +5 -6
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/.gitignore +0 -0
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/LICENSE.md +0 -0
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/NOTICE.txt +0 -0
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/README.md +0 -0
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/api/__init__.py +0 -0
- {stackit_vpn-0.5.0 → stackit_vpn-0.7.0}/src/stackit/vpn/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: stackit-vpn
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0
|
|
4
4
|
Summary: STACKIT VPN API
|
|
5
5
|
Project-URL: Homepage, https://github.com/stackitcloud/stackit-sdk-python
|
|
6
6
|
Project-URL: Issues, https://github.com/stackitcloud/stackit-sdk-python/issues
|
|
@@ -10,16 +10,15 @@ License-File: NOTICE.txt
|
|
|
10
10
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
11
11
|
Classifier: Operating System :: OS Independent
|
|
12
12
|
Classifier: Programming Language :: Python :: 3
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.10
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.11
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.13
|
|
18
17
|
Classifier: Programming Language :: Python :: 3.14
|
|
19
|
-
Requires-Python: <4.0,>=3.
|
|
18
|
+
Requires-Python: <4.0,>=3.10
|
|
20
19
|
Requires-Dist: pydantic>=2.9.2
|
|
21
20
|
Requires-Dist: python-dateutil>=2.9.0.post0
|
|
22
|
-
Requires-Dist: requests>=2.
|
|
21
|
+
Requires-Dist: requests>=2.33.0
|
|
23
22
|
Requires-Dist: stackit-core>=0.0.1a
|
|
24
23
|
Description-Content-Type: text/markdown
|
|
25
24
|
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "stackit-vpn"
|
|
3
|
-
version = "v0.
|
|
3
|
+
version = "v0.7.0"
|
|
4
4
|
description = "STACKIT VPN API"
|
|
5
5
|
authors = [{name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud"}]
|
|
6
|
-
requires-python = ">=3.
|
|
6
|
+
requires-python = ">=3.10,<4.0"
|
|
7
7
|
readme = "README.md"
|
|
8
8
|
classifiers = [
|
|
9
9
|
"Programming Language :: Python :: 3",
|
|
10
10
|
"License :: OSI Approved :: Apache Software License",
|
|
11
11
|
"Operating System :: OS Independent",
|
|
12
|
-
"Programming Language :: Python :: 3.9",
|
|
13
12
|
"Programming Language :: Python :: 3.10",
|
|
14
13
|
"Programming Language :: Python :: 3.11",
|
|
15
14
|
"Programming Language :: Python :: 3.12",
|
|
@@ -18,7 +17,7 @@ classifiers = [
|
|
|
18
17
|
]
|
|
19
18
|
dependencies = [
|
|
20
19
|
"stackit-core>=0.0.1a",
|
|
21
|
-
"requests>=2.
|
|
20
|
+
"requests>=2.33.0",
|
|
22
21
|
"pydantic>=2.9.2",
|
|
23
22
|
"python-dateutil>=2.9.0.post0",
|
|
24
23
|
]
|
|
@@ -29,8 +28,8 @@ Issues = "https://github.com/stackitcloud/stackit-sdk-python/issues"
|
|
|
29
28
|
|
|
30
29
|
[dependency-groups]
|
|
31
30
|
dev = [
|
|
32
|
-
"black>=
|
|
33
|
-
"pytest>=
|
|
31
|
+
"black>=26.3.1",
|
|
32
|
+
"pytest>=9.1.1",
|
|
34
33
|
"flake8>=5.0.3 ; python_full_version < '3.12'",
|
|
35
34
|
"flake8>=6.0.1 ; python_full_version >= '3.12'",
|
|
36
35
|
"flake8-black>=0.3.6",
|
|
@@ -102,7 +101,8 @@ show-source = false
|
|
|
102
101
|
max-line-length = 120
|
|
103
102
|
# E203,W503 and E704 are incompatible with the formatter black
|
|
104
103
|
# W291 needs to be disabled because some doc-strings get generated with trailing whitespace but black won't re-format comments
|
|
105
|
-
|
|
104
|
+
# fixing B042 in upstream exceptions.mustache would be a breaking change
|
|
105
|
+
ignore = ["E203", "W503", "E704", "W291", "B042"]
|
|
106
106
|
inline-quotes = '"'
|
|
107
107
|
docstring-quotes = '"""'
|
|
108
108
|
multiline-quotes = '"""'
|
|
@@ -3,17 +3,16 @@
|
|
|
3
3
|
# flake8: noqa
|
|
4
4
|
|
|
5
5
|
"""
|
|
6
|
-
|
|
6
|
+
STACKIT VPN API
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Provision and manage STACKIT VPN gateways. Use this API to establish secure, encrypted IPsec tunnels between your STACKIT Network Area (SNA) and external networks. The service supports the following routing architectures: - Policy-based IPsec - Static route-based IPsec - Dynamic BGP IPsec
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
The version of the OpenAPI document: 1
|
|
11
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Do not edit the class manually.
|
|
14
14
|
""" # noqa: E501
|
|
15
15
|
|
|
16
|
-
|
|
17
16
|
__version__ = "1.0.0"
|
|
18
17
|
|
|
19
18
|
# Define package exports
|
|
@@ -31,6 +30,12 @@ __all__ = [
|
|
|
31
30
|
"APIError",
|
|
32
31
|
"APIErrorDetail",
|
|
33
32
|
"APIErrorResponse",
|
|
33
|
+
"BGPFilter",
|
|
34
|
+
"BGPFilterList",
|
|
35
|
+
"BGPFilterRule",
|
|
36
|
+
"BGPFilterRuleList",
|
|
37
|
+
"BGPFilterRuleMatch",
|
|
38
|
+
"BGPFilterRuleSet",
|
|
34
39
|
"BGPGatewayConfig",
|
|
35
40
|
"BGPStatus",
|
|
36
41
|
"BGPStatusPeers",
|
|
@@ -39,6 +44,8 @@ __all__ = [
|
|
|
39
44
|
"ConnectionList",
|
|
40
45
|
"ConnectionResponse",
|
|
41
46
|
"ConnectionStatusResponse",
|
|
47
|
+
"CreateGatewayBGPFilterPayload",
|
|
48
|
+
"CreateGatewayBGPFilterRulePayload",
|
|
42
49
|
"CreateGatewayConnectionPayload",
|
|
43
50
|
"CreateGatewayPayload",
|
|
44
51
|
"CreateGatewayPayloadAvailabilityZones",
|
|
@@ -47,6 +54,7 @@ __all__ = [
|
|
|
47
54
|
"GatewayResponse",
|
|
48
55
|
"GatewayStatus",
|
|
49
56
|
"GatewayStatusResponse",
|
|
57
|
+
"NetworkConfig",
|
|
50
58
|
"PeeringConfig",
|
|
51
59
|
"Phase",
|
|
52
60
|
"Phase1Status",
|
|
@@ -62,6 +70,8 @@ __all__ = [
|
|
|
62
70
|
"TunnelConfigurationPhase1",
|
|
63
71
|
"TunnelConfigurationPhase2",
|
|
64
72
|
"TunnelStatus",
|
|
73
|
+
"UpdateGatewayBGPFilterPayload",
|
|
74
|
+
"UpdateGatewayBGPFilterRulePayload",
|
|
65
75
|
"UpdateGatewayConnectionPayload",
|
|
66
76
|
"UpdateGatewayPayload",
|
|
67
77
|
"VPNTunnels",
|
|
@@ -85,6 +95,16 @@ from stackit.vpn.exceptions import OpenApiException as OpenApiException
|
|
|
85
95
|
from stackit.vpn.models.api_error import APIError as APIError
|
|
86
96
|
from stackit.vpn.models.api_error_detail import APIErrorDetail as APIErrorDetail
|
|
87
97
|
from stackit.vpn.models.api_error_response import APIErrorResponse as APIErrorResponse
|
|
98
|
+
from stackit.vpn.models.bgp_filter import BGPFilter as BGPFilter
|
|
99
|
+
from stackit.vpn.models.bgp_filter_list import BGPFilterList as BGPFilterList
|
|
100
|
+
from stackit.vpn.models.bgp_filter_rule import BGPFilterRule as BGPFilterRule
|
|
101
|
+
from stackit.vpn.models.bgp_filter_rule_list import (
|
|
102
|
+
BGPFilterRuleList as BGPFilterRuleList,
|
|
103
|
+
)
|
|
104
|
+
from stackit.vpn.models.bgp_filter_rule_match import (
|
|
105
|
+
BGPFilterRuleMatch as BGPFilterRuleMatch,
|
|
106
|
+
)
|
|
107
|
+
from stackit.vpn.models.bgp_filter_rule_set import BGPFilterRuleSet as BGPFilterRuleSet
|
|
88
108
|
from stackit.vpn.models.bgp_gateway_config import BGPGatewayConfig as BGPGatewayConfig
|
|
89
109
|
from stackit.vpn.models.bgp_status import BGPStatus as BGPStatus
|
|
90
110
|
from stackit.vpn.models.bgp_status_peers import BGPStatusPeers as BGPStatusPeers
|
|
@@ -97,6 +117,12 @@ from stackit.vpn.models.connection_response import (
|
|
|
97
117
|
from stackit.vpn.models.connection_status_response import (
|
|
98
118
|
ConnectionStatusResponse as ConnectionStatusResponse,
|
|
99
119
|
)
|
|
120
|
+
from stackit.vpn.models.create_gateway_bgp_filter_payload import (
|
|
121
|
+
CreateGatewayBGPFilterPayload as CreateGatewayBGPFilterPayload,
|
|
122
|
+
)
|
|
123
|
+
from stackit.vpn.models.create_gateway_bgp_filter_rule_payload import (
|
|
124
|
+
CreateGatewayBGPFilterRulePayload as CreateGatewayBGPFilterRulePayload,
|
|
125
|
+
)
|
|
100
126
|
from stackit.vpn.models.create_gateway_connection_payload import (
|
|
101
127
|
CreateGatewayConnectionPayload as CreateGatewayConnectionPayload,
|
|
102
128
|
)
|
|
@@ -113,6 +139,7 @@ from stackit.vpn.models.gateway_status import GatewayStatus as GatewayStatus
|
|
|
113
139
|
from stackit.vpn.models.gateway_status_response import (
|
|
114
140
|
GatewayStatusResponse as GatewayStatusResponse,
|
|
115
141
|
)
|
|
142
|
+
from stackit.vpn.models.network_config import NetworkConfig as NetworkConfig
|
|
116
143
|
from stackit.vpn.models.peering_config import PeeringConfig as PeeringConfig
|
|
117
144
|
from stackit.vpn.models.phase import Phase as Phase
|
|
118
145
|
from stackit.vpn.models.phase1_status import Phase1Status as Phase1Status
|
|
@@ -136,6 +163,12 @@ from stackit.vpn.models.tunnel_configuration_phase2 import (
|
|
|
136
163
|
TunnelConfigurationPhase2 as TunnelConfigurationPhase2,
|
|
137
164
|
)
|
|
138
165
|
from stackit.vpn.models.tunnel_status import TunnelStatus as TunnelStatus
|
|
166
|
+
from stackit.vpn.models.update_gateway_bgp_filter_payload import (
|
|
167
|
+
UpdateGatewayBGPFilterPayload as UpdateGatewayBGPFilterPayload,
|
|
168
|
+
)
|
|
169
|
+
from stackit.vpn.models.update_gateway_bgp_filter_rule_payload import (
|
|
170
|
+
UpdateGatewayBGPFilterRulePayload as UpdateGatewayBGPFilterRulePayload,
|
|
171
|
+
)
|
|
139
172
|
from stackit.vpn.models.update_gateway_connection_payload import (
|
|
140
173
|
UpdateGatewayConnectionPayload as UpdateGatewayConnectionPayload,
|
|
141
174
|
)
|