All Projects → batfish → Pybatfish

batfish / Pybatfish

Licence: apache-2.0
Python client for Batfish: https://github.com/batfish/batfish

Projects that are alternatives of or similar to Pybatfish

Text generators
Python code for building a text generator using LSTMs.
Stars: ✭ 115 (-0.86%)
Mutual labels:  jupyter-notebook
Flotilla
Reproducible machine learning analysis of gene expression and alternative splicing data
Stars: ✭ 115 (-0.86%)
Mutual labels:  jupyter-notebook
Devops microservices
Supporting material and projects for a course on Cloud DevOps: Microservices.
Stars: ✭ 116 (+0%)
Mutual labels:  jupyter-notebook
A Nice Mc
Code for "A-NICE-MC: Adversarial Training for MCMC"
Stars: ✭ 115 (-0.86%)
Mutual labels:  jupyter-notebook
Cpm
Convolutional Pose Machines in TensorFlow
Stars: ✭ 115 (-0.86%)
Mutual labels:  jupyter-notebook
Nlp Models Tensorflow
Gathers machine learning and Tensorflow deep learning models for NLP problems, 1.13 < Tensorflow < 2.0
Stars: ✭ 1,603 (+1281.9%)
Mutual labels:  jupyter-notebook
Gutenberg Poetry Corpus
A corpus of poetry from Project Gutenberg
Stars: ✭ 115 (-0.86%)
Mutual labels:  jupyter-notebook
Art of data visualization
The art of effective visualization of multi-dimensional data
Stars: ✭ 116 (+0%)
Mutual labels:  jupyter-notebook
Jwst
Python library for science observations from the James Webb Space Telescope
Stars: ✭ 115 (-0.86%)
Mutual labels:  jupyter-notebook
Pyrosetta.notebooks
Jupyter Notebooks for learning the PyRosetta platform for biomolecular structure prediction and design
Stars: ✭ 116 (+0%)
Mutual labels:  jupyter-notebook
Baselines Results
Stars: ✭ 115 (-0.86%)
Mutual labels:  jupyter-notebook
Bayareadlschool
Slides and exercises for the Theano tutorial at the Deep Learning School in Stanford, September 24-25, 2016
Stars: ✭ 115 (-0.86%)
Mutual labels:  jupyter-notebook
Emp
Code repository of the Earth Microbiome Project.
Stars: ✭ 115 (-0.86%)
Mutual labels:  jupyter-notebook
Lnpr book codes
Codes for Lecture Notes in Probabilistic Robotics
Stars: ✭ 115 (-0.86%)
Mutual labels:  jupyter-notebook
Torch npss
pytorch implementation of Neural Parametric Singing Synthesizer 歌声合成
Stars: ✭ 115 (-0.86%)
Mutual labels:  jupyter-notebook
Robust Physical Attack
Physical adversarial attack for fooling the Faster R-CNN object detector
Stars: ✭ 115 (-0.86%)
Mutual labels:  jupyter-notebook
Dat8
General Assembly's 2015 Data Science course in Washington, DC
Stars: ✭ 1,516 (+1206.9%)
Mutual labels:  jupyter-notebook
Know Your Intent
State of the Art results in Intent Classification using Sematic Hashing for three datasets: AskUbuntu, Chatbot and WebApplication.
Stars: ✭ 116 (+0%)
Mutual labels:  jupyter-notebook
Stocksentimenttrading
Algorithmic Trading using Sentiment Analysis on News Articles
Stars: ✭ 115 (-0.86%)
Mutual labels:  jupyter-notebook
Hr Depth
[AAAI 2021] HR-Depth : High Resolution Self-Supervised Depth Estimation
Stars: ✭ 116 (+0%)
Mutual labels:  jupyter-notebook

Got questions, feedback, or feature requests? Join our community on Slack!

codecov

Pybatfish

Pybatfish is a Python client for Batfish. Analytics

What is Batfish?

Batfish is a network validation tool that provides correctness guarantees for security, reliability, and compliance by analyzing the configuration of network devices. It builds complete models of network behavior from device configurations and finds violations of network policies (built-in, user-defined, and best-practices).

A primary use case for Batfish is to validate configuration changes before deployment (though it can be used to validate deployed configurations as well). Pre-deployment validation is a critical gap in existing network automation workflows. By Batfish in automation workflows, network engineers can close this gap and ensure that only correct changes are deployed.

Batfish does NOT require direct access to network devices. The core analysis requires only the configuration of network devices. This analysis may be enhanced using additional information from the network such as:

  • BGP routes received from external peers
  • Topology information represented by LLDP/CDP

See www.batfish.org for technical information on how it works. Analytics

What kinds of correctness checks does Batfish support?

Getting to know Batfish

The Batfish YouTube channel (which you can subscribe to for new content) illustrates many types of checks. These checks span a range of network behaviors and device configuration attributes.

Configuration Compliance

  • Flag undefined-but-referenced or defined-but-unreferenced structures (e.g., ACLs, route maps)
  • Configuration settings for MTUs, AAA, NTP, logging, etc. match templates
  • Devices can only be accessed using SSHv2 and password is not null

Reliability

  • End-to-end reachability is not impacted for any flow after any single-link or single-device failure
  • Certain services (e.g., DNS) are globally reachable

Security

  • Sensitive services can be reached only from specific subnets or devices
  • Paths between endpoints are as expected (e.g., traverse a firewall, have at least 2 way ECMP, etc...)

Change Analysis

  • End-to-end reachability is identical across the current and a planned configuration
  • Planned ACL or firewall changes are provably correct and causes no collateral damage for other traffic
  • Two configurations, potentially from different vendors, are functionally equivalent

How do I get started?

If you haven't already installed Batfish, follow the instructions listed in the batfish github repository to do so.

Install Pybatfish

We highly recommend that you install Pybatfish in a Python 3 virtual environment. Details on how to set one up can be found here. Once your virtual environment is setup and activated, upgrade pip and then install pybatfish.

python3 -m pip install --upgrade pip
python3 -m pip install --upgrade pybatfish

Now, you are ready to evaluate your own network with Batfish. We encourage you to use Jupyter notebooks as your starting point, but you can use other methods that you are a comfortable with, e.g., an IDE like PyCharm or an interactive Python shell. If you choose to use Jupyter notebooks as your starting point, you need to install Jupyter in your virtual environment. Jupyter documentation can be found here - but the commands below will get you going.

python3 -m pip install jupyter
jupyter notebook

Our notebooks provide a quick start guide for different use cases. Beyond that, the complete documentation is available on readthedocs.

Pybatfish documentation

Complete documentation of pybatfish APIs is here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].