diff --git a/proto/provider/akash/inventory/v1/cpu.proto b/proto/provider/akash/inventory/v1/cpu.proto index ae29e0ab..0beb532a 100644 --- a/proto/provider/akash/inventory/v1/cpu.proto +++ b/proto/provider/akash/inventory/v1/cpu.proto @@ -8,25 +8,24 @@ import "akash/inventory/v1/resourcepair.proto"; option go_package = "github.com/akash-network/akash-api/go/inventory/v1"; message CPU { - ResourcePair quantity = 1 [ - (gogoproto.customname) = "Quantity", - (gogoproto.jsontag) = "quantity", - (gogoproto.moretags) = "yaml:\"quantity\"" - ]; - - string id = 2 [ + string id = 1 [ (gogoproto.customname) = "ID", (gogoproto.jsontag) = "id", (gogoproto.moretags) = "yaml:\"id\"" ]; - string vendor = 3 [ + string vendor = 2 [ (gogoproto.customname) = "Vendor", (gogoproto.jsontag) = "vendor", (gogoproto.moretags) = "yaml:\"vendor\"" ]; - string model = 4 [ + string model = 3 [ (gogoproto.customname) = "Model", (gogoproto.jsontag) = "model", (gogoproto.moretags) = "yaml:\"model\"" ]; + uint32 vcores = 4 [ + (gogoproto.customname) = "Vcores", + (gogoproto.jsontag) = "vcores", + (gogoproto.moretags) = "yaml:\"vcores\"" + ]; } diff --git a/proto/provider/akash/inventory/v1/gpu.proto b/proto/provider/akash/inventory/v1/gpu.proto index 86c25636..95d85145 100644 --- a/proto/provider/akash/inventory/v1/gpu.proto +++ b/proto/provider/akash/inventory/v1/gpu.proto @@ -9,24 +9,24 @@ import "akash/inventory/v1/resourcepair.proto"; option go_package = "github.com/akash-network/akash-api/go/inventory/v1"; message GPU { - ResourcePair quantity = 1 [ - (gogoproto.customname) = "Quantity", - (gogoproto.jsontag) = "quantity", - (gogoproto.moretags) = "yaml:\"quantity\"" + string name = 1 [ + (gogoproto.customname) = "Name", + (gogoproto.jsontag) = "name", + (gogoproto.moretags) = "yaml:\"name\"" ]; - string id = 2 [ - (gogoproto.customname) = "ID", - (gogoproto.jsontag) = "id", - (gogoproto.moretags) = "yaml:\"id\"" + string modelid = 2 [ + (gogoproto.customname) = "ModelID", + (gogoproto.jsontag) = "modelid", + (gogoproto.moretags) = "yaml:\"modelid\"" ]; - string vendor = 3 [ - (gogoproto.customname) = "Vendor", - (gogoproto.jsontag) = "vendor", - (gogoproto.moretags) = "yaml:\"vendor\"" + string interface = 3 [ + (gogoproto.customname) = "Interface", + (gogoproto.jsontag) = "interface", + (gogoproto.moretags) = "yaml:\"interface\"" ]; - string model = 4 [ - (gogoproto.customname) = "Model", - (gogoproto.jsontag) = "model", - (gogoproto.moretags) = "yaml:\"model\"" + string memory = 4 [ + (gogoproto.customname) = "Memory", + (gogoproto.jsontag) = "memory", + (gogoproto.moretags) = "yaml:\"memory\"" ]; }