How 1catai/1catdl works
1CatDL combines a self-service Gaudi2 rental platform with a separate hardware-status dashboard. The rental workflow runs from customer registration and instance selection through account-backed resource allocation, VM operation, and usage billing; administrators also manage balances, recharge codes, and accounts. The dashboard presents Gaudi telemetry and live fabric data through its own API proxies. README capabilities inform the map where excerpts do not show implementation details; those uncertain internal call links are omitted.
Main entry points: server.py HTTP service · app/page.tsx Gaudi dashboard · rental/page.tsx Rental page · rental-panel.tsx Rental workspace
Components 18
Rental interface
- Rental workspace
gaudi-status-panel/components/rental/rental-panel.tsx - Rental page
gaudi-status-panel/app/rental/page.tsx
Rental services
- HTTP service
rental-platform/server.py - Accounts and scheduler
rental-platform/core.py - SQLite ledger
rental-platform/core.py - Recharge codes
rental-platform/recharge_codes.py
Compute and storage
- Local VM backend
rental-platform/backend.py - Node backend
rental-platform/remote_backend.py - Node executor
rental-platform/node_agent.py - Public shared storage
rental-platform/shared_storage.py - Host export
rental-platform/shared-storage/host-export.py
Gaudi status dashboard
- Gaudi dashboard
gaudi-status-panel/app/page.tsx - Status proxy
gaudi-status-panel/app/api/status/route.ts - Stream proxy
gaudi-status-panel/app/api/stream/route.ts
Other components
- Customer
- Administrator
- Node hypervisor
- Telemetry collector
Connections 17
- Customer → Rental page: opens workspace
- Administrator → Rental page: opens admin view
- Rental page → Rental workspace: renders
- Rental workspace → HTTP service: sends requests
- HTTP service → Accounts and scheduler: authenticates and schedules
- Accounts and scheduler → SQLite ledger: reads and writes
- HTTP service → Local VM backend: operates local VMs
- HTTP service → Node backend: selects node backend
- Node backend → Node executor: dispatches commands
- Node executor → Node hypervisor: operates guests
- HTTP service → Public shared storage: validates shared storage
- Host export → Public shared storage: validates host export
- Customer → Gaudi dashboard: views telemetry
- Gaudi dashboard → Status proxy: fetches status
- Status proxy → Telemetry collector: proxies status request
- Gaudi dashboard → Stream proxy: opens live stream
- Stream proxy → Telemetry collector: proxies event stream