Fix vsolution discovery yaml (#14970)

* Fix vsolution discovery yaml
Fetching too much data and incorrect config for scalar values.

* revert json changes

* one sensor_prev

* fix

* revert all changes
This commit is contained in:
Tony Murray
2023-04-14 23:11:01 -05:00
committed by GitHub
parent 0430f6acb1
commit a70d10af19

View File

@@ -1,14 +1,10 @@
mib: V1600D
modules:
os:
hardware:
- V1600D::v1600dOltType.5.0
serial:
- V1600D::systemInfo.11.0
version:
- V1600D::sysFirmVersion.0
features:
- V1600D::sysHardVersion.0
hardware: V1600D::v1600dOltType.5.0
serial: V1600D::systemInfo.11.0
version: V1600D::sysFirmVersion.0
features: V1600D::sysHardVersion.0
mempools:
data:
@@ -18,8 +14,7 @@ modules:
processors:
data:
-
oid: v1600dSysCfg
value: cpuLoad
oid: V1600D::cpuLoad
num_oid: '1.3.6.1.4.1.37950.1.1.5.10.12.3.{{ $index }}'
descr: 'CPU Load'
@@ -28,25 +23,22 @@ modules:
data:
-
oid:
- ponTransceiverTable
- v1600dSysCfg
- ponPortDescr
- onuAuthInfoDescription2
temperature:
data:
-
oid: ponTransceiverEntry
value: tempperature
oid: V1600D::ponTransceiverTable
value: V1600D::tempperature
num_oid: '.1.3.6.1.4.1.37950.1.1.5.10.13.1.1.2.{{ $index }}'
descr: "{{ $ponPortDescr }} Temperature"
-
oid: systemInfo
value: sysTemperature
oid: V1600D::sysTemperature
num_oid: '.1.3.6.1.4.1.37950.1.1.5.10.12.5.9.{{ $index }}'
descr: "System Temperature"
-
oid: opmDiagInfoEntry
value: temperature
oid: V1600D::opmDiagInfoTable
value: V1600D::temperature
num_oid: '.1.3.6.1.4.1.37950.1.1.5.12.2.1.8.1.3.{{ $index }}'
descr: "{{ $onuAuthInfoDescription2 }}"
group: "ONU"
@@ -55,28 +47,28 @@ modules:
voltage:
data:
-
oid: ponTransceiverEntry
value: voltage
oid: V1600D::ponTransceiverTable
value: V1600D::voltage
num_oid: '.1.3.6.1.4.1.37950.1.1.5.10.13.1.1.3.{{ $index }}'
descr: "{{ $ponPortDescr }} Voltage"
current:
data:
-
oid: ponTransceiverEntry
value: biasCurrent
oid: V1600D::ponTransceiverTable
value: V1600D::biasCurrent
num_oid: '.1.3.6.1.4.1.37950.1.1.5.10.13.1.1.4.{{ $index }}'
descr: "{{ $ponPortDescr }} Bias"
divisor: 1000
dbm:
data:
-
oid: ponTransceiverEntry
value: transmitPower
oid: V1600D::ponTransceiverTable
value: V1600D::transmitPower
num_oid: '.1.3.6.1.4.1.37950.1.1.5.10.13.1.1.5.{{ $index }}'
descr: "{{ $ponPortDescr }} TX-Power"
-
oid: opmDiagInfoEntry
value: rxPower
oid: V1600D::opmDiagInfoTable
value: V1600D::rxPower
num_oid: '.1.3.6.1.4.1.37950.1.1.5.12.2.1.8.1.7.{{ $index }}'
descr: "{{ $onuAuthInfoDescription2 }}"
group: "ONU"