Brocade Mobility RFS Controller System Reference Guide (Supporting software release 5.5.0.0 and later) User Manual

Page 996

Advertising
background image

984

Brocade Mobility RFS Controller System Reference Guide

53-1003099-01

15

FIGURE 172

Developer Interface -File Download screen

2. Open the zip archive and review the Readme file to assess the contents and how they can be

leveraged for API creation and modification.

Sample Ruby Client

A sample ruby client is provided as part of this package. The Ruby client can be used as a sample
to pull statistics data from NXAnalytics. The response from NXAnalytics is in JSON format.

Contents

Readme.txt file.

Ruby script files:

NXAStatsClient.rb

NXARESTClient.rb

NXAResultsJSONParser.rb

NXALogin.rb

NXAException.rb

NXAConstants.rb

NXAConnectionParams.rb

Requirements To Run Sample Ruby Client

Ruby 2.0 or above. The sample has been tested with Ruby 2.0. To download Ruby use the following:

https://www.ruby-lang.org/en/downloads/or http://rubyinstaller.org/

Advertising