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 sensor packages to syncd for bfn #1997

Open
wants to merge 1 commit into
base: 201807
Choose a base branch
from

Conversation

mkbalani
Copy link
Contributor

- What I did
Added sensor packages to bfn syncd container

- How I did it
Added packages to install to Docker files

- How to verify it
Build sonic binary and verify sensor utility present inside syncd container

- Description for the changelog
Add linux sensor utility to syncd for bfn

- A picture of a cute animal (not mandatory but encouraged)

@stcheng
Copy link
Contributor

stcheng commented Aug 28, 2018

why the sensors and fancontrol packages are installed in the syncd container?

@@ -27,6 +27,8 @@ RUN apt-get update \
python-dev \
wget \
cmake \
sensord \
fancontrol \
Copy link
Collaborator

Choose a reason for hiding this comment

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

sensord and fancontrol are already in pmon docker, why do we need them in syncd docker?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For bfn platforms, sensors information is not available on the host cpu and is fetched from the BMC. The infra needed to retrieve this information is available present in the syncd container, which we leverage for retrieving needed information from the BMC. Hence the need to have these packages in syncd

Copy link
Collaborator

@lguohan lguohan Sep 5, 2018

Choose a reason for hiding this comment

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

can you pass the information from syncd to the pmon docker? we'd like to unify the those controller in one place for all platforms.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That would need us to install all python libraries on pmon container along with some rpc infra to communicate with syncd container. I do not know of any other clean mechanism to pass data between two containers. Hence the need to have these packages on syncd itself

Copy link
Collaborator

@lguohan lguohan left a comment

Choose a reason for hiding this comment

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

sensord and fancontrol are already in pmon docker.

@stcheng
Copy link
Contributor

stcheng commented Nov 24, 2018

could you resolve the conflicts?

@arkadiyshapiro
Copy link

@lguohan - what else do we need to do here?

theasianpianist pushed a commit to theasianpianist/sonic-buildimage that referenced this pull request Feb 5, 2022
Add P4orch code and subdir

Co-authored-by: PINS Working Group <sonic-pins-subgroup@googlegroups.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants