Skip to content

gve-sw/Meraki_ssid_availability_scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

meraki_ssid_availability

Web portal in which enables the user to set several time schedules for Meraki SSIDs to be ON/OFF

Author:


Prerequisites

  • Meraki API Key

-Choose between which way you would like to spin up your application prototype

Setup instructions (Python)

  1. install and clone this repo onto a server that has python3 installed
  2. install and create virtual environment (https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/)
  3. install and create a virtual environment for your project (https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/)
  4. enter the virtaul environment by running source (venv name)/bin/activate
  5. install dependencies by running pip3 install -r requirements.txt file
  6. install and setup mongodb (https://www.freecodecamp.org/news/learn-mongodb-a4ce205e7739/)
  7. edit scheduler.py (line 6) and views.py (line 203) to include the path to your local file
  8. Run the flask server by entering the command python3 views.py then visit the web page
  9. Go to the settings page, then press the button only once to activate the cron job to reinforce the scheduling (crontab -l to verify cron job). Web page should ask for permission to make changes.
  10. Go to the settings page, then press the button only once to activate the cron job to reinforce the scheduling (crontab -l to verify cron job). You know the scheduler activates if the web pag asks for permissions to make changes.
  11. You are all set. Meraki API key will be asked to enter the page. Make sure the respective key has proper permissions to make changes to the network SSIDs

Setup instructions (Docker)

Dockerized version was prepared by Matthew Quarisa on April 2020.

  1. Navigate to the directory with the docker compose file and in the terminal
  2. Enter two commands: “docker-compose build” followed by “docker-compose up”

Screenshots

alt text

alt text

API Reference/Documentation:

License

Provided under Cisco Sample Code License, for details see LICENSE

Code of Conduct

Our code of conduct is available here

Contributing

See our contributing guidelines here

DISCLAIMER:

Please note: This script is meant for demo purposes only. All tools/ scripts in this repo are released for use "AS IS" without any warranties of any kind, including, but not limited to their installation, use, or performance. Any use of these scripts and tools is at your own risk. There is no guarantee that they have been through thorough testing in a comparable environment and we are not responsible for any damage or data loss incurred with their use. You are responsible for reviewing and testing any scripts you run thoroughly before use in any non-testing environment.

About

No description or website provided.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages