-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Modifying a Device Type doesn't update existing devices? #687
Comments
Editing a device type doesn't edit the devices, you should be able to go to the device itself, and add a power port there |
Doesn't look like we were able to add power ports on our PDU device types. rob larose | engineer | rock paper scissors | 212-255-6446 | On Fri, Nov 11, 2016 at 5:57 PM, therealjoshuad notifications@github.com
|
Nope. I create a new device type with "PDU" checked and then create a Other device types (non-PDU) allow me to add power ports. [image: Inline image 3][image: Inline image 2][image: Inline image 1] rob larose | engineer | rock paper scissors | 212-255-6446 | On Fri, Nov 11, 2016 at 6:10 PM, therealjoshuad notifications@github.com
|
when you specify something as a pdu, the interfaces are considered power ports |
Which do you mean? Interfaces still seems to be NICs. I can add Power Outlets to the a PDU device, but I can only add a power --Rob rob larose | engineer | rock paper scissors | 212-255-6446 | On Fri, Nov 11, 2016 at 6:29 PM, LBegnaud notifications@github.com wrote:
|
Your screenshot shows outlets though, not plugs/ports. We're doing UPS with outlets connected to PDU power ports/plugs, then the --Rob This message was composed On Nov 11, 2016, at 7:02 PM, LBegnaud notifications@github.com wrote: [image: image] When you define the device type, you uncheck "this is a network device" I — |
Modifying the components of a device type does not retroactively modify existing devices. This is an intentional limitation to avoid conflicts. NetBox doesn't currently allow you to add power ports to a device which is classified as a PDU, because there's no way to model the power circuits that feed PDUs. This is sort of a place holder for when we incorporate structured power (see #54). This raises a bug in that a PDU device type can be assigned power port templates. I've opened #691 to address this. For now, we simply don't model anything upstream of the PDU; again, #54 is open to extend the data model for this eventually. |
Hi Jeremy, I see -- you're saying the lack of power ports is intentional and the We recognize that you don't model the AC source circuits, but I imagine We're going ahead with our PDUs having power ports. If/when you decide --Rob rob larose | engineer | rock paper scissors | 212-255-6446 | On Mon, Nov 14, 2016 at 10:53 AM, Jeremy Stretch notifications@github.com
|
That's a fair point. NetBox was originally developed to represent data center environments in which power feeds external to each rack are delivered directly to PDUs. #691 will allow the assignment of power ports to PDUs; this will be available in v1.7.1. Once we get around to #54, we'll likely model power feeds the way we do data circuits: a power port can be connected to either a power outlet (upstream device) or to a power circuit. |
Sounds great. Thanks. :-) We love the product, btw -- just the thing for a smallish server room setup --Rob rob larose | engineer | rock paper scissors | 212-255-6446 | On Mon, Nov 14, 2016 at 11:31 AM, Jeremy Stretch notifications@github.com
|
We realized after creating several PDUs that they did not have Power Ports, but we do want to be able to track which UPS they're fed from.
Adding a Power Port to the device type didn't show one on existing devices, though. We had to re-create all the PDUs.
Is there a way to update existing devices w/ changes to the underlying type?
The text was updated successfully, but these errors were encountered: