llenon / olt-information
There is no license information available for the latest version (dev-main) of this package.
dev-main
2024-11-07 20:01 UTC
Requires
- php: ^8.1
- ext-ssh2: *
- meklis/console-client: ^0.0.3
- phpseclib/phpseclib: dev-master
- spatie/ssh: ^1.10
Requires (Dev)
- symfony/var-dumper: ^7.1
This package is auto-updated.
Last update: 2025-01-07 20:24:58 UTC
README
$userName = 'xxx';
$password = 'xxx';
$address = '192.168.x.x';
$typoConnection = "telnet";
$model = OltModel::VSOL;
$port = 23;
$olt = new OLT($userName, $password, $model, $address, $port, $typoConnection);
$macAddress = "xx:xx:xx:xx:xx:xx";
$login = "teste";
$gponName = "testeteste";
$client = new Client($login, $macAddress, $gponName);
$oltVsol = new VSolOLTCmd($olt, $client);
dd($oltVsol->getDadosDoCliente());
/**
{#2
+login: "teste"
+macAddress: "xx:xx:xx:xx:xx:xx"
+gponName: "testeteste"
+slot: "0"
+onuId: "29"
+pon: "2"
+signal: "-21.19"
+status: "online"
+distance: "1215"
+uptime: "8 20:25:32"
+onuTemperatura: "41.98"
}*/
re