show power inline is missing: PoE is modelled and displayed, but the console cannot report it #1295
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge#1295
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PoE is modelled, displayed and tested — and the console cannot report it.
Simulator.computePoe()has allocated the budget since PoE was modelled: ports served in name order, a denialemitting a
poe-denyevent with a reason, the powered device flaggedunpowered. The inspector panel displaysthe whole thing. The console — the surface this project is for — has no
showthat mentions it, so "how muchpower is drawn, and why did that port get nothing" can only be answered by opening a browser.
Every other modelled mechanism has a
show: interfaces, VLANs, MAC table, ARP, IP routes, VRRP, LLDP,etherchannel, spanning tree, DHCP pools, DNS zones. PoE is the one that does not.
This is a read-only view of an existing result, not a new mechanism: no configuration surface, no new
allocation rule, and every figure taken from
sim.poe.What it must get right
an operator is usually asking about. The engine has no entry for a shut-down, unplugged, or non-PD port, so the
console names it from the hardware and gives the reason in the same words
show interfacesuses;reason(andremaining)on the denied port entry as well as in the event, so the two cannot drift. The panel already counted denials
with no reason at all;
nothing plugged inis how the one row that matters getsmissed; any of them can still be asked for by name;
Not measured (no simulation run): nothing has computed the power budget yet, not zeros;0 Wit nevermeasured;
show power inline: the console reports PoE (#1295) #1296