Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DPU dark-mode definition for SmartSwitch PMON #1818

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions doc/smart-switch/pmon/smartswitch-pmon.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,14 @@ The picture below highlights the PMON vertical and its association with other lo
#### Use case
* Switch: Day0 setup, Maintenance, RMA
* DPU: Day0, Day1-N Provisioning, Maintenance, RMA
#### DPU dark mode
* When a DPU is in dark mode, it remains powered down and does not consume any power.
* Dark mode is enabled by default, but can be configured through the platform's config_db if needed.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will be appropriate to say "When a DPU is in dark mode, it remains powered down and does not consume power"
"Dark mode is enabled by default, but the platform can be configure to boot in light up mode with one or more DPUs"

#### DPU cold startup Sequence
* The chassis is powered up and the host is booting up.
* The switch PMON is registered with the configDB state change handler.
* DPU "admin_status: up" is set in the configDB. When not explicitly configured the default is "up".
* The switch PMON gets the admin up notification from the configDB
* If the DPU's "admin_status: down" in the configDB, the DPU will remain powered down. The default setting is "down".
* If the DPU "admin_status: up" is set in the configDB, the switch PMON receives an admin-up notification from the configDB.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the DPU "admin_status: up" or if "admin_status: down" is not configured in the configDB, the switch PMON receives an admin-up notification from the configDB.

* The switch PMON invokes the platform API to power on the DPU
* DPU boots up and attaches itself to the midplane.
* Once SONiC is up, the state progression is updated for every state transition on the DPU_STATE table in the chassisStateDB
Expand Down