Skip to content

Commit babb4e8

Browse files
Generate vpn
1 parent 2b94af1 commit babb4e8

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

‎services/vpn/oas_commit‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
62ead01f35546dd1edddf1c7dc9f7ef5e7d1b739
1+
ce85c358fa92fa2943b3914b05bf1d2059d1d9b6

‎services/vpn/src/stackit/vpn/models/phase2_status.py‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ class Phase2Status(BaseModel):
5151
description="The negotiated integrity algorithm or pseudo-random-function.",
5252
alias="integrityAlgorithm",
5353
)
54+
local_ts: Optional[List[StrictStr]] = Field(
55+
default=None, description="List of negotiated local traffic selectors.", alias="localTS"
56+
)
5457
packets_in: Optional[StrictStr] = Field(
5558
default=None,
5659
description="The total number of packets received through this IPsec Security Association.",
@@ -65,6 +68,9 @@ class Phase2Status(BaseModel):
6568
default=None,
6669
description="The security protocol used for the tunnel, typically `ESP` (Encapsulating Security Payload).",
6770
)
71+
remote_ts: Optional[List[StrictStr]] = Field(
72+
default=None, description="List of negotiated remote traffic selectors.", alias="remoteTS"
73+
)
6874
state: Optional[StrictStr] = None
6975
__properties: ClassVar[List[str]] = [
7076
"bytesIn",
@@ -73,9 +79,11 @@ class Phase2Status(BaseModel):
7379
"encap",
7480
"encryptionAlgorithm",
7581
"integrityAlgorithm",
82+
"localTS",
7683
"packetsIn",
7784
"packetsOut",
7885
"protocol",
86+
"remoteTS",
7987
"state",
8088
]
8189

@@ -135,9 +143,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
135143
"encap": obj.get("encap"),
136144
"encryptionAlgorithm": obj.get("encryptionAlgorithm"),
137145
"integrityAlgorithm": obj.get("integrityAlgorithm"),
146+
"localTS": obj.get("localTS"),
138147
"packetsIn": obj.get("packetsIn"),
139148
"packetsOut": obj.get("packetsOut"),
140149
"protocol": obj.get("protocol"),
150+
"remoteTS": obj.get("remoteTS"),
141151
"state": obj.get("state"),
142152
}
143153
)

0 commit comments

Comments
 (0)