frostfs-node/cmd/neofs-cli/modules
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
acl [#1910] .golangci.yml: Add godot linker 2022-10-18 15:08:26 +03:00
bearer [#1854] cli: Unify help messages 2022-10-12 09:53:11 +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 [#1892] neofs-cli: Display maintenance status in netmap nodeinfo 2022-10-13 17:45:47 +03:00
object [#1910] .golangci.yml: Add misspell linker 2022-10-18 15:08:26 +03:00
session [#1854] cli: Unify help messages 2022-10-12 09:53:11 +03:00
storagegroup [#1910] .golangci.yml: Add godot linker 2022-10-18 15:08:26 +03:00
tree [#1332] cli: Add tree list 2022-10-20 16:17:57 +03:00
util [#1910] .golangci.yml: Add godot linker 2022-10-18 15:08:26 +03:00
completion.go [#1041] cmd/*: factor out autocomplet command generation 2022-01-12 18:33:48 +03:00
root.go [#1910] .golangci.yml: Add godot linker 2022-10-18 15:08:26 +03:00