WAN speed is reported 1000× too high #2

Closed
opened 2026-10-14 08:58:53 +00:00 by christianmanivong · 0 comments
Owner

fritzbox.py ~263: "speed": … NewLayer1DownstreamMaxBitRate / 1000. The value is bit/s, so this gives kbit/s, while NAPALM's speed is Mbit/s. The test fixture's 250 000 000 bit/s comes out as 250 000 "Mbit". Fix: / 1_000_000.

Prio P3.

`fritzbox.py` ~263: `"speed": … NewLayer1DownstreamMaxBitRate / 1000`. The value is bit/s, so this gives kbit/s, while NAPALM's `speed` is Mbit/s. The test fixture's 250 000 000 bit/s comes out as 250 000 "Mbit". Fix: `/ 1_000_000`. Prio P3.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: NAPALM/napalm-fritzbox#2