Online Expert Day - HPE Data Storage - Live Now
April 24/25 - Online Expert Day - HPE Data Storage - Live Now
Read more
HPE Storage Tech Insiders
Showing results for 
Search instead for 
Did you mean: 

Introducing Nimble Playbook


Taking some inspiration from Ansible I've put together a Ruby script that wraps the Bimbly REST client and digests yaml files to generate calls to the Nimble device. You don't need to understand Ruby to use the script, just yaml, and know that the first two levels of the yaml config are Array structures delimited by dashes.

How to Use (Ruby >= 2.0):

gem install bimbly

./nimble_playbook config.yml playbook.yml

And the rest is done by the script and library. The config.yml file is where the information about how to connect to a Nimble device are stored, and the playbook.yml file has all the calls and details that will go to the device.

Sample yaml Playbook


The script can be found here along with a README and some sample playbook/config files:

bimbly/bin at master · zumiez/bimbly · GitHub

I have also updated the Bimbly library to make it possible to generate Nimble playbooks. When using the library in irb, you can call 'save' rather than 'call' which will add the REST call to an array instead of sending it off to the device. You can see the REST calls as they are queued up with the method 'review'. Once you decide that you have all of the necessary calls queued up, you can then output them to a yaml file with 'create_playbook(filename)' and the library will write the yaml to disk to be used by the nimble_playbook script at any time.

I hope to add to the library here in the future that will help with generating templates, and have some sample templates ready as well.

Special thanks to Nimble SE Alexander Lawrence for suggesting yaml config files for use with the REST client and allowing me to test out my script.

About the Author



Great stuff.  Glad to see more automation tools added to the Nimble ecosphere!

Apr 24 - 25, 2018
Expert Days - 2018
Visit this forum and get the schedules for online HPE Expert Days where you can talk to HPE product experts, R&D and support team members and get answ...
Read more
June 19 - 21
Las Vegas, NV
HPE Discover 2018 Las Vegas
Visit this forum and learn about all things Discover 2018 in Las Vegas, Nevada, June 19 - 21, 2018.
Read more
View all