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