From a6baa4059d2836b88d52cd56216993e92e83ecbc Mon Sep 17 00:00:00 2001 From: Noor Date: Fri, 21 Feb 2025 10:42:14 +0000 Subject: [PATCH] refactor AppNodeResources fields for clarity and consistency --- proto/sgx/brain.proto | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/proto/sgx/brain.proto b/proto/sgx/brain.proto index b6b984e..a3b96b2 100644 --- a/proto/sgx/brain.proto +++ b/proto/sgx/brain.proto @@ -78,13 +78,11 @@ message RegisterAppNodeReq { message AppNodeResources { string node_pubkey = 1; - uint32 avail_ports = 2; - uint32 avail_ipv4 = 3; - uint32 avail_ipv6 = 4; - uint32 avail_vcpus = 5; - uint32 avail_memory_mb = 6; - uint32 avail_storage_gb = 7; - uint32 max_ports_per_vm = 8; + uint32 avail_no_of_port = 2; + uint32 avail_vcpus = 3; + uint32 avail_memory_mb = 4; + uint32 avail_storage_mb = 5; + uint32 max_ports_per_app = 6; } message BrainMessageApp {