Giter Club home page Giter Club logo

cisco-lb-to-json-and-a10-lb-converter's Introduction

Cisco-A10-LB-Converter

Script to convert cisco load balancer config to A10 load balancer config

Enabling Python Virtual Environment


  • This program needs the python virtual environment to be activated to add all the dependencies to run the program.

  • Navigate to the location of the script.

  • Run this command to activate the python virtual environment

user@root:~$ source /parse_env/bin/activate

Running the program


  • To run the server searchable based Cisco to A10 converter run:
user@root:~$ python3 server_based_converter.py
  • To run the content/website searchable based Cisco to A10 converter run:
user@root:~$ python3 cisco_a10_converter.py
  • To create the json file of cisco configs run:
user@root:~$ python3 cisco_json_converter.py
  • To create a10 configs from the json file run:
user@root:~$ python3 a10_cfg_builder.py

Files created and their description


  • cfg.json: json file of all attributes extracted from cisco config

  • a10_complete_config.txt : complete a10 configs file

  • a10_groups.txt: a10 groups configs

  • a10_services.txt: a10 services configs

  • a10_vips.txt: a10 virtual IPs configs

  • ping_list.txt: list of public IPs to ping

  • suspend_list.txt: cisco configs to suspend services

  • logs.txt: log file with list of converted websites and keepsalive status

  • attribute_extractor.py: backend methods for processing

  • server_based_converter.py: server searchable configuration converter

  • cisco_a10_converter.py: website/content searchable configuration builder

  • cisco_json_converter.py: cisco to json converter based on website

  • a10_cfg_builder.py: json to A10 config builder based on website

cisco-lb-to-json-and-a10-lb-converter's People

Contributors

vasu77df avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.