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-7.5.0.tar.gz (424.9 kB view details)

Uploaded Source

Built Distribution

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

mini_ipfabric-7.5.0-py3-none-any.whl (432.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mini_ipfabric-7.5.0.tar.gz
  • Upload date:
  • Size: 424.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.8 Windows/11

File hashes

Hashes for mini_ipfabric-7.5.0.tar.gz
Algorithm Hash digest
SHA256 fcfe0110856120477b44757cecc5c21ee348f9a4437293fb95205f53780d90e6
MD5 243525625cc7034dac95d975a2716c36
BLAKE2b-256 8f36ea286eb0769ac8d51974324120a8362661a02f923bcc5ce45775a9bcb7a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mini_ipfabric-7.5.0-py3-none-any.whl
  • Upload date:
  • Size: 432.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.8 Windows/11

File hashes

Hashes for mini_ipfabric-7.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d03087e43193b350ac81bcd025b78a9d6872db474c616d6f7a31b4ae7ee85f9e
MD5 c8f1252479b18b6cd9a73bfab6e61efa
BLAKE2b-256 ab60a28f4a420c4c71c7e32c482ed443a80d912f564dd7ae24f50782b236579c

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