Skip to content

Commit

Permalink
Note 'WONTIX' bug re #757 in code
Browse files Browse the repository at this point in the history
  • Loading branch information
barryo committed Nov 28, 2021
1 parent 926211d commit 99ec092
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions app/Models/Aggregators/SwitcherAggregator.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,22 @@
* IXP\Models\Aggregators\SwitcherAggregator
*
* @property int $id
* @property int|null $infrastructure
* @property int|null $cabinetid
* @property int|null $vendorid
* @property string|null $name
* @property string|null $hostname
* @property string|null $ipv4addr
* @property string|null $ipv6addr
* @property string|null $snmppasswd
* @property int|null $infrastructure
* @property string|null $model
* @property bool|null $active
* @property string|null $notes
* @property string|null $hostname
* @property string|null $os
* @property string|null $osDate
* @property string|null $osVersion
* @property string|null $lastPolled
* @property string|null $notes
* @property string|null $serialNumber
* @property string|null $lastPolled
* @property int|null $mauSupported
* @property int|null $asn
* @property string|null $loopback_ip
Expand Down Expand Up @@ -155,6 +155,9 @@ public static function getByLocationInfrastructureSpeed( int $infra = null, int
*/
public static function getConfiguration( int $switchid = null, int $infraid = null, int $facilityid = null, int $speed = null, int $vlanid = null, bool $rsclient = false, bool $ipv6enabled = false ): array
{
// BUGLET: see https://github.com/inex/IXP-Manager/issues/757
// "Switch configuration port list erroneously lists non-rate limited port as rate limited"

return self::selectRaw(
's.name AS switchname,
s.id AS switchid,
Expand Down

0 comments on commit 99ec092

Please sign in to comment.