Git Product home page Git Product logo

vmware-sd-wan-velocloud-bi-intake's Introduction

VMware SD-WAN by VeloCloud Business Intelligence Intake

Installation

  • Install Python 3.8 or greater
  • Download and unzip files to a directory
  • Move to the directory with the files in a CLI
  • Create a VENV: python3 -m venv venv
  • Activate the virtual environment: source venv/bin/activate
  • Install the requirements: pip3 install -r requirements.txt
  • Run the SQL commands from customer.sql on your against your database

Running the scripts

  • Move to the base folder for this program
  • Update the DataFiles/config.yml and vco_list.yml to have correct/relevant data
  • Activate the virtual environment: source venv/bin/activate
  • run the main script: python3 ./powerbi_main_script.py --cf=DataFiles/config.yml --logging_file=some_file.log
  • Add a --debug to the above for your first few runs to find uncaught errors

Description of Files

Setup Files
  • requirements.txt: file with necessary python requirements that should be installed via pip
  • customer.sql: commands for generating the database to interact with these scripts
Main Executor files:
  • powerbi_main_script.py: Main script responsible for retrieving information from VCO.
  • inventory_sla.py: Simple script to count customers and edges. Easy way to check if all customers/edges are getting counted.
Variable Files:
  • DataFiles/config.yml: primary config file
  • Objects/Config.py: Object to store data from the config files
  • DataFiles/vco_list.yml: VCO Access and information.
  • DataFiles/country.json: standardizaton information for world regions/countries
Function Files:
  • VCOClient.py: Provided by VeloCloud Engineering provides basic call api calls for VCO.
  • fun_mysql_insert.py: All functions for mysql inserts
  • fun_mysql_queries.py: All functions for mysql queries
  • Functions/sql_upserts.py: All functions for mysql update/inserts
  • Functions/vco_calls.py: Functions that pull data from the VCO API
  • Functions/data_sanitization.py: Generic data sanitization functions to help with data integrity
  • Functions/helpers.py: Generic helper functions for data conversion etc.
  • powerbi_main_fun.py: Provides functions for main powerbi script.

vmware-sd-wan-velocloud-bi-intake's People

Contributors

adamlogan73 avatar vaishprabakar 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.