sonic-net / sonic-platform-daemons

Platform module daemons for SONiC
Other
25 stars 159 forks source link

[warm/fast-reboot] Retain TRANSCEIVER_INFO/STATUS tables on deinit #454

Closed stepanblyschak closed 7 months ago

stepanblyschak commented 8 months ago

Description

Save TRANSCEIVER_INFO/STATUS tables on warm/fast-reboot.

Motivation and Context

The information in TRANSCEIVER_INFO tables is required for orchagent to set SAI_PORT_ATTR_HOST_TX_SIGNAL_ENABLE=true on system startup, otherwise after APPLY_VIEW port becomes down until pmon populates TRANSCEIEVER_INFO table.

How Has This Been Tested?

Run fast/warm-reboot.

Additional Information (Optional)

mihirpat1 commented 8 months ago

@stepanblyschak - Can you please elaborate on the usage of each TRANSCEIVER_INFO and TRANSCEIVER_STATUS tables by orchagent. Also, please list the in description about the current issue caused by these tables being deleted during warm reboot (i.e. what happens if OA does not set SAI_PORT_ATTR_HOST_TX_SIGNAL_ENABLE=true on system startup).

keboliu commented 7 months ago

@stepanblyschak would you please handle the cherry-pick conflict?

stepanblyschak commented 7 months ago

@keboliu Cherry-pick https://github.com/sonic-net/sonic-platform-daemons/pull/477