Symptom
Optics controller moved to shutdown and when we retrieved the OC oper data(openconfig-terminal-device:terminal-device), we observe that optics state shown as enabled
Conditions
When user retrieves operational data from openconfig-terminal-device:terminal-device model for optics state
Further Problem Description
Optics controller moved to shutdown and when we retrieved the OC oper data(openconfig-terminal-device:terminal-device), we observe that optics state shown as enabled
bash-4.2$ cat Input_oc_terminal.json
{
"openconfig-terminal-device:terminal-device": {
}
}
Observation:
From node:
RP/0/RP0/CPU0:NCS1K-SIT-TB1(config)#do show controllers hundredGigECtrlr 0/0/0/15
Tue Nov 3 12:39:46.294 IST
Operational data for interface HundredGigECtrlr0/0/0/15:
State:
Administrative state: disabled
Operational state: Down (Reason: State undefined)
LED state: Off
Maintenance: Disabled
AINS Soak: None
Total Duration: 0 hour(s) 0 minute(s)
Remaining Duration: 0 hour(s) 0 minute(s) 0 second(s)
Laser Squelch: Disabled
Phy:
Media type: Not known
Statistics:
FEC:
Corrected Codeword Count: 0
Uncorrected Codeword Count: 0
Autonegotiation disabled.
Operational values:
Speed: 100Gbps
Duplex: Full Duplex
Flowcontrol: None
Loopback: None (or external)
BER monitoring:
Not supported
Forward error correction: Standard (Reed-Solomon)
Holdoff Time: 0ms
From OC:
{
"index": 4005,
"state": {
"index": 4005,
"rate-class": "openconfig-transport-types:TRIB_RATE_100G",
"admin-state": "ENABLED",
"description": "Logical channel 4005",
"trib-protocol": "openconfig-transport-types:PROT_100G_MLG",
"logical-channel-type": "openconfig-transport-types:PROT_ETHERNET",
"link-state": "DOWN",
"loopback-mode": "NONE"
},
"ingress": {
"state": {
"transceiver": "0/0-Optics0/0/0/15"
}
},