sonic-swss
sonic-swss copied to clipboard
[OA] admin-disable port before setPortSerdesAttribute()
Admin-disable port before setPortSerdesAttribute() to maintain deterministic link behavior during media_settings notification from xcvrd to OA/syncd. This will trigger CMIS FSM re-init and ensure that Optics retune to modified NPU serdes signal.
Scenarios to consider, in addition to fresh bootup (or reboot):
- xcvrd process crash
- pmon docker restart
- syncd/swss docker restart
- OA process crash
- config reload