[#xx] Add support for select-filter expressions in policy playground #527
No reviewers
Labels
No labels
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 project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#527
Loading…
Reference in a new issue
No description provided.
Delete branch "ale64bit/frostfs-node:feature/eval-select-filter-expr"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This allows the evaluation of fragments of a policy so that it can be understood and developed incrementally.
Usage:
Setup a test netmap:
Evaluate filters:
Evaluate selectors:
Evaluate combined filters and selectors:
Signed-off-by: Alejandro Lopez a.lopez@yadro.com
6371b286c1
to62efde94f2
@ -92,2 +88,2 @@
if err != nil {
return fmt.Errorf("building container nodes: %v", err)
if strings.HasPrefix(policyStr, "CBF") || strings.HasPrefix(policyStr, "SELECT") || strings.HasPrefix(policyStr, "FILTER") {
Could you mention why it is valid in comments? (any policy starts with
REP
)done
62efde94f2
to8eddc99868