BsdDriver sets no ROLE, so role_keys_of() resolves to the inherited OSDriver.ROLE = "linux" and primary_role_of(FreeBSDDriver) is "linux". Callers that show or branch on the device class treat a FreeBSD host as Linux.
Fix: set ROLE on BsdDriver (or per OS) once the callers know the new key. napalm-device-types 5.0 drops the "linux" default of OSDriver.
Part of NetOrk/netork#1105. Plan: NAPALM/napalm-device-types docs/STRUCTURE.md (branch docs/structure-plan).
Prio P3: wrong data, no crash.
`BsdDriver` sets no `ROLE`, so `role_keys_of()` resolves to the inherited `OSDriver.ROLE = "linux"` and `primary_role_of(FreeBSDDriver)` is `"linux"`. Callers that show or branch on the device class treat a FreeBSD host as Linux.
Fix: set `ROLE` on `BsdDriver` (or per OS) once the callers know the new key. napalm-device-types 5.0 drops the `"linux"` default of `OSDriver`.
Part of NetOrk/netork#1105. Plan: NAPALM/napalm-device-types `docs/STRUCTURE.md` (branch `docs/structure-plan`).
Prio P3: wrong data, no crash.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
BsdDriversets noROLE, sorole_keys_of()resolves to the inheritedOSDriver.ROLE = "linux"andprimary_role_of(FreeBSDDriver)is"linux". Callers that show or branch on the device class treat a FreeBSD host as Linux.Fix: set
ROLEonBsdDriver(or per OS) once the callers know the new key. napalm-device-types 5.0 drops the"linux"default ofOSDriver.Part of NetOrk/netork#1105. Plan: NAPALM/napalm-device-types
docs/STRUCTURE.md(branchdocs/structure-plan).Prio P3: wrong data, no crash.