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.

v7.0.0 Deprecation Notices

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

  • ipfabric_diagrams package will move to ipfabric.diagrams
  • Python 3.7 support will be removed.
  • 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.2.0b1.tar.gz (16.9 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.2.0b1-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file ipfabric_diagrams-6.2.0b1.tar.gz.

File metadata

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

File hashes

Hashes for ipfabric_diagrams-6.2.0b1.tar.gz
Algorithm Hash digest
SHA256 6826fe9fc90fc49c953f296ba6da9fa667ee66752bae3b37003f1401705cbb5f
MD5 9f5761ab63bc68c7887e3097212eadd7
BLAKE2b-256 a24e5f02e4aa6ec9ccace4837a8acb556233830ade45e0fab379670d73613c95

See more details on using hashes here.

File details

Details for the file ipfabric_diagrams-6.2.0b1-py3-none-any.whl.

File metadata

File hashes

Hashes for ipfabric_diagrams-6.2.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 29fb7bf2f64beb3335f5f4742fcc9ffb8692f1acdfd9f27329950a8734450174
MD5 3ecb4695555bb0dc9eaa600b6ce56e55
BLAKE2b-256 cd87048dcfe81aec92a333e6c62ff3a069b7447e9432f8ea1b5bb37b53ca1659

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