update functionality for the brain #2

Merged
ghe0 merged 11 commits from new-updater into main 2025-01-09 22:29:56 +00:00

11 Commits

Author SHA1 Message Date
Ramil_Algayev
5755ece192 Fixed the issue with updating the dtrfs_api_endpoint
I was updating it after sending it, so I fixed that

Removed the unnessary part from the if statement dealing with the send fucntion

Also refactored the code for the submit_newvm_resp and submit_updatevm_resp functions
2025-01-07 03:00:13 +04:00
Ramil_Algayev
02ff2f6991 Now new_vm_resp.args.dtrfs_api_endpoint also get modified if there is no public ip of the vm
Also removed the unnecessary else clause
2025-01-07 00:10:38 +04:00
Ramil_Algayev
ab4361ad5e now update_vm_resp.args.dtrfs_api_endpoint does get the node ip from the brain if it didn't have a public ip 2025-01-06 23:41:39 +04:00
Ramil_Algayev
554468e8b6 fixed the concern with pr 2025-01-06 15:57:43 +04:00
Ramil_Algayev
5faa8d210d added more logging 2025-01-04 20:28:36 +04:00
Ramil_Algayev
d8c183df25 fixed small bug with updating 2025-01-04 20:20:42 +04:00
Ramil_Algayev
bff04c7b7e Temporary code to test updates, this is not final at all. 2025-01-04 17:20:16 +04:00
b1d272f8fb
new proto that has MeasurementArgs 2025-01-03 18:08:23 +02:00
Ramil_Algayev
716b7edd33 Had to change these so that the updater could work.
I'm not sure if this is the best way to do it, but it works for now.
2025-01-03 18:23:29 +04:00
Ramil_Algayev
d5a771d28a fixed missing ovmf_hash field in UpdateVMResp 2025-01-01 18:12:23 +04:00
Ramil_Algayev
b5943ba465 added ovmf_hash to UpdateVMResp 2025-01-01 18:09:36 +04:00