feat(flr): make FLR session lifecycle visible and reapable (#3)

This commit was merged in pull request #3.
This commit is contained in:
2026-09-21 13:43:05 -04:00
parent 108e919dcb
commit 59d1f71617
7 changed files with 288 additions and 18 deletions
+4
View File
@@ -231,6 +231,10 @@ class ZertoClient:
status_code=last.status_code if last else None,
)
async def list_flrs(self) -> Any:
"""GET /v1/flrs. Every FLR session the ZVM currently knows about."""
return await self.json("GET", "/v1/flrs")
async def end_flr(self, session_id: str) -> None:
try:
await self.json("DELETE", f"/v1/flrs/{session_id}")