Skip to content
Snippets Groups Projects
Commit 11c5e390 authored by Robert Latta's avatar Robert Latta
Browse files

Added interface bundle information

parent 87430c1e
No related branches found
No related tags found
No related merge requests found
......@@ -62,8 +62,14 @@ def poller_interface_oids(hostname):
if not snmp_index:
continue
bundle_parents = r.get('netconf-interface-bundles:%s:%s' % (
hostname, ifc['name'].split('.')[0]))
ifc_data = {
'name': ifc['name'],
'bundle': ifc['bundle'],
'bundle-parents':
json.loads(bundle_parents) if bundle_parents else [],
'snmp-index': snmp_index,
'description': ifc['description'],
'circuits': []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment