frostfs-node/cmd
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
..
neofs-adm [#1946] Bump neo-go module to v0.99.4 2022-10-21 15:21:59 +03:00
neofs-cli [#1916] control: Check maintenance allowance on Control server 2022-10-24 09:20:24 +04:00
neofs-ir [#1910] .golangci.yml: Add godot linker 2022-10-18 15:08:26 +03:00
neofs-lens [#1854] cli: Unify help messages 2022-10-12 09:53:11 +03:00
neofs-node [#1916] control: Check maintenance allowance on Control server 2022-10-24 09:20:24 +04:00