[#25] subnet: Drop fields and types
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
b5be17014e
commit
7f59b8aaeb
9 changed files with 93 additions and 229 deletions
|
@ -5,8 +5,6 @@ package neo.fs.v2.netmap;
|
|||
option go_package = "git.frostfs.info/TrueCloudLab/frostfs-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
|
||||
|
@ -121,10 +119,6 @@ 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
|
||||
|
@ -164,14 +158,6 @@ message NodeInfo {
|
|||
// attributes it's a string presenting floating point number with comma or
|
||||
// point delimiter for decimal part. In the Network Map it will be saved as
|
||||
// 64-bit unsigned integer representing number of minimal token fractions.
|
||||
// * [ __SYSTEM__SUBNET_%s ] \
|
||||
// (`__NEOFS__SUBNET_%s` is deprecated) \
|
||||
// `True` or `False`. Defines if the node is included in the `%s` subnetwork
|
||||
// or not. `%s` must be an existing subnetwork's ID (non-negative integer number).
|
||||
// A node can be included in more than one subnetwork and, therefore, can contain
|
||||
// more than one subnet attribute. A missing attribute is equivalent to the
|
||||
// presence of the attribute with `False` value (except default zero subnetwork
|
||||
// (with `%s` == 0) for which missing attribute means inclusion in that network).
|
||||
// * UN-LOCODE \
|
||||
// Node's geographic location in
|
||||
// [UN/LOCODE](https://www.unece.org/cefact/codesfortrade/codes_index.html)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue