Skip to content

lowlifeplanet/SmartzoneAPI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruckus SmartZone API

Repository for basic python scripts to pull and print data from Ruckus SmartZone API.

Note

I am new to both python and git and scripts are training exercises. I have not written code for an extended period. Program is tested against a SZ100 cluster of 2 running 3.6.2. These scripts work correctly with vSZ-E but not with vSZ-H. Read-only account is reccomended.

Each script will need the following variables which will need modifying for your own configuration:

Use API documentation below for reference:

Ruckus documentation for version 3.6.2

login_getzone.py

Returns and prints all the configured zones on the cluster. The script will output a list of lists called cleaned_zones.

Format of the lists are:

[name_of_zone,zone_id]

login_getwlans.py

Builds on login_getzone.py to produce a list of lists called cleaned_all_zone_wlan from cleaned_zones that includes the WLAN names and ids. Please note this is the WLAN name NOT the SSID.

Format of the lists are:

[name_of_zone,zone_id,name_of_WLAN,WLAN_id]

login_getwlan_details.py

Returns and prints the JSON from individual WLAN. If wlan_template_id or zone_template_id are blank program will ask for the names of the WLAN and the zone to be inputted. The script attempts to account for spelling mistakes in the WLAN name before quitting if WLAN is not found in the zone.

It will save the WLAN's details in a variable called wlan_template.

About

Python scripts for Ruckus SmartZone and virtual SmartZone

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%