adm: Add commands to cli to invoke methods from policy-contract #834
Labels
No Label
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#834
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
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
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 withinfrostfs-adm
util? Sure, it should do that, otherwise it conflicts withpolicy.go
incmd/frostfs-adm/internal/modules/morph/policy.go