Feature request: Description for modules in inventory #819

Closed
opened 2025-12-29 16:26:04 +01:00 by adam · 3 comments
Owner

Originally created by @VictorJ76 on GitHub (Mar 30, 2017).

Actually the modules in inventory have Name, Manufacturer, Part ID, Serial number criteria but we cant specify description.

My demand is to have the same criteria in a module as a show inventory command in Cisco IOS.

To be more precisely, on Cisco we have a Name, Description, PID, VID and the serial number.

Originally created by @VictorJ76 on GitHub (Mar 30, 2017). Actually the modules in inventory have Name, Manufacturer, Part ID, Serial number criteria but we cant specify description. My demand is to have the same criteria in a module as a `show inventory `command in Cisco IOS. To be more precisely, on Cisco we have a Name, Description, PID, VID and the serial number.
adam closed this issue 2025-12-29 16:26:04 +01:00
Author
Owner

@marc-us commented on GitHub (Mar 30, 2017):

I already have a patch available for this request. Is is quite simple.
Feel free to remove not needed fields.
https://github.com/digitalocean/netbox/issues/987

Jeremy: if you would like to I am here to do the napalm integration.

@marc-us commented on GitHub (Mar 30, 2017): I already have a patch available for this request. Is is quite simple. Feel free to remove not needed fields. https://github.com/digitalocean/netbox/issues/987 Jeremy: if you would like to I am here to do the napalm integration.
Author
Owner

@VictorJ76 commented on GitHub (Mar 31, 2017):

Thank for replying, your patch looks great !
I've an issue when adding it.

<class 'django.db.utils.ProgrammingError'>

column dcim_module.class_id does not exist
LINE 1: ...cim_module"."serial", "dcim_module"."discovered", "dcim_modu...

Do I have to add columns in database ?

@VictorJ76 commented on GitHub (Mar 31, 2017): Thank for replying, your patch looks great ! I've an issue when adding it. ``` <class 'django.db.utils.ProgrammingError'> column dcim_module.class_id does not exist LINE 1: ...cim_module"."serial", "dcim_module"."discovered", "dcim_modu... ``` Do I have to add columns in database ?
Author
Owner

@VictorJ76 commented on GitHub (Mar 31, 2017):

Solved, thank for you patch, it's exactly what I wanted

@VictorJ76 commented on GitHub (Mar 31, 2017): Solved, thank for you patch, it's exactly what I wanted
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#819