|
@@ -161,9 +161,19 @@ class OLT implements DeviceInterface, TenancyIdTraitInterface, LocationInterface
|
|
protected $timeScan = 10;
|
|
protected $timeScan = 10;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * @ORM\Column(type="integer", options={"unsigned":true, "default":10})
|
|
|
|
|
|
+ * @ORM\Column(type="integer", options={"unsigned":true, "default":5})
|
|
|
|
+ */
|
|
|
|
+ protected $timeOltOctets = 5;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @ORM\Column(type="integer", options={"unsigned":true, "default":5})
|
|
|
|
+ */
|
|
|
|
+ protected $timePonStats = 5;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * @ORM\Column(type="integer", options={"unsigned":true, "default":5})
|
|
*/
|
|
*/
|
|
- protected $timeOltScan = 10;
|
|
|
|
|
|
+ protected $timeOnuStats = 5;
|
|
|
|
|
|
/**
|
|
/**
|
|
* @ORM\Column(type="string", nullable=true)
|
|
* @ORM\Column(type="string", nullable=true)
|
|
@@ -430,7 +440,10 @@ class OLT implements DeviceInterface, TenancyIdTraitInterface, LocationInterface
|
|
|
|
|
|
$deviceExtraData['executeSnmp'] = $this->executeSnmp;
|
|
$deviceExtraData['executeSnmp'] = $this->executeSnmp;
|
|
$deviceExtraData['timeScan'] = $this->timeScan;
|
|
$deviceExtraData['timeScan'] = $this->timeScan;
|
|
- $deviceExtraData['timeOltScan'] = $this->timeOltScan;
|
|
|
|
|
|
+ $deviceExtraData['timeOnuStats'] = $this->timeOnuStats;
|
|
|
|
+ $deviceExtraData['timePonStats'] = $this->timePonStats;
|
|
|
|
+ $deviceExtraData['timeOltOctets'] = $this->timeOltOctets;
|
|
|
|
+ $deviceExtraData['timeDiscovery'] = $this->timeDiscovery;
|
|
|
|
|
|
$deviceData['extraData'] = json_encode($deviceExtraData);
|
|
$deviceData['extraData'] = json_encode($deviceExtraData);
|
|
|
|
|
|
@@ -480,19 +493,63 @@ class OLT implements DeviceInterface, TenancyIdTraitInterface, LocationInterface
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
- * @return int
|
|
|
|
|
|
+ * Set timeOltOctets
|
|
|
|
+ *
|
|
|
|
+ * @param integer $timeOltOctets
|
|
*/
|
|
*/
|
|
- public function getTimeOltScan()
|
|
|
|
|
|
+ public function setTimeOltOctets($timeOltOctets)
|
|
{
|
|
{
|
|
- return $this->timeOltScan;
|
|
|
|
|
|
+ $this->timeOltOctets = $timeOltOctets;
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
- * @param int $timeOltScan
|
|
|
|
|
|
+ * Get timeOltOctets
|
|
|
|
+ *
|
|
|
|
+ * @return integer
|
|
|
|
+ */
|
|
|
|
+ public function getTimeOltOctets()
|
|
|
|
+ {
|
|
|
|
+ return $this->timeOltOctets;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * Set timeOnuStats
|
|
|
|
+ *
|
|
|
|
+ * @param integer $timeOnuStats
|
|
|
|
+ */
|
|
|
|
+ public function setTimeOnuStats($timeOnuStats)
|
|
|
|
+ {
|
|
|
|
+ $this->timeOnuStats = $timeOnuStats;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * Get timeOnuStats
|
|
|
|
+ *
|
|
|
|
+ * @return integer
|
|
|
|
+ */
|
|
|
|
+ public function getTimeOnuStats()
|
|
|
|
+ {
|
|
|
|
+ return $this->timeOnuStats;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * Set timePonStats
|
|
|
|
+ *
|
|
|
|
+ * @param integer $timePonStats
|
|
|
|
+ */
|
|
|
|
+ public function setTimePonStats($timePonStats)
|
|
|
|
+ {
|
|
|
|
+ $this->timePonStats = $timePonStats;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * Get timePonStats
|
|
|
|
+ *
|
|
|
|
+ * @return integer
|
|
*/
|
|
*/
|
|
- public function setTimeOltScan($timeOltScan)
|
|
|
|
|
|
+ public function getTimePonStats()
|
|
{
|
|
{
|
|
- $this->timeOltScan = $timeOltScan;
|
|
|
|
|
|
+ return $this->timePonStats;
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|