librenms:master ← murrant:fix_port_speed_set
opened 02:50PM - 21 Aug 23 UTC
Due to a bug all manually configured port speeds were lost and will need to be r…econfigured.
This allows them to work in a way that will prevent that issue in the future by storing the speed with the override.
Includes a notification.
To find ports set incorrectly, you can run this command:
`lnms tinker --execute="dump(DeviceAttrib::where('attrib_type', 'like', 'ifSpeed:%')->where('attrib_value', '1')->select(['device_id', 'attrib_type', 'attrib_value'])->get()->toArray() ?: 'None found')"`
#### Please note
> Please read this information carefully. You can run `./lnms dev:check` to check your code before submitting.
- [x] Have you followed our [code guidelines?](https://docs.librenms.org/Developing/Code-Guidelines/)
- [x] If my Pull Request does some changes/fixes/enhancements in the WebUI, I have inserted a screenshot of it.
- [x] If my Pull Request makes discovery/polling/yaml changes, I have added/updated [test data](https://docs.librenms.org/Developing/os/Test-Units/).
#### Testers
If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`. If there are schema changes, you can ask on discord how to revert.