forked from TrueCloudLab/frostfs-api
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:
parent
87e1d01307
commit
44ec19962a
2 changed files with 25 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue