BREAKING CHANGE
- Dropped Python 3.7 Support as it is End of Life
Feature
- join_table method added to table model.
- You can now export tables as a pandas.DataFrame
- Ensure you install pandas by running
pip install ipfabric[pd]
- Set
export='df'
infetch
,fetch_all
, orall
methods
- Ensure you install pandas by running
- Added
User-Agent
which is set topython-ipfabric-sdk/{sdk_version}
- Added
global_attributes
to Device class - If a filter is applied based on a
color
(intent rule)reports
parameter is automatically added to the payload.
Fix
- Corrected fix for streaming and using
reports
parameter - Fix for returning CSV data
Examples
- examples/join_table.py shows how to join the inventory/devices table with the ACL table.
- examples/dataFrame_example.py shows how to export the inventory/devices table as a DataFrame and merge it with another DataFrame from the ACL table. Exporting the DataFrame as a CSV file.