adm: Add get/set-admin commands #880

Merged
fyrchik merged 2 commits from acid-ant/frostfs-node:feature/policy-admin into master 2023-12-21 17:30:51 +00:00
Collaborator

Relates to #876

$ frostfs-adm morph ape set-admin -c cnt_create_cfg.yml -r http://morph-chain.frostfs.devenv:30333 --addr 6ed86b755294eea33f257d90bb19c143bef5eea0
Waiting for transaction to persist...
Admin set successfully
$ 
$ frostfs-adm morph ape get-admin -c cnt_create_cfg.yml -r http://morph-chain.frostfs.devenv:30333
6ed86b755294eea33f257d90bb19c143bef5eea0 

Signed-off-by: Anton Nikiforov an.nikiforov@yadro.com

Relates to #876 ``` $ frostfs-adm morph ape set-admin -c cnt_create_cfg.yml -r http://morph-chain.frostfs.devenv:30333 --addr 6ed86b755294eea33f257d90bb19c143bef5eea0 Waiting for transaction to persist... Admin set successfully $ $ frostfs-adm morph ape get-admin -c cnt_create_cfg.yml -r http://morph-chain.frostfs.devenv:30333 6ed86b755294eea33f257d90bb19c143bef5eea0 ``` Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
acid-ant force-pushed feature/policy-admin from 2e861d6ffb to 0d991a1f6d 2023-12-21 08:28:23 +00:00 Compare
acid-ant changed title from WIP: adm: Add `get/set-admin` commands to adm: Add `get/set-admin` commands 2023-12-21 09:04:20 +00:00
acid-ant requested review from storage-core-committers 2023-12-21 09:04:25 +00:00
acid-ant requested review from storage-core-developers 2023-12-21 09:04:26 +00:00
fyrchik approved these changes 2023-12-21 12:09:07 +00:00
acid-ant force-pushed feature/policy-admin from 0d991a1f6d to e724b70982 2023-12-21 13:35:30 +00:00 Compare
dstepanov-yadro approved these changes 2023-12-21 15:15:51 +00:00
acid-ant force-pushed feature/policy-admin from e724b70982 to 5b672fb392 2023-12-21 15:21:51 +00:00 Compare
acid-ant requested review from fyrchik 2023-12-21 15:43:16 +00:00
aarifullin approved these changes 2023-12-21 15:50:22 +00:00
fyrchik approved these changes 2023-12-21 17:30:46 +00:00
fyrchik merged commit 5b672fb392 into master 2023-12-21 17:30:51 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 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#880
There is no content yet.