Skip to content

Commit d7aa01b

Browse files
authored
Merge pull request #34 from PKUHPC/feat-cluster-info
feat: getClusterInfo 接口新增集群总体信息返回值
2 parents a78e8e0 + a832c44 commit d7aa01b

File tree

6 files changed

+38
-11
lines changed

6 files changed

+38
-11
lines changed

.changeset/moody-knives-argue.md

-5
This file was deleted.

.changeset/wet-gorillas-do.md

-5
This file was deleted.

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @scow/scow-scheduler-adapter-interface
22

3+
## 1.7.0
4+
5+
### Minor Changes
6+
7+
- 94fd762: 增加 ConfigService.ListImplementedOptionalFeatures RPC,用于获取适配器实现的可选功能
8+
9+
### Patch Changes
10+
11+
- f3defc7: 新增 deleteUser 和 deleteAccount 接口
12+
313
## 1.6.0
414

515
### Minor Changes

changelogs/v1.7.0.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# v1.7.0
2+
3+
发布于:2024/8/6 23:01:12
4+
5+
## 重要更新
6+
- 增加 ConfigService.ListImplementedOptionalFeatures RPC,用于获取适配器实现的可选功能 ([94fd762e](https://github.com/PKUHPC/SCOW/commit/94fd762e5ff0cd6deda8acd451835d590a3cb7e8))
7+
8+
## 小型更新
9+
- 新增 deleteUser 和 deleteAccount 接口 ([f3defc72](https://github.com/PKUHPC/SCOW/commit/f3defc7254da6fab226eeac165b04970c2785807))
10+
11+

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@scow/scow-scheduler-adapter-interface",
3-
"version": "1.6.0",
3+
"version": "1.7.0",
44
"description": "Interface for SCOW to call schedulers",
55
"author": "PKUHPC (https://github.com/PKUHPC)",
66
"repository": "https://github.com/PKUHPC/SCOW",

protos/config.proto

+16
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,22 @@ message GetClusterInfoRequest {
8484
message GetClusterInfoResponse {
8585
string cluster_name = 1;
8686
repeated PartitionInfo partitions = 2;
87+
// 3-17 Newly added parameters may not be returned
88+
uint32 node_count = 3;
89+
uint32 running_node_count = 4;
90+
uint32 idle_node_count = 5;
91+
uint32 not_available_node_count = 6;
92+
uint32 cpu_core_count =7;
93+
uint32 running_cpu_count = 8;
94+
uint32 idle_cpu_count = 9;
95+
uint32 not_available_cpu_count = 10;
96+
uint32 gpu_core_count = 11;
97+
uint32 running_gpu_count = 12;
98+
uint32 idle_gpu_count = 13;
99+
uint32 not_available_gpu_count = 14;
100+
uint32 job_count = 15;
101+
uint32 running_job_count = 16;
102+
uint32 pending_job_count = 17;
87103
}
88104

89105
message NodeInfo {

0 commit comments

Comments
 (0)