Commit Graph

24 Commits

Author SHA1 Message Date
2c5cb74292
switching from LP to credits 2025-06-24 03:55:24 +03:00
d6a8f14124
Improves brain connection reliability
Updates the brain connection logic to randomly select from a list of available URLs for staging and testnet environments.
2025-06-20 02:29:05 +03:00
217ab03164
new brain proto and new staging address 2025-06-20 02:29:01 +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
56c846e1fd
added support for self signed TLS certificates 2025-03-28 19:30:21 +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
76c88810a6
rename structs so that they say "VM" 2025-02-09 00:30:01 +02:00
0ed21fdf98
added auth 2025-02-04 04:07:06 +02:00
1a4cec421b
added payments for VM creation 2025-01-24 23:55:26 +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
Ramil_Algayev
80e899dd37 fixed panicking code on main:50 2024-12-19 12:22:53 +04: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
ec962197ff
yaml configs for daemon 2024-12-11 20:13:17 +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