frostfs-node/cmd
Leonard Lyubich 4c94faac67 [#1797] node/control: Verify states in SetNetmapStatus RPC server
In previous implementation storage node interpreted all status values
sent in `SetNetmapStatus` RPC as `OFFLINE` except `ONLINE` and
`MAINTENANCE`. This could lead to incorrect processing of new values,
and also didn't allow detection of problems with sending garbage values.

Make implementation of `NodeState` interface used by Control API server
to deny requests with statuses other than protocol-declared enum.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-10-05 11:41:49 +03:00
..
neofs-adm [#1820] neofs-adm: Add wallet-address flag in refill command 2022-10-03 10:11:38 +03:00
neofs-cli [#1704] cli: Add force option to the command container create 2022-10-05 09:14:13 +03:00
neofs-ir [#1654] ir, node: Drop deprecated profiler and metrics config sections 2022-08-04 15:38:35 +03:00
neofs-lens [#1714] lens: Add open*COMPONENT* funcs 2022-09-06 18:09:18 +04:00
neofs-node [#1797] node/control: Verify states in SetNetmapStatus RPC server 2022-10-05 11:41:49 +03:00