Yars::Routes -- set up the routes for Yars.
Get a welcome message.
Retrieve a file with the given name and md5.
PUT a file with the given name and md5.
Delete a file with the given name and md5.
Get a summary of the disk usage.
Send the CGI parameters count=1 to also count the files.
Mark disks up or down. Send the disk root and state (up or down) as JSON encoded in the body.
Given JSON with 'manifest' which is a return-delimited string of filenames and md5s (like the output of md5sum), check each file for existence on the server (or proxy to the right server)
Get the status of all the disks on all the servers/
Get a mapping from buckets to hosts.
Find the disk usage per bucket.
To install Yars, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Yars
CPAN shell
perl -MCPAN -e shell install Yars
For more information on module installation, please visit the detailed CPAN module installation guide.