Skip to main content

Python package for interacting with IP Fabric Diagrams

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

IP Fabric

ipfabric_diagrams is a Python module for connecting to and graphing topologies against an IP Fabric instance.

About

Founded in 2015, IP Fabric develops network infrastructure visibility and analytics solution to help enterprise network and security teams with network assurance and automation across multi-domain heterogeneous environments. From in-depth discovery, through graph visualization, to packet walks and complete network history, IP Fabric enables to confidently replace manual tasks necessary to handle growing network complexity driven by relentless digital transformation.

v6.3.1 Deprecation Notices

In ipfabric>=v6.3.1 Python 3.7 support will be removed. This was originally planned for v7.0.0 however to add new functionality of Pandas Dataframe we are required to move this forward.

Python 3.7 is now End of Life as of June 27th 2023

v7.0.0 Deprecation Notices

In ipfabric>=v7.0.0 the following will be deprecated:

  • ipfabric_diagrams package will move to ipfabric.diagrams
  • The use of token='<TOKEN>' or username='<USER>', password='<PASS>' in IPFClient() will be removed:
    • Token: IPFClient(auth='TOKEN')
    • User/Pass: IPFClient(auth=('USER', 'PASS'))
    • .env file will only accept IPF_TOKEN or (IPF_USERNAME and IPF_PASSWORD) and not auth

Versioning

Starting with IP Fabric version 5.0.x the python-ipfabric and python-ipfabric-diagrams will need to match your IP Fabric version. The API's are changing and instead of api/v1 they will now be api/v5.0.

Version 5.1 will have backwards compatability with version 5.0 however 6.0 will not support any 5.x versions. By ensuring that your ipfabric SDK's match your IP Fabric Major Version will ensure compatibility and will continue to work.

Installation

pip install ipfabric-diagrams

Introduction

This package is used for diagramming via the API for IP Fabric v4.3.0.
Examples can be located under examples directory.

Authentication

Please take a look at python-ipfabric for all authentication options.

from ipfabric.diagrams import IPFDiagram
ipf = IPFDiagram(base_url='https://demo3.ipfabric.io/', auth='token', verify=False, timeout=15)

Development

IPFabric uses poetry for the python packaging module. Install poetry globally:

pip install poetry

To install a virtual environment run the following command in the root of this directory.

poetry install

To test and build:

poetry run pytest
poetry build

Prior to pushing changes run:

poetry run black ipfabric_diagrams ipfabric
poetry update

Project details


Download files

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

Source Distribution

ipfabric_diagrams-6.3.1.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ipfabric_diagrams-6.3.1-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file ipfabric_diagrams-6.3.1.tar.gz.

File metadata

  • Download URL: ipfabric_diagrams-6.3.1.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.9.9 Windows/10

File hashes

Hashes for ipfabric_diagrams-6.3.1.tar.gz
Algorithm Hash digest
SHA256 c2da5e45fe43404ca596c18f89e46ab39bbf621988fb9f59958bedfe65b1ea53
MD5 e43ef7d071f4dac2d3ef494818f47f35
BLAKE2b-256 59984e61776f392b167d59099dd785452ca9f682d8c693c9e04a8555710e89bd

See more details on using hashes here.

File details

Details for the file ipfabric_diagrams-6.3.1-py3-none-any.whl.

File metadata

  • Download URL: ipfabric_diagrams-6.3.1-py3-none-any.whl
  • Upload date:
  • Size: 22.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.9.9 Windows/10

File hashes

Hashes for ipfabric_diagrams-6.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c1d20cef4043c79227da5346f90c4b1a5fd8b4695ab81c8d55c044390d359a11
MD5 dd1980cb4803c6b8a5a0d7fc5d460047
BLAKE2b-256 339fa6f4279b100a10625ee434b292d6b528da23608ad0c46ce35ff85d68581d

See more details on using hashes here.

Supported by

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