librenms/resources
Tony Murray d8c372bbf4
Refactor MAC utilities into a single class (#15379)
* Refactor MAC utils to a new utility class

* Apply fixes from StyleCI

* Inline functions
Add tests
Handle bridgeid format

* Apply fixes from StyleCI

* Dedicated code path for stp bridge parsing, and improve STP output a bit

* Correctly parse dot1dBaseBridgeAddress and don't store int in bool field

* trim any unexpected character from bridge addresses, add extra test data.

* better comment

* barsBridge can handle dot1dBaseBridgeAddress correctly now

* parseBridge, check for properly formatted mac first.

* update test data, empty data = empty mac

* Fix new usage after rebase

* import

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
2023-10-06 07:34:14 -05:00
..
css PHP-Flasher for toast messages (#13401) 2021-10-29 09:13:56 -05:00
js Implement RBAC (only built in roles) (#15212) 2023-08-28 00:13:40 -05:00
sass Dispatcher Service settings (#11760) 2020-06-08 08:27:03 -05:00
views Refactor MAC utilities into a single class (#15379) 2023-10-06 07:34:14 -05:00