This directory implements the plugin's NetBox UI behavior, including dashboard pages, endpoint CRUD views, sync actions, job integration, and status utilities.
__init__.py: top-level page views and re-exports for endpoint views, cluster views, dashboard pages, sync enqueue actions, status checks, settings/storage views, backup/snapshot/task views, and job integration helpers.backend_sync.py: shared helper that ensures a Proxmox endpoint is synchronized to proxbox-api before live reads.cards.py: dashboard card hydration for Proxmox cluster/version data.cluster.py: cluster storage summary tab and Proxmox cluster summary tab.cluster_nodes_tab.py: cluster/node tab for Proxmox endpoint detail pages.dashboard.py: operational cluster and node summary dashboard.home_context.py: home page context assembly and quick-schedule defaults.sync.py: POST endpoints that enqueueProxboxSyncJobruns for devices, storage, virtual machines, virtual disks, backups, snapshots, network interfaces, IP addresses, and full update.schedule_sync.py: recurring/one-shot scheduler UI and quick-schedule flow from the home dashboard.keepalive_status.py: health and reachability checks for FastAPI, remote NetBox, and Proxmox services.job_run.py,job_cancel.py, andjob_stream.py: integrate rerun/cancel actions and SSE log streaming into NetBox core Job views for Proxbox sync jobs.settings.py: plugin settings page for runtime feature toggles.storage.py: CRUD list/detail/delete views forProxmoxStorage.vm_backup.py: CRUD list/detail/delete views and the VirtualMachine tab forVMBackup.vm_snapshot.py: CRUD list/detail/delete views and the VirtualMachine tab forVMSnapshot.vm_task_history.py: detail and VirtualMachine tab views forVMTaskHistory.vm_config.py: live Proxmox config tab forVirtualMachinerecords.vm_sync_now.py: targeted per-VM sync action button handler.external_pages.py: redirect or informational external community pages.endpoints/: model views for the three endpoint models.
- Inbound:
urls.pyroutes here for all plugin UI behavior. - Outbound: plugin models, forms, tables, filtersets, templates,
requests, the external ProxBox FastAPI service, andwebsocket_client.py.
sync.py,schedule_sync.py,dashboard.py,home_context.py,job_run.py,job_cancel.py,job_stream.py,keepalive_status.py, andcards.pydefine most sync/user workflow behavior.HomeViewis the main dashboard entrypoint and assembles endpoint lists plus derived backend URLs for the templates.- Most changes to user-visible behavior land here first, then cascade into templates, static assets, and tests.
- When adding or changing sync actions, update
urls.py,sync.py, scheduling forms/views, template extensions, and relevant frontend/tests that assert button routes and job flow.
- Parent:
../CLAUDE.md - Child:
endpoints/CLAUDE.md