Open BYT3M3 opened 6 months ago
Today I created PR #54 which adds documents for virtual machines. If you're interested in implementing it yourself this might be a good starting point.
If not, I may do it when I have some free time. It's just copying stuff arround and testing if the changes work as expected.
Beside electrical schematics which document types do you need?
Beside electrical schematics which document types do you need?
The bare minimum is to have support for PDF and PNG.
It would be ideal if I could simply upload the actual CAD files (autocad DWG/DXF, EPlan, QElectrotech, ...).
Allowed filetypes are set globally. I mean the choices for the document type field in netbox, e.g.:
CHOICES = [
('diagram', 'Network Diagram', 'green'),
('manual', 'Manual', 'pink'),
('purchaseorder', 'Purchase Order', 'orange'),
('quote', 'Quote', 'indigo'),
('supportcontract', 'Support Contract', 'blue'),
('other', 'Other', 'gray'),
]
For power panels I already have:
CHOICES = [
('schematic', 'Electrical Schematic', 'red'),
('other', 'Other', 'gray'),
]
The extension is working now, so it would be nice to get some feedback regarding the document types. Otherwise I will convert this draft pr to an pr that can be reviewed and merged.
It would be nice to be able to add electrical schematics for every power panel.