mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
27 lines
618 B
PHP
27 lines
618 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\OspfPort;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/** @extends Factory<OspfPort> */
|
|
class OspfPortFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array
|
|
*/
|
|
public function definition()
|
|
{
|
|
return [
|
|
'id' => $this->faker->randomDigit(),
|
|
'ospf_port_id' => $this->faker->randomDigit(),
|
|
'ospfIfIpAddress' => $this->faker->ipv4(),
|
|
'ospfAddressLessIf' => $this->faker->randomDigit(),
|
|
'ospfIfAreaId' => '0.0.0.0',
|
|
];
|
|
}
|
|
}
|