forked from TrueCloudLab/frostfs-node
[#922] control: Add MAINTENANCE netmap status
Add `MAINTENANCE` value to `NetmapStatus` enum in Control API. The status is going to be used to toggle maintenance mode of the storage node. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
ec04e787aa
commit
8f8b638b95
2 changed files with 3 additions and 0 deletions
BIN
pkg/services/control/types.pb.go
generated
BIN
pkg/services/control/types.pb.go
generated
Binary file not shown.
|
@ -23,6 +23,9 @@ enum NetmapStatus {
|
|||
|
||||
// Node is offline.
|
||||
OFFLINE = 2;
|
||||
|
||||
// Node is maintained by the owner.
|
||||
MAINTENANCE = 3;
|
||||
}
|
||||
|
||||
// NeoFS node description.
|
||||
|
|
Loading…
Reference in a new issue