diff --git a/pkg/services/control/ir/service.pb.go b/pkg/services/control/ir/service.pb.go index 9e79c1f56..d3826c61f 100644 Binary files a/pkg/services/control/ir/service.pb.go and b/pkg/services/control/ir/service.pb.go differ diff --git a/pkg/services/control/ir/service_grpc.pb.go b/pkg/services/control/ir/service_grpc.pb.go index b6bc6fdba..92751b614 100644 Binary files a/pkg/services/control/ir/service_grpc.pb.go and b/pkg/services/control/ir/service_grpc.pb.go differ diff --git a/pkg/services/control/ir/types.pb.go b/pkg/services/control/ir/types.pb.go index b6dd755e5..79e0f2903 100644 Binary files a/pkg/services/control/ir/types.pb.go and b/pkg/services/control/ir/types.pb.go differ diff --git a/pkg/services/control/server/server.go b/pkg/services/control/server/server.go index 5b454b667..0b4453885 100644 --- a/pkg/services/control/server/server.go +++ b/pkg/services/control/server/server.go @@ -19,7 +19,7 @@ type Server struct { // HealthChecker is component interface for calculating // the current health status of a node. type HealthChecker interface { - // Must calculate and return current status of the node in NeoFS network map. + // Must calculate and return current status of the node in FrostFS network map. // // If status can not be calculated for any reason, // control.netmapStatus_STATUS_UNDEFINED should be returned. diff --git a/pkg/services/control/server/set_netmap_status.go b/pkg/services/control/server/set_netmap_status.go index 738b23836..5225b41f6 100644 --- a/pkg/services/control/server/set_netmap_status.go +++ b/pkg/services/control/server/set_netmap_status.go @@ -8,7 +8,7 @@ import ( "google.golang.org/grpc/status" ) -// SetNetmapStatus sets node status in NeoFS network. +// SetNetmapStatus sets node status in FrostFS network. // // If request is unsigned or signed by disallowed key, permission error returns. func (s *Server) SetNetmapStatus(ctx context.Context, req *control.SetNetmapStatusRequest) (*control.SetNetmapStatusResponse, error) { diff --git a/pkg/services/control/service.go b/pkg/services/control/service.go index 1bf273360..dd349dc57 100644 --- a/pkg/services/control/service.go +++ b/pkg/services/control/service.go @@ -7,7 +7,7 @@ func (x *HealthCheckRequest) SetBody(v *HealthCheckRequest_Body) { } } -// SetNetmapStatus sets status of the storage node in NeoFS network map. +// SetNetmapStatus sets status of the storage node in FrostFS network map. func (x *HealthCheckResponse_Body) SetNetmapStatus(v NetmapStatus) { if x != nil { x.NetmapStatus = v @@ -28,7 +28,7 @@ func (x *HealthCheckResponse) SetBody(v *HealthCheckResponse_Body) { } } -// SetStatus sets new storage node status in NeoFS network map. +// SetStatus sets new storage node status in FrostFS network map. func (x *SetNetmapStatusRequest_Body) SetStatus(v NetmapStatus) { if x != nil { x.Status = v @@ -54,7 +54,7 @@ func (x *SetNetmapStatusResponse) SetBody(v *SetNetmapStatusResponse_Body) { } } -// SetAddressList sets list of objects to be removed in NeoFS API binary format. +// SetAddressList sets list of objects to be removed in FrostFS API binary format. func (x *DropObjectsRequest_Body) SetAddressList(v [][]byte) { if x != nil { x.AddressList = v diff --git a/pkg/services/control/service.pb.go b/pkg/services/control/service.pb.go index 87b3a6c06..1e25d95d8 100644 Binary files a/pkg/services/control/service.pb.go and b/pkg/services/control/service.pb.go differ diff --git a/pkg/services/control/service.proto b/pkg/services/control/service.proto index 5eda7d02f..18adc8ed5 100644 --- a/pkg/services/control/service.proto +++ b/pkg/services/control/service.proto @@ -11,7 +11,7 @@ service ControlService { // Performs health check of the storage node. rpc HealthCheck (HealthCheckRequest) returns (HealthCheckResponse); - // Sets status of the storage node in NeoFS network map. + // Sets status of the storage node in FrostFS network map. rpc SetNetmapStatus (SetNetmapStatusRequest) returns (SetNetmapStatusResponse); // Mark objects to be removed from node's local object storage. @@ -56,7 +56,7 @@ message HealthCheckRequest { message HealthCheckResponse { // Health check response body message Body { - // Status of the storage node in NeoFS network map. + // Status of the storage node in FrostFS network map. NetmapStatus netmap_status = 1; // Health status of storage node application. @@ -74,7 +74,7 @@ message HealthCheckResponse { message SetNetmapStatusRequest { // Set netmap status request body. message Body { - // New storage node status in NeoFS network map. + // New storage node status in FrostFS network map. // If status is MAINTENANCE, the node checks whether maintenance is // allowed in the network settings. In case of prohibition, the request // is denied. Otherwise, node switches to local maintenance state. To @@ -112,7 +112,7 @@ message DropObjectsRequest { // Request body structure. message Body { // List of object addresses to be removed. - // in NeoFS API binary format. + // in FrostFS API binary format. repeated bytes address_list = 1; } diff --git a/pkg/services/control/service_grpc.pb.go b/pkg/services/control/service_grpc.pb.go index 7ed9526e0..77f43e314 100644 Binary files a/pkg/services/control/service_grpc.pb.go and b/pkg/services/control/service_grpc.pb.go differ diff --git a/pkg/services/control/types.go b/pkg/services/control/types.go index 13bd87ed5..94f681c55 100644 --- a/pkg/services/control/types.go +++ b/pkg/services/control/types.go @@ -39,7 +39,7 @@ func (x *NodeInfo_Attribute) SetParents(v []string) { } } -// SetPublicKey sets public key of the NeoFS node in a binary format. +// SetPublicKey sets public key of the FrostFS node in a binary format. func (x *NodeInfo) SetPublicKey(v []byte) { if x != nil { x.PublicKey = v @@ -53,14 +53,14 @@ func (x *NodeInfo) SetAddresses(v []string) { } } -// SetAttributes sets attributes of the NeoFS Storage Node. +// SetAttributes sets attributes of the FrostFS Storage Node. func (x *NodeInfo) SetAttributes(v []*NodeInfo_Attribute) { if x != nil { x.Attributes = v } } -// SetState sets state of the NeoFS node. +// SetState sets state of the FrostFS node. func (x *NodeInfo) SetState(v NetmapStatus) { if x != nil { x.State = v diff --git a/pkg/services/control/types.pb.go b/pkg/services/control/types.pb.go index 423dfcfa4..581ac2f45 100644 Binary files a/pkg/services/control/types.pb.go and b/pkg/services/control/types.pb.go differ diff --git a/pkg/services/control/types.proto b/pkg/services/control/types.proto index 29115d1e5..3a17b4364 100644 --- a/pkg/services/control/types.proto +++ b/pkg/services/control/types.proto @@ -13,7 +13,7 @@ message Signature { bytes sign = 2 [json_name = "signature"]; } -// Status of the storage node in the NeoFS network map. +// Status of the storage node in the FrostFS network map. enum NetmapStatus { // Undefined status, default value. STATUS_UNDEFINED = 0; @@ -28,15 +28,15 @@ enum NetmapStatus { MAINTENANCE = 3; } -// NeoFS node description. +// FrostFS node description. message NodeInfo { - // Public key of the NeoFS node in a binary format. + // Public key of the FrostFS node in a binary format. bytes public_key = 1 [json_name = "publicKey"]; // Ways to connect to a node. repeated string addresses = 2 [json_name = "addresses"]; - // Administrator-defined Attributes of the NeoFS Storage Node. + // Administrator-defined Attributes of the FrostFS Storage Node. // // `Attribute` is a Key-Value metadata pair. Key name must be a valid UTF-8 // string. Value can't be empty. @@ -74,7 +74,7 @@ message NodeInfo { // without diacritics . Calculated automatically from `Locode` attribute. // // For detailed description of each well-known attribute please see the - // corresponding section in NeoFS Technical specification. + // corresponding section in FrostFS Technical specification. message Attribute { // Key of the node attribute. string key = 1 [json_name = "key"]; @@ -86,13 +86,13 @@ message NodeInfo { // `Country`. repeated string parents = 3 [json_name = "parents"]; } - // Carries list of the NeoFS node attributes in a key-value form. Key name + // Carries list of the FrostFS node attributes in a key-value form. Key name // must be a node-unique valid UTF-8 string. Value can't be empty. NodeInfo // structures with duplicated attribute names or attributes with empty values // will be considered invalid. repeated Attribute attributes = 3 [json_name = "attributes"]; - // Carries state of the NeoFS node. + // Carries state of the FrostFS node. NetmapStatus state = 4 [json_name = "state"]; }