FastAPI backend for managing hypervisor virtual machines, containers, users, networks, etc.
This is NOT a finished project, it is highly experimental and unreliable! Do NOT use this in a production environment!
To run this project, you will need to add the following environment variables to your .env file
HYPERVISOR
HYPERVISOR_URL
(without the trailing slash /
)
HYPERVISOR_AUTH
HYPERVISOR_TOKEN
Hypervisors use different forms of authentication, but for Proxmox HYPERVISOR_AUTH
is holds the ticket while HYPERVISOR_TOKEN
holds the CSRF Prevention Token More details
To deploy this project run
uvicorn main:ironsight_api --reload
- getVMList() -> get_vms()
- getLabList()
- getTemplateList()
- getNewsList()
- getDocCount()
- getCPUUsage() -> get_nodes()
- getNetworkUsage() -> get_Nodes()
- getMemoryUsage() -> get_nodes()
- getMetrics() -> get_nodes()
- getDiskUsage() -> get_nodes()
- getVMCPUUsage() -> get_vm_by_id()/get_vm_by_name()
- getVMMemoryUsage() -> get_vm_by_id()/get_vm_by_name()
- getVMNetworkPacketsReceived() -> get_vm_by_id()/get_vm_by_name()
- getVMNetworkPacketsSent() -> get_vm_by_id()/get_vm_by_name()
- getNumVMsOn()
- getNumVMs()
- getVMsOn()
- getLabOverview()
- getCourseList()
- getTags()
- getUsersList()
- getRoles()
- getPermissions()
- getHarvesterVMList()
- getActivityLog()
- getBashHistory()
- getRunningProcesses()
- getFileMonitoring()
- handleEvent() (Seek alternative)
- postActivityLog()
- powerOnVM()
- authenticate()
Contributions are always welcome!