Commit Graph

149 Commits

Author SHA1 Message Date
Jeff Carr 4a58352ec2 dump more code to virtigoxml
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-31 06:43:14 -05:00
Jeff Carr e6ea90f8de compiles after lots of protobuf changes
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-31 06:41:30 -05:00
Jeff Carr 22111183a5 make a simple .deb package
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-30 20:31:14 -05:00
Jeff Carr 41673f3170 reject start and create early if grid unstable
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-30 19:38:12 -05:00
Jeff Carr eacf3b8bef events is now c.E
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-30 18:09:54 -05:00
Jeff Carr bf52632cb7 force filenames to match hostnames
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-30 13:17:04 -05:00
Jeff Carr 2a18f506c7 simple unique mac
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-30 12:30:34 -05:00
Jeff Carr 410015c33e more work on create() droplet
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-30 12:16:08 -05:00
Jeff Carr c8a69bdb73 code and debugging cleanups
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-29 22:55:28 -05:00
Jeff Carr 9d08114b93 code reorg
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-29 09:02:15 -05:00
Jeff Carr 8724a07b0d function to dump all droplets
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-29 09:00:40 -05:00
Jeff Carr c26699571d ready to release a debian package?
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-28 11:44:53 -05:00
Jeff Carr 42d54a418d quit with configSave()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-28 08:08:27 -05:00
Jeff Carr c12d3a2dbb continuing work on tracking droplet state
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-28 08:06:14 -05:00
Jeff Carr de5f5c6a85 grid stable might be working
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-28 07:02:42 -05:00
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