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

Verify port status in APPL_DB after shutting down interfaces. #1310

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

Conversation

praveen-li
Copy link
Member

Depends on #1303

- What I did

Verify Port status in APPDB after shutting down the interfaces before starting deletion of Ports.

- How I did it
DB Connect to APPDB and check operational status of all ports which are being deleted.

- How to verify it

Build with new Tests in tests/config_mgmt_test.py:

- Previous command output (if the output of a command-line utility has changed)

- New command output (if the output of a command-line utility has changed)

@praveen-li
Copy link
Member Author

Gentle Reminder for review.

@praveen-li
Copy link
Member Author

@jleveque
Kindly label it with Port Breakout 🔱. thx

@allas-nvidia
Copy link
Contributor

Kindly reminder to merge it. (resolve conflicts)
Can be labeled with 202012?
Thanks

@allas-nvidia
Copy link
Contributor

@praveen-li
Function _checkKeyinAsicDB was removed, but it is still being used in _checkNoPortsInAsicDb
I think that function _checkKeyinAsicDB was changed to checkKeyinAsicDB
can you please take a look?
Thanks

config/config_mgmt.py Outdated Show resolved Hide resolved
@praveen-li
Copy link
Member Author

@qiluo-msft : This is dependent of #1303 , kindly review only 2nd commit in this PR.
If we can merge #1303 , I can rebase it. Thx.

@praveen-li praveen-li force-pushed the verify_port_status_app_db branch from 589ebf0 to 4b9842d Compare April 13, 2021 23:58
@praveen-li
Copy link
Member Author

@praveen-li
Function _checkKeyinAsicDB was removed, but it is still being used in _checkNoPortsInAsicDb
I think that function _checkKeyinAsicDB was changed to checkKeyinAsicDB
can you please take a look?
Thanks

the diff is shown that way, I am not removing _checkKeyinAsicDB, it is moved to _checkKeyInAsicDB

@praveen-li praveen-li changed the title Verify port status app db Verify port status in APPL_DB after shutting down interfaces. May 12, 2021
@praveen-li praveen-li force-pushed the verify_port_status_app_db branch from 90df86c to ae22fbc Compare May 12, 2021 19:30
@praveen-li praveen-li force-pushed the verify_port_status_app_db branch from ae22fbc to 26ac268 Compare June 3, 2021 06:33
Praveen Chaudhary and others added 5 commits June 22, 2021 18:34
Changes:
-- Verify port status down in APPL DB after shutting down the ports.
-- Tests.

Signed-off-by: Praveen Chaudhary<pchaudhary@linkedin.com>
@praveen-li praveen-li force-pushed the verify_port_status_app_db branch from 26ac268 to b4cdbd3 Compare June 23, 2021 01:34
@praveen-li
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 1310 in repo Azure/sonic-utilities

@qiluo-msft
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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.

6 participants