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

Prerequisites

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
      bf_session:
        host: localhost
        name: local_batfish

to:

    - name: Setup connection to service
      bf_session:
        host: localhost
        name: local_batfish
        parameters:
          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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pybfe-2019.11.1.823-py2.py3-none-any.whl (124.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pybfe-2019.11.1.823-py2.py3-none-any.whl.

File metadata

  • Download URL: pybfe-2019.11.1.823-py2.py3-none-any.whl
  • Upload date:
  • Size: 124.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.6.7

File hashes

Hashes for pybfe-2019.11.1.823-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 00794eddf6b0f8deb01e45420483d2419d67f7daf57ab5c172df6b2c4f6dfea2
MD5 d7bf9a5e12df897b6d3a888a870633d9
BLAKE2b-256 1e482919ad74c12cd48496d71e9e0d7738dc0f3f33fecb4423042af0af1a9d4e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page