Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Add documents for power panels #53

Open
BYT3M3 opened this issue Apr 3, 2024 · 5 comments · May be fixed by #58
Open

Feature request: Add documents for power panels #53

BYT3M3 opened this issue Apr 3, 2024 · 5 comments · May be fixed by #58

Comments

@BYT3M3
Copy link

BYT3M3 commented Apr 3, 2024

It would be nice to be able to add electrical schematics for every power panel.

@felbinger
Copy link
Contributor

felbinger commented Apr 16, 2024

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.

@felbinger
Copy link
Contributor

Beside electrical schematics which document types do you need?

@BYT3M3
Copy link
Author

BYT3M3 commented Apr 18, 2024

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, ...).

@felbinger
Copy link
Contributor

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'),
    ]

@felbinger
Copy link
Contributor

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.

@felbinger felbinger linked a pull request Apr 26, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants