851ae7a77f
implemented a router structure
...
- keep things localized a bit more
- fixes import cycle
2024-03-21 16:56:24 -06:00
ffca8c3970
done migrating host module to libvirtxml
...
- need to add accessor methods
- eventually will move the VMList to the local guest module
2024-03-21 11:15:23 -06:00
99fcb2b360
more migrations done
2024-03-20 15:45:25 -06:00
3862e3d4e9
adding more libvirtxml migrations
2024-03-20 11:36:53 -06:00
de93204e3d
migrate data gathering to libvirtxml parsing
...
- instead of getting all the data the hard way, use libvirtxml
to parse the XML from libvirt
- this makes it more accurate, and more future proof when schema
changes occur
- add pcidb to query devices better
2024-03-19 15:25:57 -06:00
48bdc94351
merge barnch switch_to_templ
...
- Moved to templ for templating
- Started adding cluster statistics
2024-03-19 09:13:44 -06:00
6e0198de35
fixed list icons
...
- instead of trying to change their colors in css, i created new svgs based on the ones I wanted
2024-03-14 01:54:41 -06:00
c170739128
remove resized svgs. It was only the viewbox
2024-03-13 22:38:35 -06:00
fada05c56d
add icons for tailwind
...
- svg icons from heroicons.com
- add Type to String map for:
- StoragePoolState
- StorageVolType
- default icons are sized 24x24
- added 36x36, 48x48, 64x64
- adding styling to home.gohtml homepage
2024-03-13 22:21:01 -06:00
2419d5d3a6
add basic chi http server
...
- added air to reload the server on changes automatically
- added tailwindcss
- added base page structure in html using _index, _header and _footer
- added static homepage
- added style.css built by tailwindcss
- added basic View object to control views and templates
2024-03-13 19:12:48 -06:00
f96a911722
host will now load VM data
...
- All host node info is done using goroutines to speed up the process as much as possible
- The vast majority of data is stored at this point
- Need to work out refreshes, using either polling or events
2024-03-12 22:17:42 -06:00
899a80f2e5
make file naming consistent
2024-03-12 10:34:16 -06:00
bb9feaef44
properly stubbed each library so it will compile
2024-03-12 10:33:14 -06:00
1bfdaf28c7
Add file stubs, add comments to guide dev in host
...
Signed-off-by: Matthew Stobbs <matthew@stobbs.ca>
2024-03-12 01:38:29 -06:00
b5ab70fc25
getting host data before each vm on host data
...
- Hostdata is useful
2024-03-11 23:35:32 -06:00
00758af30b
Now pulling VM data from named VMs
...
- Next is to get the list and setting the information using go routines for each VM
2024-03-11 19:39:17 -06:00
5b16a75bdf
refactor from all in main to lib
...
- lib/guest is for managing, displaying, etc. virtual machines
- lib/host is the same for hosts
2024-03-11 12:48:14 -06:00
4ecf05bf82
Adding basic wrappers
...
- Wrapper for Host connection called Host
- Allows for easier usage of the API
- Wrapper for Domains called GuestVM, which pulls VM information and allows
other functionality in a better way
2024-03-10 20:32:11 -06:00
bab4f2506b
Added ability to check domains on host
...
super simple example to show it can work
2024-03-10 00:15:49 -07:00
9ce8b81e06
update README.md
...
- Discovered simplest method of quorum
- if the controller can't reach a host, it's down
2024-03-09 23:54:40 -07:00
user_name
6a6d0d2f21
Add git-lfs
...
Signed-off-by: user_name <user_email>
2024-03-09 23:24:29 -07:00
user_name
5731493f1d
Update README.md
...
Signed-off-by: user_name <user_email>
2024-03-09 23:18:31 -07:00
d7dffa395c
Already have a readme locally, so I'm removing this one in favour of that one
...
Signed-off-by: Matthew Stobbs <matthew@stobbs.ca>
2024-03-09 23:17:47 -07:00
254ff5bc4b
Initial commit
2024-03-09 23:17:16 -07:00