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:
ottorei
2021-06-11 03:42:34 +03:00
committed by GitHub
parent 84c6d215cf
commit 69397ea70f
22 changed files with 19472 additions and 3458 deletions

View File

@@ -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');
}
}