[#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
|
@ -5,6 +5,8 @@ package neo.fs.v2.netmap;
|
|||
option go_package = "github.com/nspcc-dev/neofs-api-go/v2/netmap/grpc;netmap";
|
||||
option csharp_namespace = "Neo.FileStorage.API.Netmap";
|
||||
|
||||
import "refs/types.proto";
|
||||
|
||||
// Operations on filters
|
||||
enum Operation {
|
||||
// No Operation defined
|
||||
|
@ -119,6 +121,10 @@ message PlacementPolicy {
|
|||
|
||||
// List of named filters to reference in selectors
|
||||
repeated Filter filters = 4 [json_name = "filters"];
|
||||
|
||||
// Subnetwork ID to select nodes from. Zero subnet (default) represents
|
||||
// all of the nodes which didn't explicitly opt out of membership.
|
||||
refs.SubnetID subnet_id = 5 [json_name = "subnetId"];
|
||||
}
|
||||
|
||||
// NeoFS node description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue