Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Commit

Permalink
feat: continue work on osd scrubbing schedule
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
  • Loading branch information
galexrt committed Jan 12, 2024
1 parent f7fca81 commit c668a57
Show file tree
Hide file tree
Showing 24 changed files with 914 additions and 374 deletions.
7 changes: 7 additions & 0 deletions api/services/cluster/v1/cluster.proto
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ message GetNetworkTestResultsResponse {
bytes file_contents = 3;
}

message GetScrubbingScheduleRequest {}

message GetScrubbingScheduleResponse {
api.resources.ceph.v1.OSDScrubbingSchedule osd_scrubbing_schedule = 1;
}

message SetScrubbingScheduleRequest {
api.resources.ceph.v1.OSDScrubbingSchedule osd_scrubbing_schedule = 1;
}
Expand Down Expand Up @@ -89,6 +95,7 @@ service ClusterService {
rpc CancelNetworkTest(CancelNetworkTestRequest) returns (CancelNetworkTestResponse) {}
rpc GetNetworkTestResults(GetNetworkTestResultsRequest) returns (GetNetworkTestResultsResponse) {}

rpc GetScrubbingSchedule(GetScrubbingScheduleRequest) returns (GetScrubbingScheduleResponse) {}
rpc SetScrubbingSchedule(SetScrubbingScheduleRequest) returns (SetScrubbingScheduleResponse) {}

rpc GetResources(GetResourcesRequest) returns (GetResourcesResponse) {}
Expand Down
28 changes: 28 additions & 0 deletions docs/grpc-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@
- [GetNetworkTestStatusResponse](#api-services-cluster-v1-GetNetworkTestStatusResponse)
- [GetResourcesRequest](#api-services-cluster-v1-GetResourcesRequest)
- [GetResourcesResponse](#api-services-cluster-v1-GetResourcesResponse)
- [GetScrubbingScheduleRequest](#api-services-cluster-v1-GetScrubbingScheduleRequest)
- [GetScrubbingScheduleResponse](#api-services-cluster-v1-GetScrubbingScheduleResponse)
- [GetTroubleshootReportRequest](#api-services-cluster-v1-GetTroubleshootReportRequest)
- [GetTroubleshootReportResponse](#api-services-cluster-v1-GetTroubleshootReportResponse)
- [SaveResourcesRequest](#api-services-cluster-v1-SaveResourcesRequest)
Expand Down Expand Up @@ -1140,6 +1142,31 @@ The mode of the upgrade



<a name="api-services-cluster-v1-GetScrubbingScheduleRequest"></a>

### GetScrubbingScheduleRequest







<a name="api-services-cluster-v1-GetScrubbingScheduleResponse"></a>

### GetScrubbingScheduleResponse



| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| osd_scrubbing_schedule | [api.resources.ceph.v1.OSDScrubbingSchedule](#api-resources-ceph-v1-OSDScrubbingSchedule) | | |






<a name="api-services-cluster-v1-GetTroubleshootReportRequest"></a>

### GetTroubleshootReportRequest
Expand Down Expand Up @@ -1288,6 +1315,7 @@ The mode of the upgrade
| StartNetworkTest | [StartNetworkTestRequest](#api-services-cluster-v1-StartNetworkTestRequest) | [StartNetworkTestResponse](#api-services-cluster-v1-StartNetworkTestResponse) | |
| CancelNetworkTest | [CancelNetworkTestRequest](#api-services-cluster-v1-CancelNetworkTestRequest) | [CancelNetworkTestResponse](#api-services-cluster-v1-CancelNetworkTestResponse) | |
| GetNetworkTestResults | [GetNetworkTestResultsRequest](#api-services-cluster-v1-GetNetworkTestResultsRequest) | [GetNetworkTestResultsResponse](#api-services-cluster-v1-GetNetworkTestResultsResponse) | |
| GetScrubbingSchedule | [GetScrubbingScheduleRequest](#api-services-cluster-v1-GetScrubbingScheduleRequest) | [GetScrubbingScheduleResponse](#api-services-cluster-v1-GetScrubbingScheduleResponse) | |
| SetScrubbingSchedule | [SetScrubbingScheduleRequest](#api-services-cluster-v1-SetScrubbingScheduleRequest) | [SetScrubbingScheduleResponse](#api-services-cluster-v1-SetScrubbingScheduleResponse) | |
| GetResources | [GetResourcesRequest](#api-services-cluster-v1-GetResourcesRequest) | [GetResourcesResponse](#api-services-cluster-v1-GetResourcesResponse) | |
| SaveResources | [SaveResourcesRequest](#api-services-cluster-v1-SaveResourcesRequest) | [SaveResourcesResponse](#api-services-cluster-v1-SaveResourcesResponse) | |
Expand Down
2 changes: 1 addition & 1 deletion gen/go/api/resources/ceph/v1/ceph.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gen/go/api/resources/ceph/v1/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gen/go/api/resources/ceph/v1/resources.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gen/go/api/resources/koor/v1/koor.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gen/go/api/resources/stats/v1/stats.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gen/go/api/services/auth/v1/auth.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gen/go/api/services/ceph/v1/ceph.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c668a57

Please sign in to comment.