Include vendor and description in the netbox API endpoint

Bug #1478827 reported by Aaron
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Network Administration Visualized
Fix Released
Wishlist
John-Magne Bredal

Bug Description

I'm trying to get all data necessary from the netboxes to feed my rancid deployment. The only thing I'm missing is the vendor + description of the equipment so it can be totally automated.

Thank you for your awesome work!

Tags: api netbox rancid
Changed in nav:
milestone: none → 4.3.1
assignee: nobody → John-Magne Bredal (john-m-bredal)
Revision history for this message
John-Magne Bredal (john-m-bredal) wrote :

By description I assume you mean type description, as vendor also follows from the type of the equipment.

After a quick discussion we decided to put this inline in the netbox endpoint. The depth of the netbox endpoint is set so that the API will provide nested information from all the related objects. This will make the endpoint slower, but as paging, search and filtering is enabled this will hopefully be acceptable.

Filtering can still be used by id for the related objects, i.e. you still can filter by category=<catid>, organization=<orgid>.

Revision history for this message
John-Magne Bredal (john-m-bredal) wrote :
Changed in nav:
status: New → Fix Committed
summary: - API: include vendor and descriptio in the netbox report
+ nclude vendor and descriptio in the netbox report
summary: - nclude vendor and descriptio in the netbox report
+ Include vendor and descriptio in the netbox API endpoint
Changed in nav:
importance: Undecided → Wishlist
summary: - Include vendor and descriptio in the netbox API endpoint
+ Include vendor and description in the netbox API endpoint
Changed in nav:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.