-
Notifications
You must be signed in to change notification settings - Fork 163
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
Platform daemon changes for multi asic platform #64
Conversation
142ce70
to
5c122bc
Compare
5c122bc
to
37cec19
Compare
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): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function seems like a good candidate function for sonic-py-common. No?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated with PR sonic-net/sonic-buildimage#5224.
Additionally added tests results in single/multi-asic to the PR description.
@judyjoseph create PR for 201911 |
Raised this PR #89 |
* 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
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