1 / 7

StackerBee

StackerBee. Mar 2014. Agenda: Need behind stacker_bee gem What you can do with stacker_bee. Stacker_bee. A Ruby client for CloudStack's API Two ruby clients are available: http://chipchilders.github.io/cloudstack_ruby_client/ https :// github.com/promptworks/stacker_bee

solada
Download Presentation

StackerBee

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. StackerBee Mar 2014

  2. Agenda: Need behind stacker_bee gem What you can do with stacker_bee

  3. Stacker_bee • A Ruby client for CloudStack'sAPI • Two ruby clients are available: • http://chipchilders.github.io/cloudstack_ruby_client/ • https://github.com/promptworks/stacker_bee • We are using promptworksstacker_bee • By default, StackerBee uses the CloudStack 4.2 API. But you can configure the API version.

  4. Stacker_bee • StackerBee is built on Faraday and allows you to add Faraday middleware. • https://github.com/lostisland/faraday • Faraday is an HTTP client lib. • In stacker_bee logging is best handled with Faraday middleware. • StackerBee currently ships with a Faraday middleware using Graylog2 GELF format for logging. • StackerBee is released under the MIT License.

  5. Stacker_bee • Stacker_bee provides A read–eval–print loop (REPL) • In a REPL, the user enters one or more expressions (rather than an entire compilation unit), which are then evaluated, and the results displayed. • This is used to call the cloudstack APIs and understand the API output and accordingly you can code for final implementation. • Example: $ stacker_bee -u http://localhost:8080/client/api -a MY_API_KEY -s MY_SECRET_KEY • StackerBeeCloudStack REPL >> list_virtual_machines state: 'Running' • => [{"id"=>"48b91ab4-dc23-4e24-bc6f-695d58c91087", "name"=>"MyVM", "displayname"=>"My VM", ... >>

  6. Stacker_bee • Block Diagram Cloudstack APIs ROR Application Stacker_bee gem

  7. Stacker_bee Q&A Thank You!

More Related