Feature
- Update the
ipfabric.models.Device().fetch_all()
method:- Will check if table has
sn
orlocalSn
column instead of onlysn
-
dev.fetch_all(ipf, 'tables/neighbors/all')
CDP table useslocalSn
column name.
-
- Added
filters
option which will merge a user defined filter with thesn
filter.dev.fetch_all(ipf, 'tables/inventory/interfaces', filters={"l1": ["eq", "up"]})
- Filter was updated to:
{'and': [{'sn': ['eq', '77826161']}, {'l1': ['eq', 'up']}]}
- Will check if table has