Files
rustytorch/crates/specialized/rtx-platform/proto/tenant.proto
T
2026-03-04 00:08:42 +00:00

30 lines
625 B
Protocol Buffer

syntax = "proto3";
package rtx.platform.tenant;
service TenantService {
rpc CreateTenant(CreateTenantRequest) returns (CreateTenantResponse);
rpc AllocateResources(AllocateResourcesRequest) returns (AllocateResourcesResponse);
}
message CreateTenantRequest {
string tenant_id = 1;
string name = 2;
string isolation_level = 3;
}
message CreateTenantResponse {
string tenant_id = 1;
bool success = 2;
}
message AllocateResourcesRequest {
string tenant_id = 1;
string region = 2;
map<string, uint64> resources = 3;
}
message AllocateResourcesResponse {
string allocation_id = 1;
bool success = 2;
}