-
Notifications
You must be signed in to change notification settings - Fork 694
[Evpn Warmreboot] Added Dependancy check logic in VrfMgr #1466
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
Changes from 8 commits
3983fc1
1c92c5f
bceaae7
6967f51
1d6e33e
cdd5f7a
a1845b7
1614c86
9d64a37
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -46,7 +46,7 @@ def swss_check_RestoreCount(dvs, state_db, restore_count): | |
| if fv[0] == "restore_count": | ||
| assert int(fv[1]) == restore_count[key] + 1 | ||
| elif fv[0] == "state": | ||
| assert fv[1] == "reconciled" | ||
| assert fv[1] == "reconciled" or fv[1] == "disabled" | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we still need to check for "disabled"? If not, please remove
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, we still need "disabled" to handle the cold restart scenario, specially for docker restart |
||
|
|
||
| def check_port_oper_status(appl_db, port_name, state): | ||
| portTbl = swsscommon.Table(appl_db, swsscommon.APP_PORT_TABLE_NAME) | ||
|
|
@@ -76,7 +76,7 @@ def swss_app_check_RestoreCount_single(state_db, restore_count, name): | |
| if fv[0] == "restore_count": | ||
| assert int(fv[1]) == restore_count[key] + 1 | ||
| elif fv[0] == "state": | ||
| assert fv[1] == "reconciled" | ||
| assert fv[1] == "reconciled" or fv[1] == "disabled" | ||
|
|
||
| def swss_app_check_warmstart_state(state_db, name, state): | ||
| warmtbl = swsscommon.Table(state_db, swsscommon.STATE_WARM_RESTART_TABLE_NAME) | ||
|
|
||
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.
can you please rename to "replayDone" and set to false.
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.
sure .. will change it