Skip to main content

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.

Metadata

Release files for pybfe 2019.11.1.823

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for pybfe 2019.11.1.823
File Interpreter ABI Platform
pybfe-2019.11.1.823-py2.py3-none-any.whl Python 3, Python 2 none any Details

Release files / pybfe-2019.11.1.823-py2.py3-none-any.whl

Download URL pybfe-2019.11.1.823-py2.py3-none-any.whl
Size 124.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
00794eddf6b0f8deb01e45420483d2419d67f7daf57ab5c172df6b2c4f6dfea2
BLAKE2b-256 checksum
How to use checksums
1e482919ad74c12cd48496d71e9e0d7738dc0f3f33fecb4423042af0af1a9d4e
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

2019.11.1.823 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page