Skip to main content

Mini Python package for interacting with IP Fabric using requests.

Project description

Mini IP Fabric Python SDK

IP Fabric

IP Fabric is a vendor-neutral network assurance platform that automates the holistic discovery, verification, visualization, and documentation of large-scale enterprise networks, reducing the associated costs and required resources whilst improving security and efficiency.

It supports your engineering and operations teams, underpinning migration and transformation projects. IP Fabric will revolutionize how you approach network visibility and assurance, security assurance, automation, multi-cloud networking, and trouble resolution.

Integrations or scripts should not be installed directly on the IP Fabric VM unless directly communicated from the IP Fabric Support or Solution Architect teams. Any action on the Command-Line Interface (CLI) using the root, osadmin, or autoboss account may cause irreversible, detrimental changes to the product and can render the system unusable. networking, and trouble resolution.

Project Description

Minimal Python Client for querying IP Fabric Table or Intent Summary using requests.

For full feature client please see ipfabric.

Versioning

Major.Minor.Patch: For best results please match the Major.Minor to your IP Fabric installation.

Installation

pip install mini_ipfabric

Configuration/Usage

import os
from mini_ipfabric import IPFClient

ipf = IPFClient(base_url=os.getenv('IPF_URL'), auth=os.getenv('IPF_TOKEN'), verify=True)

print(ipf.technology.keys())
print(ipf.inventory.keys())

data = ipf.fetch_all(endpoint='/inventory/devices', reports=False, filters=None, columns=None)
# endpoint can be API or Web endpoint.

intents = ipf.get_intents()

Support

Please open a ticket on GitLab.

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

mini_ipfabric-6.10.0.tar.gz (169.2 kB view details)

Uploaded Source

Built Distribution

mini_ipfabric-6.10.0-py3-none-any.whl (171.6 kB view details)

Uploaded Python 3

File details

Details for the file mini_ipfabric-6.10.0.tar.gz.

File metadata

  • Download URL: mini_ipfabric-6.10.0.tar.gz
  • Upload date:
  • Size: 169.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.9.9 Windows/10

File hashes

Hashes for mini_ipfabric-6.10.0.tar.gz
Algorithm Hash digest
SHA256 20f52932011f6f7224524346f2f14d72ecc0a000e7bee9c628526dbaf84463b0
MD5 32f3c401bd074e02b4b12be053afc329
BLAKE2b-256 82457bb374d96d917badf0c106c450b071617e1708ce73a75798de93d17f751d

See more details on using hashes here.

File details

Details for the file mini_ipfabric-6.10.0-py3-none-any.whl.

File metadata

  • Download URL: mini_ipfabric-6.10.0-py3-none-any.whl
  • Upload date:
  • Size: 171.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.9.9 Windows/10

File hashes

Hashes for mini_ipfabric-6.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac29a99168269e6a26419dc4a63b33b580cb07b2f5ad6d13c8d45405aa4a68a4
MD5 d60d9b647b3b65e45a75f0aaf20ff8c4
BLAKE2b-256 f087b6024376deee40f97c7f05c771bc68b57f6d7cdf007b45ae5f7e54b2d7eb

See more details on using hashes here.

Supported by

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