|
@@ -18,7 +18,7 @@ class OIDSHuaweiV1 extends \HuaweiBundle\SNMP\MIB {
|
|
const OID_onuPonOpticalVltage = "1.3.6.1.4.1.5875.800.3.9.3.3.1.8";
|
|
const OID_onuPonOpticalVltage = "1.3.6.1.4.1.5875.800.3.9.3.3.1.8";
|
|
const OID_onuPonOpticalTemperature = "1.3.6.1.4.1.5875.800.3.9.3.3.1.10";
|
|
const OID_onuPonOpticalTemperature = "1.3.6.1.4.1.5875.800.3.9.3.3.1.10";
|
|
const OID_onuStatus = "1.3.6.1.4.1.5875.800.3.10.1.1.11";
|
|
const OID_onuStatus = "1.3.6.1.4.1.5875.800.3.10.1.1.11";
|
|
- const OID_oltPonDesc = "1.3.6.1.4.1.5875.800.3.9.3.4.1.3";
|
|
|
|
|
|
+ const OID_oltPonDesc = "1.3.6.1.2.1.31.1.1.1.1";
|
|
const OID_oltPonEnableStatus = "1.3.6.1.4.1.5875.800.3.9.3.4.1.4";
|
|
const OID_oltPonEnableStatus = "1.3.6.1.4.1.5875.800.3.9.3.4.1.4";
|
|
|
|
|
|
const OID_oltPonRxOpticalPower = "1.3.6.1.4.1.5875.800.3.9.3.7.1.2";
|
|
const OID_oltPonRxOpticalPower = "1.3.6.1.4.1.5875.800.3.9.3.7.1.2";
|
|
@@ -34,7 +34,7 @@ class OIDSHuaweiV1 extends \HuaweiBundle\SNMP\MIB {
|
|
const OID_ifInOctets = "1.3.6.1.2.1.2.2.1.10";
|
|
const OID_ifInOctets = "1.3.6.1.2.1.2.2.1.10";
|
|
const OID_ifOutOctets = "1.3.6.1.2.1.2.2.1.16";
|
|
const OID_ifOutOctets = "1.3.6.1.2.1.2.2.1.16";
|
|
const OID_ifDescr = "1.3.6.1.2.1.2.2.1.2";
|
|
const OID_ifDescr = "1.3.6.1.2.1.2.2.1.2";
|
|
-
|
|
|
|
|
|
+
|
|
|
|
|
|
function convertIndex($index, $values) {
|
|
function convertIndex($index, $values) {
|
|
$data = array();
|
|
$data = array();
|
|
@@ -105,7 +105,7 @@ class OIDSHuaweiV1 extends \HuaweiBundle\SNMP\MIB {
|
|
|
|
|
|
/* OLT PON */
|
|
/* OLT PON */
|
|
public function oltPonDesc($index = null) {
|
|
public function oltPonDesc($index = null) {
|
|
- return $this->getSNMP()->lastOidWalk(self::OID_oltPonDesc,15);
|
|
|
|
|
|
+ return $this->getSNMP()->lastOidWalk(self::OID_oltPonDesc,12);
|
|
}
|
|
}
|
|
|
|
|
|
public function oltPonEnableStatus($index = null) {
|
|
public function oltPonEnableStatus($index = null) {
|