diff --git a/pkg/services/control/ir/service.pb.go b/pkg/services/control/ir/service.pb.go index 9e79c1f569..d3826c61f7 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 b6bc6fdbab..92751b6149 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 b6dd755e59..79e0f2903d 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 5b454b667f..0b44538850 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 738b238362..5225b41f62 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 1bf273360a..dd349dc57a 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 87b3a6c06f..1e25d95d8c 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 5eda7d02f5..18adc8ed57 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 7ed9526e01..77f43e314e 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 13bd87ed56..94f681c557 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 423dfcfa40..581ac2f45c 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 29115d1e57..3a17b4364c 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"]; }