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

Page 997

Advertising
background image

Brocade Mobility RFS Controller System Reference Guide

985

53-1003099-01

15

Additional Ruby Gems needed to run the sample client are the following.

- ipaddress

- json

- rest-client

Please install the gems before running the sample client.

How To Run the Program From Command Line

ruby NXAStatsClient <IPAddress Of Controller>

<Protocol[http|https]> <Port [8080|443]>

<Stats_Type>[wlan | rfdomain | radio | client | captive-portal | client-assoc-disassoc]

<lookback_duration_in_seconds [ 1 - 2592000]>

<username> <password>

<number_of_results_to_return [ 1 - 100]>

Sample:

ruby NXAStatsClient 172.20.33.45 https 443 rfdomain 600 admin admin 30

How To Run the Program From IDE

If you are using Eclipse or APTANA or any other IDE please do the following.

- Choose appropriate network proxy settings

- Configure IDE to choose appropriate Ruby interpreter

- Create a Ruby project

- Copy the Ruby files as part of package to the new Ruby project

- Define the arguments required for the main Ruby program

- Run the main Ruby program

API Assessment

Analytics Developer Interface

Advertising