- add-bucket
- link
- move
- rm or remove
/api/v0.1/link?name=bucketname&args=buckettype=bucketname [args=buckettype=bucketname]
exemple:
R1- /api/v0.1/add-bucket?name=myhost&type=host
R2- /api/v0.1/link?name=myhost&args=datacenter=houston&args=root=default
R1 will create 'myhost' of type 'host' but with no link
R2 will create or establish a tree for 'myhost' in crushmap
root -> datacenter ->host
default -> Houston -> myhost
No comments:
Post a Comment