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

@@ -36,8 +36,10 @@ class RoutingController implements DeviceTab
public function __construct()
{
$device = DeviceCache::getPrimary();
//dd($device);
$this->tabs = [
'ospf' => $device->ospfInstances()->count(),
'isis' => $device->isisAdjacencies()->count(),
'bgp' => $device->bgppeers()->count(),
'vrf' => $device->vrfs()->count(),
'cef' => $device->cefSwitching()->count(),