Commit Graph

26 Commits

Author SHA1 Message Date
0383b7e276
switching from LP to credits 2025-06-30 23:02:23 +03:00
e0561875d8
switch license to Apache2.0
- switch LICENSe file from GPLv2 to Apache-2.0
- add SPDX HEADER to all files
2025-06-14 03:37:06 +03:00
8e0bca9dd8
remove VM hostname from the responsabilities 2025-03-21 22:28:09 +02:00
4e6277aed7
my friends advised me to add this if 2025-03-10 02:15:43 +02:00
3cca48680b
fix overflow on disk sub 2025-03-07 03:02:55 +02:00
8e8e1d1a99
importing new proto file 2025-02-16 23:41:55 +02:00
f74d2887fb
fix QEMU bug that does not odd numbers for memory 2025-01-27 02:56:14 +02:00
56f88aad3f
refactored the vm update process 2025-01-25 16:44:20 +02:00
1a4cec421b
added payments for VM creation 2025-01-24 23:55:26 +02:00
1e893b49c0
replace very confusing code with idiomatic rust 2025-01-18 16:13:38 +02:00
abf09e8d26
modified code based on new snp proto 2025-01-18 04:00:32 +02:00
2a6c5d5e25 Initial update_vm functionality to be merged (#3)
Now measurement args gets passed as an argument for both newvm and updatevm responses
VM type now gets converted with the help of an intermediary function, reducing code duplication
Updated proto file accordingly

After merging, the whole code base still needs a major refactoring, error handling and a lot more checks to make sure daemon behaves as intended.

Co-authored-by: Ramil_Algayev <pro.remred@gmail.com>
Reviewed-on: SNP/daemon#3
Co-authored-by: ramrem <ralgayev@detee.ltd>
Co-committed-by: ramrem <ralgayev@detee.ltd>
2025-01-09 22:30:07 +00:00
3c6074f735 connected daemon to the brain (#2)
Instead of grabbing commands from files, the daemon now connects to the brain and receives commands via gRPC.

Reviewed-on: SNP/daemon#2
2024-12-30 20:45:01 +00:00
3ba140a830 enable kernel/dtrfs upgrade (#1)
Co-authored-by: Ramil_Algayev <pro.remred@gmail.com>
Reviewed-on: SNP/daemon#1
2024-12-21 20:10:57 +00:00
b85feef0ab
added multiple new capabilities for daemon
- systemctl integration (reload, start, stop, enable, disable)
- update vm capability
- delete vm capability
- save resources to disk
- save VMs to disk
- load commands from folders (new vm, update vm, delete vm)
- fixed port forwarding
2024-12-14 16:59:38 +02:00
82273f63e5
VM works on SNP server 2024-12-13 03:10:03 +02:00
98459d27ca
prepared prod server config 2024-12-12 22:38:50 +02:00
df34fc719c
writing files correctly 2024-12-12 02:48:18 +02:00
d4c5cc2634
correctly assigning and storing IPs and interfaces 2024-12-12 02:08:53 +02:00
64a84c48be
added new vm requests 2024-12-11 20:56:03 +02:00
b0cf13ddfb
switch ports to port pairs 2024-12-11 04:17:57 +02:00
3109edc085
create new VM from tcontract 2024-12-10 00:23:07 +02:00
57801c725d
added mechanic to get random ports 2024-12-09 15:44:29 +02:00
b905c96261
added logic to reserve ips 2024-12-09 01:47:37 +02:00
edbaebfc56
added VM state handling for disk and nics 2024-12-08 03:47:35 +02:00
ba5bfdd66e
first push 2024-12-06 01:30:57 +02:00