sonic-buildimage
sonic-buildimage copied to clipboard
Added support to enable chassisd from the platform, which is necessary for SmartSwitch
Added support to enable chassisd form the platform which is required for SmartSwitch
Why I did it
SmartSwitch platform requires chassisd to run on fixed platform.
How I did it
Added a flag "include_chassisd" which is enabled from the platform and will be enabled for SmartSwitch platform
How to verify iit
- Added the flag in the code
- Modified the platform SmartSwitch "../platform/pmon_daemon_control.json" file to enable it
- Built an image and when loaded chassisd strated running on SmartSwitch image
Which release branch to backport (provide reason below if selected)
202311
Tested branch (Please provide the tested image version)
202311
Description for the changelog
{% if include_chassisd or not skip_chassisd and IS_MODULAR_CHASSIS == 1 %}
Link to config_db schema for YANG module changes
This PMON HLD like may be useful https://github.com/sonic-net/SONiC/blob/56d97c6e72884a3108618b191dc4570634304eaa/doc/smart-switch/pmon/smartswitch-pmon.md
A picture of a cute animal (not mandatory but encouraged)
Summary seems to be having a typo? Is it: "Added support to enable chassisd from the platform, which is necessary for SmartSwitch"?
Summary seems to be having a typo? Is it: "Added support to enable chassisd from the platform, which is necessary for SmartSwitch"?
Done
Created https://github.com/sonic-net/sonic-buildimage/pull/19729 and addressed these comments in https://github.com/sonic-net/sonic-buildimage/pull/19729. #18676 18676 was created using the 202311 branch which is not where the smartswitch changes are applied.