Jeff Carr
3f7171fff2
make an event for droplet moving hypervisors
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-28 05:07:56 -05:00
Jeff Carr
8fc2fbd9c9
track droplets reported from each hypervisor
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-27 11:02:50 -05:00
Jeff Carr
d38865a6cf
maybe fix duplicates? this isn't really safe probably
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-27 08:10:19 -05:00
Jeff Carr
7288595efc
start spice/vnc ports at 5900 and skip 6000
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-27 07:06:12 -05:00
Jeff Carr
212b582060
sets unique spice port and saves config files
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-27 04:53:39 -05:00
Jeff Carr
d948581300
add /dumpdroplets
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-27 03:17:34 -05:00
Jeff Carr
71f83d4000
prepare to validate spice ports
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-27 02:55:08 -05:00
Jeff Carr
d0767eb984
validate stuff should be here
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-27 02:29:45 -05:00
Jeff Carr
5d1729f99b
more cleanups
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 21:13:25 -05:00
Jeff Carr
cec509ae7f
doesn't deal with libvirtxml directly anymore
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 20:53:52 -05:00
Jeff Carr
3c1efcba0e
start worked by sending protobuf
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 20:09:59 -05:00
Jeff Carr
7837182d53
more http options
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 13:05:05 -05:00
Jeff Carr
2e8281d067
virtigod doing xml now
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 12:32:17 -05:00
Jeff Carr
6d5c5c6072
more moved into virtigoxml
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 11:05:58 -05:00
Jeff Carr
419ae0ad5f
validate moved into virtigoxml. maybe a bad name?
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 10:16:56 -05:00
Jeff Carr
34b6891507
move this into a common package?
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 10:11:39 -05:00
Jeff Carr
a50f387b96
more common code. it might work again. would be nice
...
to have a kuma check, but no. I fucking deleted it. and
of course with no backup or memory of where I mapped it to. kuma needs
an undelete! or an event log of changes to kuma. ironic since all it
does is track changes in state but it doesn't track it's own changes
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 09:38:02 -05:00
Jeff Carr
161bfe395e
works again. I fucking deleted the kuma check
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 09:33:31 -05:00
Jeff Carr
b4518e8b82
compiles and lists hypervisors
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 08:54:28 -05:00
Jeff Carr
9020957ee7
new config files
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 07:28:19 -05:00
Jeff Carr
0dc393896c
still works
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 05:17:51 -05:00
Jeff Carr
11f0cd97b5
using lib/virtigoxml and it seems to actually work
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 04:36:38 -05:00
Jeff Carr
fd3e14bcc6
start works with lib/virtigoxml
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 04:25:50 -05:00
Jeff Carr
30884aff3b
seperate tap and bridge group add network functions
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 02:42:12 -05:00
Jeff Carr
f42091a2ce
network is maybe correct as virtio. pci needed?
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 02:31:52 -05:00
Jeff Carr
7320fceb8d
finds disks and puts dirs in the protobuf cluster
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 01:02:09 -05:00
Jeff Carr
61b954ecca
no longer need these for debugging
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 22:09:21 -05:00
Jeff Carr
0fd0283372
generate XML by droplet hostname
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 22:07:28 -05:00
Jeff Carr
3893ac7e3d
--xml-ignore-disk=true works
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 20:09:41 -05:00
Jeff Carr
b35c04414a
checking for duplicate filenames works
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 20:05:04 -05:00
Jeff Carr
030af1bcfb
check for duplicate disk names
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 19:16:44 -05:00
Jeff Carr
a5eee861ea
print out change events
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 17:35:29 -05:00
Jeff Carr
9b94785cd2
start date works on events
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 17:01:30 -05:00
Jeff Carr
4d43c36db5
more xml checks
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 16:40:05 -05:00
Jeff Carr
15f48a01ab
pretty good XML handling at this point
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 16:08:55 -05:00
Jeff Carr
cf79357bba
dumb nil panic
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 15:56:40 -05:00
Jeff Carr
b6dd67b73d
fails on imports with duplicate mac addrs
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 15:46:49 -05:00
Jeff Carr
7cc0bd9b2c
show droplet total count
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 15:27:10 -05:00
Jeff Carr
8dc0bf6fac
better mac addr checking
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 15:18:37 -05:00
Jeff Carr
89a43a46bf
dump out xml for networks that don't parse
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 15:10:12 -05:00
Jeff Carr
9451e162a0
ignore bridge name changes by default
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 15:01:16 -05:00
Jeff Carr
7af7c876e4
ignore 'custom' cpu settings from XML
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 14:52:28 -05:00
Jeff Carr
fbd0d35660
ignores empty structs
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 14:38:52 -05:00
Jeff Carr
34edf97565
NLP matrix algebra found 'reflect value.IsNil()'
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 14:05:40 -05:00
Jeff Carr
03eec14619
try writing out events
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 07:24:41 -05:00
Jeff Carr
da2a24c549
return network changes
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 07:06:22 -05:00
Jeff Carr
a3cffbf1c0
todo: need to generate mac addrs
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 07:01:06 -05:00
Jeff Carr
9528d4c0fb
more xml fixes
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 06:41:22 -05:00
Jeff Carr
a4c54d6483
better network checking
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 05:35:02 -05:00
Jeff Carr
178974e42f
cleaner xml processing
...
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 05:04:52 -05:00