More and more of the CohesiveFT solution set is up and running in the IBM SmartCloud Enterprise on a daily basis. Our image automation folks, dyed in the wool Ruby-ists, came up with this Ruby language binding for the SmartCloud REST API.
For those of you who are object-oriented types, Ruby fans, SmartCloud users, or the curious - it is a neat interactive experience. It follows the naming convention of the REST API pretty faithfully but adds the "display_*" methods as convenience function to the "describe_*" calls.
My favorite is: smartcloud "display_instances(:order => 'Location')"
Check out the video here:
http://www.youtube.com/cohesiveft#p/u/0/-WdSHP2iwDM
If you have Ruby and the gems system installed, it should work using "gem install cft_smartcloud" and then "smartcloud help" from your command line.
Enjoy!
*on a Debian/Ubuntu variant you might need to say "PATH=$PATH:/var/lib/gems/1.8/bin" or call "/var/lib/gems/1.8/bin/smartcloud"
Monday, July 25, 2011
blog comments powered by Disqus

