[#68] Remove unnecessary language options.

Change proto package path.

Signed-off-by: Ori Bruk <o.bruk@yadro.com>
This commit is contained in:
Ori Bruk 2024-11-06 14:59:06 +03:00
parent 5bfbd249bc
commit 2466ce876e
30 changed files with 843 additions and 930 deletions

View file

@ -1,9 +1,6 @@
syntax = "proto3";
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";
package frost.fs.netmap;
import "netmap/types.proto";
import "refs/types.proto";
@ -53,12 +50,12 @@ message LocalNodeInfoRequest {
// Carries request meta information. Header data is used only to regulate
// message transport and does not affect request execution.
neo.fs.v2.session.RequestMetaHeader meta_header = 2;
frost.fs.session.RequestMetaHeader meta_header = 2;
// Carries request verification information. This header is used to
// authenticate the nodes of the message route and check the correctness of
// transmission.
neo.fs.v2.session.RequestVerificationHeader verify_header = 3;
frost.fs.session.RequestVerificationHeader verify_header = 3;
}
// Local Node Info, including API Version in use
@ -66,7 +63,7 @@ message LocalNodeInfoResponse {
// Local Node Info, including API Version in use.
message Body {
// Latest FrostFS API version in use
neo.fs.v2.refs.Version version = 1;
frost.fs.refs.Version version = 1;
// NodeInfo structure with recent information from node itself
NodeInfo node_info = 2;
@ -76,12 +73,12 @@ message LocalNodeInfoResponse {
// Carries response meta information. Header data is used only to regulate
// message transport and does not affect response execution.
neo.fs.v2.session.ResponseMetaHeader meta_header = 2;
frost.fs.session.ResponseMetaHeader meta_header = 2;
// Carries response verification information. This header is used to
// authenticate the nodes of the message route and check the correctness of
// transmission.
neo.fs.v2.session.ResponseVerificationHeader verify_header = 3;
frost.fs.session.ResponseVerificationHeader verify_header = 3;
}
// Get NetworkInfo structure with the network view from a particular node.
@ -93,12 +90,12 @@ message NetworkInfoRequest {
// Carries request meta information. Header data is used only to regulate
// message transport and does not affect request execution.
neo.fs.v2.session.RequestMetaHeader meta_header = 2;
frost.fs.session.RequestMetaHeader meta_header = 2;
// Carries request verification information. This header is used to
// authenticate the nodes of the message route and check the correctness of
// transmission.
neo.fs.v2.session.RequestVerificationHeader verify_header = 3;
frost.fs.session.RequestVerificationHeader verify_header = 3;
}
// Response with NetworkInfo structure including current epoch and
@ -114,12 +111,12 @@ message NetworkInfoResponse {
// Carries response meta information. Header data is used only to regulate
// message transport and does not affect response execution.
neo.fs.v2.session.ResponseMetaHeader meta_header = 2;
frost.fs.session.ResponseMetaHeader meta_header = 2;
// Carries response verification information. This header is used to
// authenticate the nodes of the message route and check the correctness of
// transmission.
neo.fs.v2.session.ResponseVerificationHeader verify_header = 3;
frost.fs.session.ResponseVerificationHeader verify_header = 3;
}
// Get netmap snapshot request
@ -132,12 +129,12 @@ message NetmapSnapshotRequest {
// Carries request meta information. Header data is used only to regulate
// message transport and does not affect request execution.
neo.fs.v2.session.RequestMetaHeader meta_header = 2;
frost.fs.session.RequestMetaHeader meta_header = 2;
// Carries request verification information. This header is used to
// authenticate the nodes of the message route and check the correctness of
// transmission.
neo.fs.v2.session.RequestVerificationHeader verify_header = 3;
frost.fs.session.RequestVerificationHeader verify_header = 3;
}
// Response with current netmap snapshot
@ -153,10 +150,10 @@ message NetmapSnapshotResponse {
// Carries response meta information. Header data is used only to regulate
// message transport and does not affect response execution.
neo.fs.v2.session.ResponseMetaHeader meta_header = 2;
frost.fs.session.ResponseMetaHeader meta_header = 2;
// Carries response verification information. This header is used to
// authenticate the nodes of the message route and check the correctness of
// transmission.
neo.fs.v2.session.ResponseVerificationHeader verify_header = 3;
frost.fs.session.ResponseVerificationHeader verify_header = 3;
}

View file

@ -1,9 +1,6 @@
syntax = "proto3";
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";
package frost.fs.netmap;
// Operations on filters
enum Operation {