Mini Python package for interacting with IP Fabric using requests.
Project description
IP Fabric < Human Readable Project Name >
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.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93b4b129f675c539bcec2fc40b5162552f9167e81214e6520ab47f1bc3b4443c |
|
MD5 | 9282a76ff588ff51752aeb8ba1af5d61 |
|
BLAKE2b-256 | 14ac22011666a2d4371e1215926e7a3c004132fc12d23a0d5f2054f7ca0a2233 |