Skip to main content

Python client and utilities for Batfish Enterprise

Project description

Pybatfish Enterprise

Pybatfish Enterprise is a Python client for Batfish Enterprise.

For the Python client for open-source Batfish, see Pybatfish.

Getting Started


Pybatfish Enterprise requires a Batfish Enterprise backend to work.

Install Pybatfish Enterprise

We highly recommend that you install Pybatfish Enterprise 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, run:

python3 -m pip install pybfe

Using Pybatfish Enterprise

After Pybatfish Enterprise is installed, you can use it in place of Pybatfish in your Ansible plays (which use Batfish Roles).

In your Ansible task that sets up a Batfish service connection, simply add session_type: bfe under parameters, e.g. change your setup task from:

    - name: Setup connection to service
        host: localhost
        name: local_batfish


    - name: Setup connection to service
        host: localhost
        name: local_batfish
          session_type: bfe

After this change, Batfish tasks will benefit from Batfish Enterprise features, and allow you to do things like view the results of your Batfish assertions or fact validation on the Enterprise Dashboard.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pybfe, version 2019.8.29
Filename, size File type Python version Upload date Hashes
Filename, size pybfe-2019.8.29-py2.py3-none-any.whl (116.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page