frostfs-node/cmd/neofs-cli
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
..
internal [#1946] cli/internal: Fix test by wallet non-closing 2022-10-21 15:21:59 +03:00
modules [#1916] control: Check maintenance allowance on Control server 2022-10-24 09:20:24 +04:00
main.go cli: Add empty neofs-cli app structure 2020-10-02 11:25:35 +03:00