Skip to content

A proof of value on how to leverage vMange APIs to schedule vSmart policy activation and deactivation from a different orchestrator tool

License

Notifications You must be signed in to change notification settings

Abhijith-R/Viptela-vSmart-Policy-Toggle-master

Repository files navigation

published

Viptela vSmart policy Automation

Viptela has a set of APIs which can be used to integrate its functionalities with other solutions. This Proof of Value demonstrates the use of vManage APIs to automate the activation and deactivation of a vSmart policy based on a preset time and date. This application fetches all vSmart policies already present in vmanage and helps users to schedule a policy activation/deactivation based on a pre-selected time. This helps in operation automation where in the IT staff can schedule a policy activation/deactivation when the staff is not around or has no access to vmanage dashboard.

Author:


Prerequisites

  • Python 2.7
  • APScheduler 3.5.3
  • PyCharm/Any text editor
  • Flask

Steps to Reproduce

  • Download/clone the repository
  • Import the code into a text editor like pycharm or Atom
  • Install the required dependencies using requirements.txt pip install -r requirements.txt
  • Open controller.py file and make necessary changes as mentioned in the comment in the file
  • After necessary changes are made to the code, execute controller.py file on the editor or on the terminal (python controller.py)

Screenshot

alt text

API Reference/Documentation:

About

A proof of value on how to leverage vMange APIs to schedule vSmart policy activation and deactivation from a different orchestrator tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages