librenms/includes/html/graphs/macaccounting
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
..
auth.inc.php Refactor MAC utilities into a single class (#15379) 2023-10-06 07:34:14 -05:00
bits.inc.php Apply fixes from StyleCI (#12120) 2020-09-21 15:40:17 +02:00
pkts.inc.php Apply fixes from StyleCI (#12120) 2020-09-21 15:40:17 +02:00