mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
OSPF port module (#13498)
* OSPF to module * Update mock * lint and style fixes * enums as strings
This commit is contained in:
@@ -700,6 +700,11 @@ class Device extends BaseModel
|
||||
return $this->hasMany(\App\Models\MuninPlugin::class, 'device_id');
|
||||
}
|
||||
|
||||
public function ospfAreas(): HasMany
|
||||
{
|
||||
return $this->hasMany(\App\Models\OspfArea::class, 'device_id');
|
||||
}
|
||||
|
||||
public function ospfInstances(): HasMany
|
||||
{
|
||||
return $this->hasMany(\App\Models\OspfInstance::class, 'device_id');
|
||||
|
Reference in New Issue
Block a user