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 @@
62ead01f35546dd1edddf1c7dc9f7ef5e7d1b739
75b504fd557f38dfc6417930d507d1c93490237b
10 changes: 10 additions & 0 deletions services/vpn/src/stackit/vpn/models/phase2_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ class Phase2Status(BaseModel):
description="The negotiated integrity algorithm or pseudo-random-function.",
alias="integrityAlgorithm",
)
local_ts: Optional[List[StrictStr]] = Field(
default=None, description="List of negotiated local traffic selectors.", alias="localTS"
)
packets_in: Optional[StrictStr] = Field(
default=None,
description="The total number of packets received through this IPsec Security Association.",
Expand All @@ -65,6 +68,9 @@ class Phase2Status(BaseModel):
default=None,
description="The security protocol used for the tunnel, typically `ESP` (Encapsulating Security Payload).",
)
remote_ts: Optional[List[StrictStr]] = Field(
default=None, description="List of negotiated remote traffic selectors.", alias="remoteTS"
)
state: Optional[StrictStr] = None
__properties: ClassVar[List[str]] = [
"bytesIn",
Expand All @@ -73,9 +79,11 @@ class Phase2Status(BaseModel):
"encap",
"encryptionAlgorithm",
"integrityAlgorithm",
"localTS",
"packetsIn",
"packetsOut",
"protocol",
"remoteTS",
"state",
]

Expand Down Expand Up @@ -135,9 +143,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"encap": obj.get("encap"),
"encryptionAlgorithm": obj.get("encryptionAlgorithm"),
"integrityAlgorithm": obj.get("integrityAlgorithm"),
"localTS": obj.get("localTS"),
"packetsIn": obj.get("packetsIn"),
"packetsOut": obj.get("packetsOut"),
"protocol": obj.get("protocol"),
"remoteTS": obj.get("remoteTS"),
"state": obj.get("state"),
}
)
Expand Down
Loading