mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix Port Channels take 2 (#16246)
* Resubmit of #16227 * Add missing new files
This commit is contained in:
@@ -871,6 +871,11 @@ class Device extends BaseModel
|
||||
return $this->hasMany(\App\Models\PortsNac::class, 'device_id', 'device_id');
|
||||
}
|
||||
|
||||
public function portsStack(): HasMany
|
||||
{
|
||||
return $this->hasMany(\App\Models\PortStack::class, 'device_id', 'device_id');
|
||||
}
|
||||
|
||||
public function portsStp(): HasMany
|
||||
{
|
||||
return $this->hasMany(\App\Models\PortStp::class, 'device_id', 'device_id');
|
||||
|
Reference in New Issue
Block a user