bootstrap: Replace options with attributes in NodeInfo

Rename Options to Attributes to be in sync with Objects and Nodes and Containers.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-08-06 00:40:36 +03:00 committed by Stanislav Bogatyrev
parent 87e1d01307
commit 44ec19962a
2 changed files with 25 additions and 3 deletions

View file

@ -13,8 +13,17 @@ message NodeInfo {
// Carries public key of the NeoFS node in a binary format.
bytes PublicKey = 2;
// Carries options of the NeoFS node.
repeated string Options = 3;
// Groups attributes of the NeoFS node.
message Attribute {
// Carries string key to the node attribute.
string Key = 1;
// Carries string value of the node attribute.
string Value = 2;
}
// // Carries list of the NeoFS node attributes in a string key-value format.
repeated Attribute Attributes = 3;
// Represents the enumeration of various states of the NeoFS node.
enum State {