sonic-buildimage icon indicating copy to clipboard operation
sonic-buildimage copied to clipboard

Added support to enable chassisd from the platform, which is necessary for SmartSwitch

Open rameshraghupathy opened this issue 10 months ago • 2 comments

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

  1. Added the flag in the code
  2. Modified the platform SmartSwitch "../platform/pmon_daemon_control.json" file to enable it
  3. 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)

rameshraghupathy avatar Apr 15 '24 03:04 rameshraghupathy

Summary seems to be having a typo? Is it: "Added support to enable chassisd from the platform, which is necessary for SmartSwitch"?

vvolam avatar Jun 19 '24 19:06 vvolam

Summary seems to be having a typo? Is it: "Added support to enable chassisd from the platform, which is necessary for SmartSwitch"?

Done

rameshraghupathy avatar Jul 09 '24 20:07 rameshraghupathy

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.

rameshraghupathy avatar Jul 29 '24 04:07 rameshraghupathy