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.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mini_ipfabric-6.7.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 326574644b6694ca2dd69cb91be9b75ee508a7fb017c186cdf3539dbaa7209ab |
|
MD5 | 4f2739f4e1423f8e1acd380bc24765d2 |
|
BLAKE2b-256 | 544bc870e4418b7f51c2a311c9522a682f37d245976dd8dd78c6030fe3d19c94 |