adm: Add commands to cli to invoke methods from policy-contract #834

Closed
opened 2023-11-30 08:16:32 +00:00 by aarifullin · 2 comments
Member

We need to manage policy-contract storage: add/remove/list rule chains with frostfs-adm util.

We can use the contract interface client after policy-engine: #3 will be merged - we can import and use NewContractStorageWithSimpleActor

We need to manage policy-contract storage: add/remove/list rule chains with `frostfs-adm` util. We can use the contract interface client after [policy-engine: #3](https://git.frostfs.info/TrueCloudLab/policy-engine/pulls/24/files#diff-03191cbf6897ed3a4b24c9e41df9d7c4e9524c74) will be merged - we can import and use `NewContractStorageWithSimpleActor`
aarifullin added the
frostfs-adm
label 2023-11-30 08:16:32 +00:00
fyrchik added the
discussion
label 2023-11-30 13:43:33 +00:00
Owner

policy is the name for a native contract (StorageFee, ExecFee etc.), need to use different name for this (ape?)

`policy` is the name for a native contract (StorageFee, ExecFee etc.), need to use different name for this (`ape`?)
Author
Member

policy is the name for a native contract (StorageFee, ExecFee etc.), need to use different name for this (ape?)

Could you clarify, please: do you mean to use ape name within frostfs-adm util? Sure, it should do that, otherwise it conflicts with policy.go in cmd/frostfs-adm/internal/modules/morph/policy.go

> `policy` is the name for a native contract (StorageFee, ExecFee etc.), need to use different name for this (`ape`?) Could you clarify, please: do you mean to use `ape` name within `frostfs-adm` util? Sure, it should do that, otherwise it conflicts with `policy.go` in `cmd/frostfs-adm/internal/modules/morph/policy.go`
acid-ant self-assigned this 2023-12-06 08:46:06 +00:00
fyrchik added this to the v0.38.0 milestone 2023-12-22 07:27:18 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#834
No description provided.