. * * @package LibreNMS * @link http://librenms.org * @copyright 2021 Tony Murray * @author Tony Murray */ namespace LibreNMS\OS; use App\Models\Device; use LibreNMS\OS; class PbnCp extends OS { public function discoverOS(Device $device): void { parent::discoverOS($device); // yaml // normalize MAC address (serial) $device->serial = str_replace([' ', ':', '-', '"'], '', $device->serial); } }