From 3a2c319b87adcfbb371cf6acee6df3807d90cadc Mon Sep 17 00:00:00 2001 From: Airat Arifullin Date: Tue, 31 Oct 2023 18:36:42 +0300 Subject: [PATCH] [#770] control: Generate gRPC methods to manipulate APE chains * Define new types and gRPC methods to manipulate APE chains in control service. * Stub gRPC handlers for the generated methods. Signed-off-by: Airat Arifullin --- pkg/services/control/server/policy_engine.go | 24 ++++ pkg/services/control/service.pb.go | Bin 146644 -> 194092 bytes pkg/services/control/service.proto | 114 +++++++++++++++++++ pkg/services/control/service_frostfs.pb.go | Bin 67136 -> 89775 bytes pkg/services/control/service_grpc.pb.go | Bin 23641 -> 31613 bytes 5 files changed, 138 insertions(+) create mode 100644 pkg/services/control/server/policy_engine.go diff --git a/pkg/services/control/server/policy_engine.go b/pkg/services/control/server/policy_engine.go new file mode 100644 index 000000000..058839bfb --- /dev/null +++ b/pkg/services/control/server/policy_engine.go @@ -0,0 +1,24 @@ +package control + +import ( + "context" + "fmt" + + "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/services/control" +) + +func (s *Server) AddChainLocalOverride(ctx context.Context, req *control.AddChainLocalOverrideRequest) (*control.AddChainLocalOverrideResponse, error) { + return nil, fmt.Errorf("not implemented yet") +} + +func (s *Server) GetChainLocalOverride(ctx context.Context, req *control.GetChainLocalOverrideRequest) (*control.GetChainLocalOverrideResponse, error) { + return nil, fmt.Errorf("not implemented yet") +} + +func (s *Server) ListChainLocalOverrides(ctx context.Context, req *control.ListChainLocalOverridesRequest) (*control.ListChainLocalOverridesResponse, error) { + return nil, fmt.Errorf("not implemented yet") +} + +func (s *Server) RemoveChainLocalOverride(ctx context.Context, req *control.RemoveChainLocalOverrideRequest) (*control.RemoveChainLocalOverrideResponse, error) { + return nil, fmt.Errorf("not implemented yet") +} diff --git a/pkg/services/control/service.pb.go b/pkg/services/control/service.pb.go index 443afb1aab94e3c30bfa4710c155517e576d8da4..547ea7e7e2d6fdd8eda86f2bcdb6e2bb2e026e6f 100644 GIT binary patch delta 19402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y6DvqrQYw$i^xJA9LPUy2?1NeGKo06E6Y$lJmOCHQspvBkyJE b<~KU@(V$N*gm{62zoQ;<*?d2IM|S#uiE3Vv diff --git a/pkg/services/control/service.proto b/pkg/services/control/service.proto index cbcf74e53..e7d218f20 100644 --- a/pkg/services/control/service.proto +++ b/pkg/services/control/service.proto @@ -44,6 +44,18 @@ service ControlService { // Doctor performs storage restructuring operations on engine. rpc Doctor (DoctorRequest) returns (DoctorResponse); + + // Add local access policy engine overrides to a node. + rpc AddChainLocalOverride (AddChainLocalOverrideRequest) returns (AddChainLocalOverrideResponse); + + // Get local access policy engine overrides stored in the node by chain id. + rpc GetChainLocalOverride (GetChainLocalOverrideRequest) returns (GetChainLocalOverrideResponse); + + // List local access policy engine overrides stored in the node by container id. + rpc ListChainLocalOverrides (ListChainLocalOverridesRequest) returns (ListChainLocalOverridesResponse); + + // Remove local access policy engine overrides stored in the node by chaind id. + rpc RemoveChainLocalOverride (RemoveChainLocalOverrideRequest) returns (RemoveChainLocalOverrideResponse); } // Health check request. @@ -405,3 +417,105 @@ message StopShardEvacuationResponse { Body body = 1; Signature signature = 2; } + +// AddChainLocalOverride request. +message AddChainLocalOverrideRequest { + message Body { + // Container id for which the overrides are applied. + bytes container_id = 1; + + // Serialized rule chain. + bytes chain = 2; + } + + Body body = 1; + + Signature signature = 2; +} + +// AddChainLocalOverride response. +message AddChainLocalOverrideResponse { + message Body { + // Chain ID assigned for the added rule chain. + string chain_id = 1; + } + + Body body = 1; + + Signature signature = 2; +} + +// GetChainLocalOverride request. +message GetChainLocalOverrideRequest { + message Body { + // Container id for which the overrides are defined. + bytes container_id = 1; + + // Chain ID assigned for the added rule chain. + string chain_id = 2; + } + + Body body = 1; + + Signature signature = 2; +} + +// GetChainLocalOverride response. +message GetChainLocalOverrideResponse { + message Body { + // Serialized rule chain. + bytes chain = 1; + } + + Body body = 1; + + Signature signature = 2; +} + +// ListChainLocalOverrides request. +message ListChainLocalOverridesRequest { + message Body { + // Container id for which the overrides are defined. + bytes container_id = 1; + } + + Body body = 1; + + Signature signature = 2; +} + +// ListChainLocalOverrides response. +message ListChainLocalOverridesResponse { + message Body { + // The list of serialized rule chain. + repeated bytes chains = 1; + } + + Body body = 1; + + Signature signature = 2; +} + +message RemoveChainLocalOverrideRequest { + message Body { + // Container id for which the overrides are defined. + bytes container_id = 1; + + // Chain ID assigned for the added rule chain. + string chain_id = 2; + } + + Body body = 1; + + Signature signature = 2; +} + +message RemoveChainLocalOverrideResponse { + message Body { + bool removed = 1; + } + + Body body = 1; + + Signature signature = 2; +} diff --git a/pkg/services/control/service_frostfs.pb.go b/pkg/services/control/service_frostfs.pb.go index 56ff81acea2d4ce5f41c9bd0724afafeca840f05..852788a307b04620972a3759fffc5432d89a8d9a 100644 GIT binary patch delta 1861 zcmai!Pe@cz6vlajP6QU(y!j&(DQ#v^f;lS}k12(a#84OROzBeNM63!b-xEqvUjO!a3xVV z`{OyRXDszO1v?_riZyUpHleomC`wHd^6+6_h>=QzRYro3TVEqYKgdnqqnj=NeoG6` zeIW|x7t-6#6pE(WAMC1hSJ7oW7Dc{8x$UcY`mKGWbn#z@T)5;2kzVk8vA zNPKS#jgb@rjPTuQZ_)o}+>3arGWyWgGu>!xwiTix=lQ5e2~p9CMnx;0^?`cqXd((; zHLbQfCsRumBR1@~jXVX6CTc2mJ#bX+&{<<_^3&&3h|`LL&q9$#vaW^{r^mW5GnwTy zg^C#krRy;rx#g937zer-GT!|XYTFa5D3x>5)&6DCcf7$tn^+a#jtA9d*8d~opauK^YN|c*AGwb zLtVdb%*wd7W!?dM#n2!%s_SEE)yPa(nrcq1fNdK(q;4#mW)j@ArBA9$z|VMlMG#cvP0fX2)WWS7BlW2{TmgGlPj zOO+Bz9{EPmIRt#NvoTR=qB3l_mE?Uto-o?$4h`Zt<&>c$IwXag$C68!?4`k%52Tlf zGT=FXD4&hhoa7IBV+*K(sxlhpv+dRp|J-{8{iI;=5h6{hbdDUh)pyOmpA{}9QNbZR zaFtN_pB~_aa9Ex$LTtbbiR+7$3JAqiYZ(x#MPyZx=tjIjFc8VR{V&@2^IKv3m1>`U zMLaC82iH;k_C{00ijm}#0m4`AY7es^8<)w18Achu8`!U(&LucJEhIRk!X-H5e;xQp z^4X<|3F40ZL58nW#-~Z4)q$6k!FC2W$YncI3)HgV