forked from TrueCloudLab/frostfs-api
[#183] subnet: Define subnet information message
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
c6691c4924
commit
a05e6f9a5c
1 changed files with 18 additions and 0 deletions
18
subnet/types.proto
Normal file
18
subnet/types.proto
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
package neo.fs.v2.subnet;
|
||||||
|
|
||||||
|
option go_package = "github.com/nspcc-dev/neofs-api-go/v2/subnet/grpc;subnet";
|
||||||
|
option csharp_namespace = "Neo.FileStorage.API.Subnet";
|
||||||
|
|
||||||
|
import "refs/types.proto";
|
||||||
|
|
||||||
|
// NeoFS subnetwork description
|
||||||
|
message SubnetInfo {
|
||||||
|
// Unique subnet identifier. Missing ID is
|
||||||
|
// equivalent to zero (default subnetwork) ID.
|
||||||
|
neo.fs.v2.refs.SubnetID id = 1;
|
||||||
|
|
||||||
|
// Identifier of the subnetwork owner
|
||||||
|
neo.fs.v2.refs.OwnerID owner = 2;
|
||||||
|
}
|
Loading…
Reference in a new issue