[docker-orchagent] Pass ASIC vendor information to swss docker as docker level environment variable#76
Closed
[docker-orchagent] Pass ASIC vendor information to swss docker as docker level environment variable#76
Conversation
…nt variable Motivation: Recently, the reserved buffer of admin-down ports is going to be reclaimed. However, the way to do this differs among vendors. We need to find a way to pass vendor information to swss docker. Implementation: Fetch the ASIC vendor information when the docker is created and pass it to docker as ASIC_VENDOR Signed-off-by: Stephen Sun <[email protected]>
keboliu
approved these changes
Jul 28, 2021
stephenxs
pushed a commit
that referenced
this pull request
Jul 28, 2022
[master][sonic-linkmgrd] Submodule Update 945b107 Jing Zhang Thu Jul 21 10:16:53 2022 -0700 Avoid unnecessary error logs from handleGetServerMacAddressNotification (#96) 9044962 Jing Zhang Mon Jul 18 15:38:04 2022 -0700 Add support for reconciliation after warm restart (#76) sign-off: Jing Zhang [email protected]
stephenxs
pushed a commit
that referenced
this pull request
Sep 21, 2022
… advance submodule head (sonic-net#11518) sairedis: * 38c0bb1 2022-07-21 | [sairedis] Fix reopen recoding file (sonic-net#1087) (HEAD -> 202205, github/202205) [Kamil Cudnik] platform-daemon: * 17587b6 2022-07-22 | [ycabled] add secure channel support for grpc dualtor active-active connectivity (sonic-net#275) (HEAD -> 202205, github/202205) [vdahiya12] linkmgrd: * c911ec7 2022-07-21 | Avoid unnecessary error logs from `handleGetServerMacAddressNotification` (#96) (HEAD -> 202205) [Jing Zhang] * bbae81d 2022-07-18 | Add support for reconciliation after warm restart (#76) [Jing Zhang] utilities: * bcc1206 2022-07-20 | Change db_migrator major version on master branch from version 2 to 3 (sonic-net#2272) (HEAD -> 202205) [Vaibhav Hemant Dixit] * ad40697 2022-07-21 | Fix test for pfcwd_sw_enable in db_migrator_test (sonic-net#2253) [bingwang-ms] * 886f612 2022-07-22 | Revert "show commands for SYSTEM READY (sonic-net#1851) (sonic-net#2261)" (sonic-net#2274) (github/202205) [Ying Xie] * a6404b7 2022-07-17 | show commands for SYSTEM READY (sonic-net#1851) (sonic-net#2261) [Senthil Kumar Guruswamy] swss-common: * 509b265 2022-07-06 | Add device global table definition (sonic-net#645) (HEAD -> 202205) [tjchadaga] Signed-off-by: Ying Xie <[email protected]>
keboliu
pushed a commit
that referenced
this pull request
Dec 4, 2025
…ly (sonic-net#24610) #### Why I did it src/dhcprelay ``` * a50c226 - (HEAD -> master, origin/master, origin/HEAD) Automated agent pool migration for branch master (#76) (26 hours ago) [yijingyan2] ``` #### How I did it #### How to verify it #### Description for the changelog
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.
Why I did it
Recently, the reserved buffer of admin-down ports is going to be reclaimed.
However, the way to do this differs among vendors.
We need to find a way to pass vendor information to swss docker.
Signed-off-by: Stephen Sun [email protected]
How I did it
Fetch the ASIC vendor information when the docker is created and pass it to the docker as environment variable
ASIC_VENDOR.How to verify it
Which release branch to backport (provide reason below if selected)
Description for the changelog
A picture of a cute animal (not mandatory but encouraged)