Skip to content

Add API design for leak sensor test bits#2441

Open
fraserg-arista wants to merge 2 commits into
sonic-net:masterfrom
fraserg-arista:leak-test-api
Open

Add API design for leak sensor test bits#2441
fraserg-arista wants to merge 2 commits into
sonic-net:masterfrom
fraserg-arista:leak-test-api

Conversation

@fraserg-arista

@fraserg-arista fraserg-arista commented Jul 2, 2026

Copy link
Copy Markdown

The intention of this API is to allow platforms to expose leak test functionality in their liquid cooling implementation. The state is written to the state DB so that other platform components can distinguish between real and test leaks (e.g. by logging that they would trigger a power cycle, without actually carrying out the action).

Signed-off-by: Fraser Gordon <fraserg@arista.com>
The intention of this API is to allow platforms to expose leak test
functionality in their liquid cooling implementation. The state is
written to the state DB so that other platform components can
distinguish between real and test leaks (e.g. by logging that they
would trigger a power cycle, without actually carrying out the action).

Signed-off-by: Fraser Gordon <fraserg@arista.com>
@mssonicbld

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
No pipelines are associated with this pull request.

@fraserg-arista

fraserg-arista commented Jul 2, 2026

Copy link
Copy Markdown
Author

Note: this is written on top of #2413

@judyjoseph @yuazhe

The intent here is that the API is simple enough that it can be implemented in software or hardware, as appropriate for each implementer's leak detection design, so let me know if this is a practical API for you to implement.

@judyjoseph

Copy link
Copy Markdown
Contributor

@fraserg-arista would be great if we have this as a separate PR and get it merged first -- This is useful for community, Let me know your thoughts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants