netdisco / snmp-info

Other
35 stars 31 forks source link

pretty format 2.5gbps speeds #500

Closed inphobia closed 8 months ago

inphobia commented 8 months ago

since 2.5gbps remains under the magic number of 4294967295 in ifSpeed we use the speed_map, which didn't know that was a thing. annoyed me that i saw "2500000000" as speed for some interfaces.

5gbps should be ok since will be formatted via the ifhighspeed logic.

looked ad the regress tests but there was no need for a new test for this