Commit Graph

49 Commits

Author SHA1 Message Date
a8871a7223
Switch license to https://unlicense.org/ 2025-08-27 23:38:46 +03:00
0ff4db99f0
change uuid to vm_id and app_id 2025-07-20 20:37:27 +03:00
40db6710b4
enable multiple offers per daemon 2025-07-07 17:57:45 +03:00
0931744328
allow dtrfs upgrade 2025-07-04 04:49:57 +03:00
bdf5bf947e
switching from LP to credits 2025-07-02 03:42:04 +03:00
44e560fcc0
switch to new staging brain 2025-06-20 02:29:05 +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
dea42c13e8
Add GPLv2 license 2025-06-04 23:30:12 +03:00
82c4653a1c
new proto file that support app dir upload 2025-04-21 18:39:00 +03:00
1380fa537b
change name of the testnet brain to match cert 2025-03-29 22:17:09 +02:00
56c846e1fd
added support for self signed TLS certificates 2025-03-28 19:30:21 +02:00
8e0bca9dd8
remove VM hostname from the responsabilities 2025-03-21 22:28:09 +02:00
f3c43e3ad3
update detee-shared reorganize proto imports 2025-03-19 00:02:32 +05:30
ad0c284467
organized snp proto through shared crate 2025-03-17 20:40:31 +05:30
75b25ab7d3
remove examples that got moved to CLI and docs 2025-03-15 18:10:38 +02:00
76e832a3f6
allow inbound ARP for VMs 2025-03-12 20:16:04 +02:00
4e6277aed7
my friends advised me to add this if 2025-03-10 02:15:43 +02:00
4689ab82c7
forward both TCP and UDP ports 2025-03-09 04:26:23 +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
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
d8488476c5
changing regex from extended to perl 2025-01-11 23:03:31 +02:00
65126fcdac Add NFT isolation for macvtap (#5)
Solves SNP/daemon#4

Reviewed-on: SNP/daemon#5
2025-01-10 19:19:04 +00: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
a8347f633d
added prod config for vm with public IPs 2024-12-12 23:44:30 +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
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