Skip to content

Commit

Permalink
Add DeactivateSOL to grpc API
Browse files Browse the repository at this point in the history
Note that this includes some unrelated changes in the generated code
due, I gather, to my versions of the protoc tools differing from the
ones that generated the existing versions.

Signed-off-by: Zev Weiss <[email protected]>
  • Loading branch information
zevweiss authored and joelrebel committed Jan 31, 2024
1 parent 3beef9e commit d378b03
Show file tree
Hide file tree
Showing 10 changed files with 305 additions and 140 deletions.
339 changes: 243 additions & 96 deletions api/v1/bmc.pb.go

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions api/v1/bmc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ service BMC {
rpc CreateUser (CreateUserRequest) returns (CreateUserResponse);
rpc DeleteUser (DeleteUserRequest) returns (DeleteUserResponse);
rpc UpdateUser (UpdateUserRequest) returns (UpdateUserResponse);
rpc DeactivateSOL (DeactivateSOLRequest) returns (DeactivateSOLResponse);
}

message NetworkSourceRequest {
Expand Down Expand Up @@ -72,6 +73,15 @@ message UpdateUserResponse {
string task_id = 1;
}

message DeactivateSOLRequest {
v1.Authn authn = 1;
v1.Vendor vendor = 2;
}

message DeactivateSOLResponse {
string task_id = 1;
}

enum UserRole {
USER_ROLE_UNSPECIFIED = 0;
USER_ROLE_ADMIN = 1;
Expand Down
37 changes: 36 additions & 1 deletion api/v1/bmc_grpc.pb.go

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

14 changes: 4 additions & 10 deletions api/v1/common.pb.go

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

14 changes: 4 additions & 10 deletions api/v1/diagnostic.pb.go

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

1 change: 0 additions & 1 deletion api/v1/diagnostic_grpc.pb.go

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

14 changes: 4 additions & 10 deletions api/v1/machine.pb.go

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

1 change: 0 additions & 1 deletion api/v1/machine_grpc.pb.go

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

14 changes: 4 additions & 10 deletions api/v1/task.pb.go

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

1 change: 0 additions & 1 deletion api/v1/task_grpc.pb.go

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

0 comments on commit d378b03

Please sign in to comment.