It would be interesting to be able to configure interfaces as a POE port when choosing the 'form factor' and for example choosing the poe type (15.4w, 30w, 60w) etc...
This feature request lacks sufficient detail to be actionable. Per the contributing guidelines:
When submitting a feature request on GitHub, be sure to include the following:
A detailed description of the proposed functionality
A use case for the feature; who would use it and what value it would add to NetBox
A rough description of changes necessary to the database schema (if applicable)
Any third-party libraries or other resources which would be involved
Please extend the request so that it meets all of these requirements. If no response is received within a week, this issue will be closed.
A detailed description of the proposed functionality
A use case for the feature; who would use it and what value it would add to NetBox
A rough description of changes necessary to the database schema (if applicable)
OR
A new optional dropdown list below the form factor:
POE Port:
Any third-party libraries or other resources which would be involved
Some devices also produce/consume nonstandard POE schemes. There's some general agreement on what "passive POE mode A" and "passive POE mode B" means, but even then there's a variety of other specs to consider.
Ubiquiti, for example, does a lot of passive POE. They have a fun compatibility matrix of which UniFi APs work with which kinds of power, overflowing with asterisks and parentheticals because nothing can ever be simple. Worse, a single Ubiquiti switch port might be able to output both passive POE of a particular variety and standard POE.
Voltages are critically important, both outputs and tolerances. For example, you might have a 48V passive POE adapter paired with a UAP-AC-PRO, and that's fine -- but be careful not to plug it into a UAP-AC-LR lest the magic smoke escape. Yes, these products are adjacent in the brochure. Yes, this is terrible.
Amperages and pinouts are important too, hence the whole pile of different Ubiquiti power adapters. Yes, they sell two different 24V 24W passive POE adapters with different pinouts. Yes, this is terrible.
Mikrotik runs a fair amount of nonstandard POE as well. Some of their devices raise an interesting point: for example, the hAP can receive power over ether1 while providing power over ether5. This configuration is fixed in hardware, and as long as I'm documenting the POE role of each interface, I would like to distinguish source from sink.
I think "POE" should be a dropdown modifying an interface, independent of media type, and it definitely needs to support more than three options.
These have existing names, such as PoE PD (powered device, ether1 in the example above) or PoE PSE (power sourcing equipment, ether5). Don't worry, @willglynn forgot to mention UPoE (Cisco up to 60W) - the insanity grows.
I've been taking a (very) preliminary look at what it would take to resolve #3377. It would be interesting to have this affect the power consumption for a given device. Eg 50W for the base switch, plus the PoE load, and have that trail on back.
Cascading the power consumption through devices (as requested for power connections in #3377) would be rather useful with this too
Given that #5401 will add custom field support for interfaces and other device components, I have to wonder whether it's worth pursuing this, or if we're better off just letting users define whatever fields they deem appropriate for tracking PoE.
I have to disagree, PoE is a critical part of the real-world definition of many networks. It should be built in and standardized, not left to end users to tack on with custom fields.
@abrahamvegh That's fair, however this issue has been open for over three years with very little discussion and still lacks a firm proposed implementation. Would you like to propose a specific implementation?
@jeremystretch I鈥檓 happy to try and take a pass at it. This is a loose collection of my thoughts on what a useful implementation of PoE looks like in NetBox; hopefully this can serve as a good starting point for a continued discussion and implementation.
There is some cross-coverage of possible values in this list. This is because it is unclear to me whether or not the maintainers prefer to explicitly store all possible states, or derive some, or all.
As an example: Perhaps it makes the most sense to focus on extending just Interfaces, and derive anything further on the Device and Rack level using just that information. I don鈥檛 necessarily think that is the best way to go about it, I just don鈥檛 know the codebase well enough to make the assumption either way.
Most helpful comment
Some devices also produce/consume nonstandard POE schemes. There's some general agreement on what "passive POE mode A" and "passive POE mode B" means, but even then there's a variety of other specs to consider.
Ubiquiti, for example, does a lot of passive POE. They have a fun compatibility matrix of which UniFi APs work with which kinds of power, overflowing with asterisks and parentheticals because nothing can ever be simple. Worse, a single Ubiquiti switch port might be able to output both passive POE of a particular variety and standard POE.
Voltages are critically important, both outputs and tolerances. For example, you might have a 48V passive POE adapter paired with a UAP-AC-PRO, and that's fine -- but be careful not to plug it into a UAP-AC-LR lest the magic smoke escape. Yes, these products are adjacent in the brochure. Yes, this is terrible.
Amperages and pinouts are important too, hence the whole pile of different Ubiquiti power adapters. Yes, they sell two different 24V 24W passive POE adapters with different pinouts. Yes, this is terrible.
Mikrotik runs a fair amount of nonstandard POE as well. Some of their devices raise an interesting point: for example, the hAP can receive power over
ether1while providing power overether5. This configuration is fixed in hardware, and as long as I'm documenting the POE role of each interface, I would like to distinguish source from sink.I think "POE" should be a dropdown modifying an interface, independent of media type, and it definitely needs to support more than three options.