change uuid to vm_id and app_id

This commit is contained in:
ghe0 2025-07-12 17:51:14 +03:00
parent 4753a17fa2
commit f474413b76
Signed by: ghe0
GPG Key ID: 451028EE56A0FBB4

@ -6,7 +6,7 @@ package vm_proto;
import "shared/common.proto"; import "shared/common.proto";
message VmContract { message VmContract {
string uuid = 1; string vm_id = 1;
string hostname = 2; string hostname = 2;
string admin_pubkey = 3; string admin_pubkey = 3;
string node_pubkey = 4; string node_pubkey = 4;
@ -73,7 +73,7 @@ message VmNodeResources {
} }
message NewVmReq { message NewVmReq {
string uuid = 1; string vm_id = 1;
string hostname = 2; string hostname = 2;
string admin_pubkey = 3; string admin_pubkey = 3;
string node_pubkey = 4; string node_pubkey = 4;
@ -92,13 +92,13 @@ message NewVmReq {
} }
message NewVmResp { message NewVmResp {
string uuid = 1; string vm_id = 1;
string error = 2; string error = 2;
MeasurementArgs args = 3; MeasurementArgs args = 3;
} }
message UpdateVmReq { message UpdateVmReq {
string uuid = 1; string vm_id = 1;
string hostname = 2; string hostname = 2;
string admin_pubkey = 3; string admin_pubkey = 3;
uint32 disk_size_mib = 4; uint32 disk_size_mib = 4;
@ -111,13 +111,13 @@ message UpdateVmReq {
} }
message UpdateVmResp { message UpdateVmResp {
string uuid = 1; string vm_id = 1;
string error = 2; string error = 2;
MeasurementArgs args = 3; MeasurementArgs args = 3;
} }
message DeleteVmReq { message DeleteVmReq {
string uuid = 1; string vm_id = 1;
string admin_pubkey = 2; string admin_pubkey = 2;
} }
@ -154,7 +154,7 @@ service BrainVmDaemon {
message ListVmContractsReq { message ListVmContractsReq {
string wallet = 1; string wallet = 1;
bool as_operator = 2; bool as_operator = 2;
string uuid = 3; string vm_id = 3;
} }
message VmNodeFilters { message VmNodeFilters {
@ -185,7 +185,7 @@ message VmNodeListResp {
} }
message ExtendVmReq { message ExtendVmReq {
string uuid = 1; string vm_id = 1;
string admin_pubkey = 2; string admin_pubkey = 2;
uint64 locked_nano = 3; uint64 locked_nano = 3;
} }