-
Notifications
You must be signed in to change notification settings - Fork 2
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
Make openbmp support redis subscription/population on sonic. #7
Merged
qiluo-msft
merged 48 commits into
sonic-net:master
from
FengPan-Frank:fenpan_openbmp_redis
Nov 12, 2024
Merged
Changes from 43 commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
f3dc99b
Make openbmp support redis subscription/population on sonic.
FengPan-Frank d37c454
Make openbmp support redis subscription/population on sonic.
FengPan-Frank 5130a39
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank c02fb34
Merge branch 'master' of https://github.com/FengPan-Frank/sonic-openb…
FengPan-Frank 3e81104
Merge branch 'master' of https://github.com/FengPan-Frank/sonic-openb…
FengPan-Frank 846efdd
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank 32e46c9
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank 3d318b0
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank 3055ca0
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank 8f9bcbe
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank 306b26d
Merge branch 'master' into fenpan_openbmp_redis
FengPan-Frank 18f9d20
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank 70d036e
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank 83edca5
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank 3d1a087
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank 81f3699
Update AzurePipeline
FengPan-Frank fdc7809
Update AzurePipeline
FengPan-Frank b37ad43
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank c5cde33
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank b336f7a
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank 1a12e1b
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank ea2b2e5
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank 73f7499
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank d92e3ac
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank ebb2ba0
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank b7e0993
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank 2d9436d
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank ab30185
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank 6cadfc6
Fix comments
FengPan-Frank 19eaffb
Fix comments for multiple asic
FengPan-Frank 2d1d221
Fix comments for multiple asic
FengPan-Frank f096dee
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank 46a9d86
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank ff7be6d
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank d472ae2
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank 253e05c
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank 1c8f4b1
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank 18ed8d8
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank 770b83c
Fix comments
FengPan-Frank c9b4930
Fix comments
FengPan-Frank 7227b99
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank 17d178d
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank 3335281
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank 76904f7
Remove initializeGlobalConfig
FengPan-Frank f35b88f
Remove initializeGlobalConfig
FengPan-Frank 55593d6
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank dc3d240
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank cb079df
Merge branch 'fenpan_openbmp_redis' of https://github.com/FengPan-Fra…
FengPan-Frank File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
Could you explain what does it mean? I assume this feature should be supported on multi-asic. #Closed
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.
Per Hua's comments, existing use case for multiple asic is use api check and corresponding initialize flow.
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.
You do not need to change this file. You need to call function is_multi_asic() to get the info in runtime.
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.
https://github.com/sonic-net/sonic-swss-common/blob/acc4805a8c2766a4d200c17fdfaba04b94792274/common/dbconnector.h#L100, is_multi_asic() is not exposed in swss-common now, could you suggest which API you mean in specific?
And double checked current sonic_py_common reads device path to get is_multi_asic value, refer https://github.com/sonic-net/sonic-buildimage/blob/master/src/sonic-py-common/sonic_py_common/multi_asic.py
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.
Made some test on multi-asic env, it's true that for bmp we only need to do SonicDBConfig::initializeConfig
(), only database docker needs SonicDBConfig::initializeGlobalConfig() and for database-xx docker only needs initializeConfig()