Add ISIS discovery and polling for iosxe devices (#13880)

* Add ISIS discovery and polling for iosxe devices

* remove ModuleModelObserver

* add php stan exclusions as they are already present for the base module

* change port_id to cached lookup

* Create model object instead of using arrays and set properties directly

* remove unneeded space...

* remove null from non nullable field

* revert to extending from ciscowlc rather than os

* remove OS module

* remove phpstan exclusions and fix errors

* add spacing...

* add spacing....

* add spacing

* again...

* Add tests

* Update Iosxe.php

* Update IsisAdjacency.php

* Create 2022_04_08_085504_isis_adjacencies_table_add_index.php

* Update db_schema.yaml

* Update iosxe_asr920.json

* Update Iosxe.php

* Update Iosxe.php

* Update junos_mx5t_isis.json

Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
William Irvine
2022-04-09 09:33:41 +12:00
committed by GitHub
parent 4910761c25
commit 5672d10a79
7 changed files with 8599 additions and 1 deletions

View File

@@ -37,6 +37,7 @@ class IsisAdjacency extends PortRelatedModel implements Keyable
protected $fillable = [
'device_id',
'index',
'port_id',
'ifIndex',
'isisCircAdminState',
@@ -59,6 +60,6 @@ class IsisAdjacency extends PortRelatedModel implements Keyable
public function getCompositeKey()
{
return $this->ifIndex;
return $this->ifIndex . $this->index;
}
}