mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
ISIS-adjacency polling support (#12461)
* init
* Add adjacency polling support
* Format messages
* Fix prints
* Apply fixes from StyleCI
* Fix schema
* Schema fix
* Alert rule example
* Remove display format
* Change option order
* Add test data
* Add test data
* Test data
* Review fixes
* Remove duplicate MIB-file
* Add cleanup
* Fix
* Print fix
* Remove extra cleanup
* Revert "Remove duplicate MIB-file"
This reverts commit 4b3cf8127c
.
* Remove unneeded MIB-files
* Add check for empty array
* Apply fixes from StyleCI
* Review fixes
* StyleCI
* StyleCI
* Apply fixes from StyleCI
* typo
* Update function calls on pages
* Linting fixes
* Apply fixes from StyleCI
* Discovery module
* Add discovery module
* Apply fixes from StyleCI
* Update example alert rule
Co-authored-by: ottorei <ottorei@users.noreply.github.com>
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
|
||||
class CreateIsisAdjacenciesTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('isis_adjacencies', function (Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->integer('device_id')->index();
|
||||
$table->integer('port_id')->index();
|
||||
$table->integer('ifIndex')->index();
|
||||
$table->string('isisISAdjState', 13);
|
||||
$table->string('isisISAdjNeighSysType', 128);
|
||||
$table->string('isisISAdjNeighSysID', 128);
|
||||
$table->string('isisISAdjNeighPriority', 128);
|
||||
$table->unsignedBigInteger('isisISAdjLastUpTime');
|
||||
$table->string('isisISAdjAreaAddress', 128);
|
||||
$table->string('isisISAdjIPAddrType', 128);
|
||||
$table->string('isisISAdjIPAddrAddress', 128);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('isis_adjacencies');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user