The PoE panel powers ports the engine has shut down, and denies the wrong one #1293
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jaylouisw/packetforge#1293
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?
The inspector panel powers devices the engine is not powering.
poeSummary()inweb/app.jsis a second implementation ofSimulator.computePoe(), because the browser cannotrequirethe engine. The engine walksactiveInterfaces(), so a shut-down PSE port serves no power. The panelwalked every port. Measured on a PSE with its only PSE port shut down and a powered device behind it:
And with the budget tight, the panel marked the wrong port denied, because it powered a port the engine had
skipped and then ran out of budget on the port the engine was actually powering:
test/ui-render.test.jsalready compared the two — on one lab, with two powered devices and a tight budget,which is the one arrangement where both copies happen to agree. One comparison is not agreement.
What "done" looks like
decoration;
PoE in use 0 Wwhen the only PSE port isshut down, with nothing flagged
DENIEDbecause nothing was asked for.