逐个光模块compoent去获取光模块的详细信息,./run_yangcli.sh "sget /oc-platform:components/oc-platform:component[oc-platform:name='323.FourHundredGigE1/0/66']" rpc-reply { data { components { component { name 323.FourHundredGigE1/0/66 state { name 323.FourHundredGigE1/0/66 type TRANSCEIVER serial-no G80231AM995701JX firmware-version 3.0 id 323 location 'Slot 1 Subslot 0' removable true oper-status oc-platform-types:ACTIVE empty false parent '59.Main Board' allocated-power 12 hardware-version 1.0 temperature { instant 40.0 } } transceiver { config { enabled false fec-mode oc-platform-types:FEC_AUTO } state { enabled false fec-mode oc-platform-types:FEC_AUTO present PRESENT form-factor oc-opt-types:OTHER vendor H3C vendor-part EQ854HG01M3-H3C vendor-rev 03 ethernet-pmd oc-opt-types:ETH_UNDEFINED serial-no G80231AM995701JX date-code 2000-00-00T00:00:00 fault-condition false voltage { instant 3.32 } supply-voltage { instant 3.32 } laser-bias-current { instant 2147483647.00 } input-power { instant 2147483647.00 } output-power { instant 2147483647.00 } } physical-channels { channel 1 { index 1 config { index 1 associated-optical-channel 648.OCH-1/0/66.1 description 1/0/66:1 tx-laser true } state { index 1 associated-optical-channel 648.OCH-1/0/66.1 description 1/0/66:1 tx-laser true laser-temperature { instant 2147483647.0 } target-frequency-deviation { instant 2147483647.0 } tec-current { instant 2147483647.00 } output-power { instant 2.23 } input-power { instant 0.41 } laser-bias-current { instant 8.91 } } } channel 2 { index 2 config { index 2 associated-optical-channel 648.OCH-1/0/66.1 description 1/0/66:2 tx-laser true } state { index 2 associated-optical-channel 648.OCH-1/0/66.1 description 1/0/66:2 tx-laser true laser-temperature { instant 2147483647.0 } target-frequency-deviation { instant 2147483647.0 } tec-current { instant 2147483647.00 } output-power { instant 2.10 } input-power { instant 0.68 } laser-bias-current { instant 8.77 } } } channel 3 { index 3 config { index 3 associated-optical-channel 648.OCH-1/0/66.1 description 1/0/66:3 tx-laser true } state { index 3 associated-optical-channel 648.OCH-1/0/66.1 description 1/0/66:3 tx-laser true laser-temperature { instant 2147483647.0 } target-frequency-deviation { instant 2147483647.0 } tec-current { instant 2147483647.00 } output-power { instant 1.91 } input-power { instant 1.08 } laser-bias-current { instant 8.74 } } } channel 4 { index 4 config { index 4 associated-optical-channel 648.OCH-1/0/66.1 description 1/0/66:4 tx-laser true } state { index 4 associated-optical-channel 648.OCH-1/0/66.1 description 1/0/66:4 tx-laser true laser-temperature { instant 2147483647.0 } target-frequency-deviation { instant 2147483647.0 } tec-current { instant 2147483647.00 } output-power { instant 2.07 } input-power { instant 0.68 } laser-bias-current { instant 8.72 } } } } } } } } }