Remove --name parameter from frostfs-cli #37
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#37
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
The
--name
parameter implies setting a name for created container. However, this does not happen since the procedure was changed and requires setting special attributes with--attributes
parameter. Thus the--name
parameter and its description in command line help became misleading.Solution
--name
parameter from command line.The attribute set by
--name
is Name, a non-unique human-friendly string.Later we added NNS support, so special attributes __NEOFS__NAME and __NEOFS__ZONE should be set to register a container under a unique name in NNS.
I'd suggest adding a new argument, like
--nns-name
that would parse argument string and set one or both well-known attributes for NNS.