[#228] Add netmap snapshot request
Clients need an easy way of getting network map to get connection endpoints form Node's attributes. Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
This commit is contained in:
parent
4de2570e1a
commit
c03a53813a
2 changed files with 59 additions and 0 deletions
|
@ -238,6 +238,15 @@ message NodeInfo {
|
|||
State state = 4 [json_name = "state"];
|
||||
}
|
||||
|
||||
// Network map structure
|
||||
message Netmap {
|
||||
// Network map revision number.
|
||||
uint64 epoch = 1 [json_name = "epoch"];
|
||||
|
||||
// Nodes presented in network.
|
||||
repeated NodeInfo nodes = 2 [json_name = "nodes"];
|
||||
}
|
||||
|
||||
// NeoFS network configuration
|
||||
message NetworkConfig {
|
||||
// Single configuration parameter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue