forked from TrueCloudLab/frostfs-api
[#179] netmap: add subnet id to placement policy
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
7ea5a1d2f1
commit
c6691c4924
2 changed files with 16 additions and 0 deletions
|
@ -77,6 +77,16 @@ message OwnerID {
|
|||
bytes value = 1 [json_name = "value"];
|
||||
}
|
||||
|
||||
// NeoFS subnetwork identifier.
|
||||
//
|
||||
// String representation of a value is base-10 integer.
|
||||
//
|
||||
// JSON representation is an object containing single `value` number field.
|
||||
message SubnetID {
|
||||
// 4-byte integer subnetwork identifier.
|
||||
fixed32 value = 1 [json_name = "value"];
|
||||
}
|
||||
|
||||
// API version used by a node.
|
||||
//
|
||||
// String presentation is a Semantic Versioning 2.0.0 compatible version string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue