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

[aboot] add SWI_DEFAULT support in boot0 #2056

Merged
merged 1 commit into from
Sep 20, 2018

Conversation

Staphylo
Copy link
Collaborator

- What I did

Currently setting the next boot image is the same as setting a default image.
With this change SWI_DEFAULT= will be considered the default image and SWI= the next image.
When executing the boot0 SWI= will be overriden by SWI_DEFAULT= if it
exists and create in with the value of SWI= otherwise.

- How to verify it

The code from sonic-net/sonic-utilities#323 is needed for CLI support.
However the boot-config file can still be crafted by manually setting SWI= and SWI_DEFAULT=

Currently setting the next boot image is the same as setting a default
image.
With this change SWI_DEFAULT= will be considered the default image and
SWI= the next image.
When executing the boot0 SWI= will be overriden by SWI_DEFAULT= if it
exists and create in with the value of SWI= otherwise.
@lguohan lguohan merged commit 7ece396 into sonic-net:master Sep 20, 2018
liat-grozovik pushed a commit that referenced this pull request Feb 1, 2022
53c630b [CoPP] Add always_enabled field to coppmgr logic ([minigraph]: Add PORTCHANNEL_MEMBER configurations #2034)
adcf69d [cbf] Fix cbf sync error ([aboot] add SWI_DEFAULT support in boot0 #2056)
69f9ee5 fix mclagsyncd out of order initialization ([submodules] update dbsyncd and snmpagent pointers for LLDP MIB support #2112)
Ndancejic pushed a commit to Ndancejic/sonic-buildimage that referenced this pull request May 3, 2022
What I did
Changed the CBF group members sync code to be non-assertive when one of its members is not yet synced.

Why I did it
There can be situations when the member of a CBF group is not yet synced by the time the CBF group is being synced. Some examples would be:

CBF group entry is created before its member in APPL_DB
Member sync is being blocked by something, like missing a neighbor/NH entry
In this scenarios, we should wait for the member to be synced instead of asserting as the member might become available shortly.

How I verified it
Added a new UT
@Staphylo Staphylo deleted the boot-next-swi branch December 6, 2022 14:59
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.

3 participants