librenms/app
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
..
Actions fix snmp_disable type (#14650) 2022-11-18 17:30:16 +01:00
Api/Controllers Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
ApiClients Another OR statement in GrayLog API (#15246) 2023-08-25 07:56:29 -05:00
Console Deprecate poller.php (#15370) 2023-10-04 16:32:02 -05:00
Events Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
Exceptions Laravel 9.x Shift (#14504) 2023-04-17 06:51:35 -05:00
Facades Remove Log::event (#14526) 2022-11-09 09:47:19 +01:00
Guards Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
Http Refactor MAC utilities into a single class (#15379) 2023-10-06 07:34:14 -05:00
Jobs remove pingcheck debug statements (#15173) 2023-07-31 12:26:25 -05:00
Listeners Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
Logging Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
Models Vmware vminfo modernize (#15008) 2023-10-05 19:49:26 -05:00
Notifications Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
Observers Show which host marked a device as down. (#15209) 2023-10-05 19:53:38 -05:00
Plugins Fix v2 plugins (#14506) 2022-10-24 21:48:13 -05:00
Policies Implement RBAC (only built in roles) (#15212) 2023-08-28 00:13:40 -05:00
Polling/Measure Move Config loading to a service provider (#13927) 2022-04-22 19:12:07 -05:00
Providers Vmware vminfo modernize (#15008) 2023-10-05 19:49:26 -05:00
View Stp module rewrite (#13570) 2022-01-30 16:28:18 -06:00
Action.php Poller rewrite (Try 2) (#13525) 2021-11-17 19:23:55 -06:00
Checks.php Severity Enum (#14620) 2023-08-05 12:12:36 -05:00
StreamedOutput.php Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00