feat(cloud): report planner transport status
This commit is contained in:
@@ -240,6 +240,7 @@ def create_cloud_router(
|
||||
host_id=h.host_id,
|
||||
address=h.address,
|
||||
last_seen_at=h.last_seen_at.isoformat() if h.last_seen_at else "",
|
||||
planner_transport=h.planner_transport,
|
||||
)
|
||||
for h in pool.list_hosts()
|
||||
]
|
||||
|
||||
@@ -86,6 +86,7 @@ class HostResponse(BaseModel):
|
||||
host_id: str
|
||||
address: str | None = None
|
||||
last_seen_at: str
|
||||
planner_transport: Literal["direct", "cloud"] = "direct"
|
||||
|
||||
|
||||
class PluginRegistrationRequest(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user