Commit Graph

37 Commits

Author SHA1 Message Date
cc027d2cc1
pass message from daemon to CLI 2025-03-06 17:22:32 +02:00
64b65d7ecd
don't delete VMs if node is offline for < 1day 2025-02-28 00:37:34 +02:00
02be48fd96
add support for operators 2025-02-17 17:51:34 +02:00
5c213f2eb4
small refactoring on var names and impls 2025-02-12 02:12:56 +02:00
df805ea291
add admin key 2025-02-11 21:03:05 +05:30
c98db7f8c3
rename structs so that they say "VM" 2025-02-09 00:14:32 +02:00
64f892c174
added admin functionality 2025-02-06 15:16:00 +02:00
5359ba039b
added auth 2025-02-04 03:09:53 +02:00
7dfdf4844e
switch language from tokens to LP 2025-01-28 18:31:30 +02:00
928c68f550
reduce the price of memory 2025-01-28 15:32:33 +02:00
9fa62a1978
inform daemon about VMs deleted by cron 2025-01-27 17:45:28 +02:00
f0f5edac00
send vm update error to user v0.1.0 2025-01-25 17:13:19 +02:00
aaa9226df6
refactored the vm update process 2025-01-25 16:12:46 +02:00
302c4eafc7
added payments for VM creation 2025-01-25 00:48:31 +02:00
c9a7ec9f68
modified proto based on feadback form the team 2025-01-18 03:24:52 +02:00
0e85165240 update functionality for the brain (#2)
These changes have been done:
measurement args are a separate argument which get passed from daemon
revamped updatevm and newvm resp functions, specially how args.dtrfs_api_endpoint gets handled
updating now returns error from brain if it cant find the contract
proto has been updated accordingly

Co-authored-by: Ramil_Algayev <pro.remred@gmail.com>
Co-authored-by: ghe0 <gheorghe@gheo.tech>
Reviewed-on: #2
Co-authored-by: ramrem <ralgayev@detee.ltd>
Co-committed-by: ramrem <ralgayev@detee.ltd>
2025-01-09 22:29:56 +00:00
3ab668c4b1
fixed bug where daemon could not list contracts 2024-12-30 21:14:38 +02:00
3b62e4d2bd
allow to get contract by uuid 2024-12-30 04:49:08 +02:00
ac2012f04d
fixes to allow brain-mock to run on real nodes 2024-12-29 05:12:37 +02:00
b13b545501
added capability to get only one node 2024-12-28 22:31:55 +02:00
7b3ee9319f
change NewVmResp to allow the CLI to build params 2024-12-28 04:16:11 +02:00
0dcacf6f98
added capability to update node resources 2024-12-27 01:01:36 +02:00
0215be3acd add support for VM updates
Co-authored-by: Ramil_Algayev <pro.remred@gmail.com>
Co-authored-by: ghe0 <gheorghe@gheo.tech>
Reviewed-on: #1
Co-authored-by: ramrem <ralgayev@detee.ltd>
Co-committed-by: ramrem <ralgayev@detee.ltd>
2024-12-25 22:59:18 +00:00
7905c1c165
fix bug on == 2024-12-22 21:00:41 +02:00
b45f970e40
fix deadlock for ghost nodes 2024-12-22 20:48:19 +02:00
efc3fb81b2
fixed deadlock for dead nodes 2024-12-22 19:59:32 +02:00
cc06a9bc00
adding a lot of logs 2024-12-22 18:16:40 +02:00
4a3a6b4fdc
fixed small memory leaks 2024-12-22 16:07:38 +02:00
cb7e8f98d6
removing guard and hoping there are no leaks 2024-12-22 04:52:01 +02:00
5910e63440
added logging 2024-12-22 04:41:05 +02:00
5fb2a941b1
added guards for all txs 2024-12-21 22:22:10 +02:00
ec5d266c28
wrote brain-mock functionality 2024-12-21 01:56:12 +02:00
b14c590d01
added code to process new vm request 2024-12-20 21:56:34 +02:00
f1d9bcb07a
added handling to list some nodes and contracts 2024-12-17 03:55:44 +02:00
04d1c53a97
boilerplate rust code 2024-12-17 02:57:54 +02:00
c729f47b8d
propagate VMConfirmation to CLI 2024-12-15 22:26:15 +02:00
22a0905a1d
first push 2024-12-15 22:07:22 +02:00