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

[Warmboot] skip teamd reconciliation logic via teamsyncd timer setting #1364

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

dzhangalibaba
Copy link
Collaborator

@dzhangalibaba dzhangalibaba commented Jul 26, 2020

Signed-off-by: Dong Zhang d.zhang@alibaba-inc.com

@dzhangalibaba
Copy link
Collaborator Author

@yxieca

@dzhangalibaba
Copy link
Collaborator Author

retest this please

Copy link
Contributor

@pavel-shirshov pavel-shirshov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As the comment

m_lagTable.create_temp_view();
m_lagMemberTable.create_temp_view();
WarmStart::setWarmStartState(TEAMSYNCD_APP_NAME, WarmStart::INITIALIZED);
if (m_pending_timeout != MAXIMUM_WARMRESTART_TIMER_VALUE)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest rename MAXIMUM_WARMRESTART_TIMER_VALUE to NO_WARMRESTART_TIMER_VALUE or DISABLE_WARMRESTART_TIMER_VALUE

Copy link
Collaborator Author

@dzhangalibaba dzhangalibaba Jul 30, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest rename MAXIMUM_WARMRESTART_TIMER_VALUE to NO_WARMRESTART_TIMER_VALUE or DISABLE_WARMRESTART_TIMER_VALUE

UPDATED, add DISABLE_WARMRESTART_TIMER_VALUE in swss-common

@dzhangalibaba
Copy link
Collaborator Author

sonic-net/sonic-swss-common#370 needs to be merged first since definition is there

Copy link
Contributor

@pavel-shirshov pavel-shirshov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good. Please wait others to approve

@yxieca
Copy link
Contributor

yxieca commented Jul 30, 2020

retest this please

@pavel-shirshov
Copy link
Contributor

retest this please

@dzhangalibaba
Copy link
Collaborator Author

sonic-net/sonic-swss-common#370 needs to be merged first . this PR depends on that.

Copy link
Contributor

@daall daall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking until the swss-common PR is merged. Thanks! (this is the reason for the vs test failure and LGTM errors as Dong suggested)

@qiluo-msft
Copy link
Contributor

Retest this please

@dzhangalibaba
Copy link
Collaborator Author

retest this please

@dzhangalibaba
Copy link
Collaborator Author

retest vs please

@dzhangalibaba
Copy link
Collaborator Author

retest this please

EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
**- What I did**
Added ability to run `show platform firmware` commands without `sudo`, as described in the [design document](https://github.com/Azure/sonic-utilities/blob/master/doc/Command-Reference.md#platform-component-firmware-show-commands):

**- How I did it**
Made `show platform firmware` implementation run `fwutil` with `sudo` 

Signed-off-by: Volodymyr Boyko <volodymyrx.boiko@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants