frostfs-node/pkg/services
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
..
accounting [#1910] .golangci.yml: Add `godot` linker 2022-10-18 15:08:26 +03:00
audit [#1910] .golangci.yml: Add `predeclared` linker 2022-10-18 15:08:26 +03:00
container [#1910] .golangci.yml: Add `godot` linker 2022-10-18 15:08:26 +03:00
control [#1916] control: Check maintenance allowance on Control server 2022-10-24 09:20:24 +04:00
netmap [#1910] .golangci.yml: Add `godot` linker 2022-10-18 15:08:26 +03:00
notificator [#1770] logger: Refactor `Logger` component 2022-10-12 18:11:05 +03:00
object [#1910] .golangci.yml: Add `godot` linker 2022-10-18 15:08:26 +03:00
object_manager [#1910] .golangci.yml: Add `predeclared` linker 2022-10-18 15:08:26 +03:00
policer [#1910] .golangci.yml: Add `predeclared` linker 2022-10-18 15:08:26 +03:00
replicator [#1765] Use hex format to print storage node ID 2022-10-13 12:55:21 +03:00
reputation [#1910] .golangci.yml: Add `godot` linker 2022-10-18 15:08:26 +03:00
session [#1910] .golangci.yml: Add `misspell` linker 2022-10-18 15:08:26 +03:00
tree [#1329] tree: Sync trees when a node first time appears in a container 2022-10-21 18:47:56 +03:00
util [#1687] *: Perform `go fmt` using go `v1.19` 2022-08-22 18:59:57 +03:00