frostfs-node/pkg/services/control
Leonard Lyubich 60e9de8d63 [#1916] control: Check maintenance allowance on Control server
In previous implementation turning to maintenance mode using NeoFS CLI
required NeoFS API endpoint. This was not convenient from the user
perspective. It's worth to move networks settings' check to the server
side.

Add `force_maintenance` field to `SetNetmapStatusRequest.Body` message
of Control API. Add `force` flag to `neofs-cli control set-status`
command which sets corresponding field in the requests body if status is
`maintenance`. Force flag is ignored for any other status.

Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>
2022-10-24 09:20:24 +04:00
..
ir [#1902] Update protoc to v3.21.7 2022-10-20 16:17:57 +03:00
server [#1916] control: Check maintenance allowance on Control server 2022-10-24 09:20:24 +04:00
common_test.go [#1454] Upgrade NeoFS SDK Go module with new IDs 2022-06-01 17:41:45 +03:00
convert.go [#1806] services/control: Allow to flush write-cache 2022-09-28 09:28:01 +03:00
rpc.go [#1806] services/control: Allow to flush write-cache 2022-09-28 09:28:01 +03:00
service.go [#1916] control: Check maintenance allowance on Control server 2022-10-24 09:20:24 +04:00
service.pb.go [#1916] control: Check maintenance allowance on Control server 2022-10-24 09:20:24 +04:00
service.proto [#1916] control: Check maintenance allowance on Control server 2022-10-24 09:20:24 +04:00
service_grpc.pb.go [#1902] Update protoc to v3.21.7 2022-10-20 16:17:57 +03:00
service_neofs.pb.go [#1916] control: Check maintenance allowance on Control server 2022-10-24 09:20:24 +04:00
service_test.go [#1867] services/control: Allow to provide multiple shard IDs to some commands 2022-10-12 11:20:48 +03:00
types.go [#1840] blobstor: Return info about all components 2022-10-10 11:14:55 +03:00
types.pb.go [#1902] Update protoc to v3.21.7 2022-10-20 16:17:57 +03:00
types.proto [#1840] blobstor: Return info about all components 2022-10-10 11:14:55 +03:00
types_neofs.pb.go [#1840] blobstor: Return info about all components 2022-10-10 11:14:55 +03:00
types_test.go [#1840] blobstor: Return info about all components 2022-10-10 11:14:55 +03:00