This repository is deprecated; please follow the main search page or use the ‘Related code repos’ widget on the right side of the current page.

published

Viptela_Template_Migration

Project aims to demonstrate the automation of migration of templates from vManage test instance to a production instance.

The project retrieves all the device and feature templates from vManage test instance through a web portal and writes it into a tar file which helps in versioning. The tar file is then accessed to fetch the templates and the same is added to the vManage prod instance with little or no human intervention. This automation helps in reducing the time taken to migrate templates from test environment to the production environment thereby avoiding human errors and increasing productivity and efficiency of the IT team.

Author:


Prerequisites

  • Python 2.7
  • 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:

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.

View code on GitHub
  • Owner

  • Contributors

  • Categories

  • Programming Languages

    Python
  • License

    Other

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.