Fix Port Channels take 2 (#16246)

* Resubmit of #16227

* Add missing new files
This commit is contained in:
Tony Murray
2024-07-26 08:45:34 -05:00
committed by GitHub
parent e45dd59f77
commit b41d1b7ffb
20 changed files with 749 additions and 148 deletions

View File

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