Platform daemon changes for multi asic platform#64
Merged
judyjoseph merged 9 commits intosonic-net:masterfrom Aug 25, 2020
Merged
Platform daemon changes for multi asic platform#64judyjoseph merged 9 commits intosonic-net:masterfrom
judyjoseph merged 9 commits intosonic-net:masterfrom
Conversation
jleveque
reviewed
Jul 10, 2020
jleveque
suggested changes
Jul 10, 2020
keboliu
reviewed
Jul 13, 2020
sujinmkang
reviewed
Jul 16, 2020
abdosi
reviewed
Jul 17, 2020
142ce70 to
5c122bc
Compare
5c122bc to
37cec19
Compare
jleveque
suggested changes
Aug 20, 2020
sonic-xcvrd/scripts/xcvrd
Outdated
|
|
||
| # Get asic index from the namespace name | ||
| # With single ASIC platform, namespace is EMPTY_NAMESPACE, return index 0 | ||
| def get_asic_id_from_namespace(namespace): |
Contributor
There was a problem hiding this comment.
This function seems like a good candidate function for sonic-py-common. No?
Contributor
Author
There was a problem hiding this comment.
Updated with PR sonic-net/sonic-buildimage#5224.
Additionally added tests results in single/multi-asic to the PR description.
jleveque
suggested changes
Aug 23, 2020
jleveque
approved these changes
Aug 24, 2020
Contributor
|
@judyjoseph create PR for 201911 |
judyjoseph
added a commit
to judyjoseph/sonic-platform-daemons
that referenced
this pull request
Sep 5, 2020
Contributor
Author
Raised this PR #89 |
vdahiya12
pushed a commit
to vdahiya12/sonic-platform-daemons
that referenced
this pull request
Apr 4, 2022
* Add pcie_base and pcie_common function * Add pcie_base and pcie_common function * Add pcie_base and pcie_common funtion * modify format * modify prompt message * modify prompt message
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The changes done here are for supporting ledd and xcvr for multi-asic platforms
(i) In the ledd process, select now looks for events from the APP_DB in different namespaces.
(ii) In the xcvr process, the parent process and the sub processes connect to databases in all namespaces. The table in which namespace to be updated, is decided by the logical port ( we use the logical_port to asic_id mapping which is stored in the sfp_helper utility classes while parsing the port_config.ini files )
Related PR's
sonic-net/sonic-swss-common#364
sonic-net/sonic-buildimage#4932
sonic-net/sonic-platform-common#100
Update with test results in Single ASIC and Multi-ASIC
SINGLE ASIC
Multi-ASIC