Clusto is a cluster management tool. It helps you keep track of your inventory, where it is, how it's connected, and provides an abstracted interface for interacting with the elements of the infrastructure.
There are code examples in the unit tests in src/clusto/test/.
To learn more, start with the wiki, here: https://github.com/clusto/clusto/wiki