OspfNbr
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 19
dl 0
loc 21
c 0
b 0
f 0
1
<?php
2
/**
3
 * OspfNbr.php
4
 *
5
 * -Description-
6
 *
7
 * This program is free software: you can redistribute it and/or modify
8
 * it under the terms of the GNU General Public License as published by
9
 * the Free Software Foundation, either version 3 of the License, or
10
 * (at your option) any later version.
11
 *
12
 * This program is distributed in the hope that it will be useful,
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
15
 * GNU General Public License for more details.
16
 *
17
 * You should have received a copy of the GNU General Public License
18
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
19
 *
20
 * @link       https://www.librenms.org
21
 *
22
 * @copyright  2018 Tony Murray
23
 * @author     Tony Murray <[email protected]>
24
 */
25
26
namespace App\Models;
27
28
use Illuminate\Database\Eloquent\Factories\HasFactory;
29
30
class OspfNbr extends DeviceRelatedModel
31
{
32
    use HasFactory;
33
34
    public $timestamps = false;
35
    protected $fillable = [
36
        'device_id',
37
        'port_id',
38
        'ospf_nbr_id',
39
        'context_name',
40
        'ospfNbrIpAddr',
41
        'ospfNbrAddressLessIndex',
42
        'ospfNbrRtrId',
43
        'ospfNbrOptions',
44
        'ospfNbrPriority',
45
        'ospfNbrState',
46
        'ospfNbrEvents',
47
        'ospfNbrLsRetransQLen',
48
        'ospfNbmaNbrStatus',
49
        'ospfNbmaNbrPermanence',
50
        'ospfNbrHelloSuppressed',
51
    ];
52
}
53