|
@@ -237,6 +237,8 @@ class CMTS implements DeviceInterface, TenancyIdTraitInterface, SoftDeleteInterf
|
|
'name' => $this->name,
|
|
'name' => $this->name,
|
|
'host' => $this->host,
|
|
'host' => $this->host,
|
|
'modelId' => $this->model ? $this->model->getId() : null,
|
|
'modelId' => $this->model ? $this->model->getId() : null,
|
|
|
|
+ 'mark' => null,
|
|
|
|
+ 'library' => null,
|
|
'snmpCommunity' => $this->snmpCommunity,
|
|
'snmpCommunity' => $this->snmpCommunity,
|
|
'snmpVersion' => $this->snmpVersion,
|
|
'snmpVersion' => $this->snmpVersion,
|
|
'docsVersion' => $this->docsVersion,
|
|
'docsVersion' => $this->docsVersion,
|
|
@@ -244,6 +246,11 @@ class CMTS implements DeviceInterface, TenancyIdTraitInterface, SoftDeleteInterf
|
|
'timeScan' => $this->timeScan,
|
|
'timeScan' => $this->timeScan,
|
|
'timeCmtsOctets' => $this->timeCmtsOctets,
|
|
'timeCmtsOctets' => $this->timeCmtsOctets,
|
|
];
|
|
];
|
|
|
|
+
|
|
|
|
+ if($this->model) {
|
|
|
|
+ $extraData['mark'] = $this->model->getMark();
|
|
|
|
+ $extraData['library'] = $this->model->getLibrary();
|
|
|
|
+ }
|
|
|
|
|
|
return [
|
|
return [
|
|
'deviceType' => get_class($this),
|
|
'deviceType' => get_class($this),
|