/usr/lib/python2.7/dist-packages/jnpr/junos/op/intopticdiag.yml is in python-junos-eznc 2.0.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | ---
PhyPortDiagTable:
rpc: get-interface-optics-diagnostics-information
args:
interface_name: '[fgx][et]-*'
args_key: interface_name
item: physical-interface
view: PhyPortDiagView
PhyPortDiagView:
groups:
diag: optics-diagnostics
# fields that are part of groups are called
# "fields_<group-name>"
fields_diag:
rx_optic_power : rx-signal-avg-optical-power-dbm
tx_optic_power : laser-output-power-dbm
module_temperature : module-temperature
module_voltage : module-voltage
|