Refactor FDB Tables to Laravel (#9669)

* Refactor FDB Tables to Laravel
Hopefully much better performance with large tables.
Better dns resolution (limit to 4 IPs tried per MAC)

* update style

* de-duplicate IPs

* fixed column width for mac and vlan

* Make DNS column visibility control whether or not we send the dns query.
Hide that column by default.
This commit is contained in:
Tony Murray
2019-01-20 08:43:36 -06:00
committed by GitHub
parent e2c4fa971e
commit ef41c9fd7d
14 changed files with 379 additions and 178 deletions

11
app/Models/Ipv4Mac.php Normal file
View File

@@ -0,0 +1,11 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Ipv4Mac extends Model
{
protected $table = 'ipv4_mac';
public $timestamps = false;
}