Skip to content

Fix test_gnmi_configdb_incremental_01 failure#10091

Merged
qiluo-msft merged 2 commits intosonic-net:masterfrom
ganglyu:fix_gnmi_nightly
Sep 25, 2023
Merged

Fix test_gnmi_configdb_incremental_01 failure#10091
qiluo-msft merged 2 commits intosonic-net:masterfrom
ganglyu:fix_gnmi_nightly

Conversation

@ganglyu
Copy link
Copy Markdown
Contributor

@ganglyu ganglyu commented Sep 21, 2023

Description of PR

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 201911
  • 202012
  • 202205

Approach

What is the motivation for this PR?

"show interface status" is wrong after gnmi incremental config, this command reads from APPL_DB, and we should read from CONFIG_DB.

Microsoft ADO: 25136266

How did you do it?

Read CONFIG_DB to get admin_status.

How did you verify/test it?

Run gnmi end2end test.

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

@ganglyu ganglyu requested a review from qiluo-msft September 21, 2023 09:02
@qiluo-msft qiluo-msft merged commit dc8d9cd into sonic-net:master Sep 25, 2023
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this pull request Sep 27, 2023
## Approach
#### What is the motivation for this PR?
"show interface status" is wrong after gnmi incremental config, this command reads from APPL_DB, and we should read from CONFIG_DB.

Microsoft ADO: 25136266

#### How did you do it?
Read CONFIG_DB to get admin_status.

#### How did you verify/test it?
Run gnmi end2end test.
@mssonicbld
Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202305: #10154

mssonicbld pushed a commit that referenced this pull request Sep 27, 2023
## Approach
#### What is the motivation for this PR?
"show interface status" is wrong after gnmi incremental config, this command reads from APPL_DB, and we should read from CONFIG_DB.

Microsoft ADO: 25136266

#### How did you do it?
Read CONFIG_DB to get admin_status.

#### How did you verify/test it?
Run gnmi end2end test.
AharonMalkin pushed a commit to AharonMalkin/sonic-mgmt that referenced this pull request Jan 25, 2024
## Approach
#### What is the motivation for this PR?
"show interface status" is wrong after gnmi incremental config, this command reads from APPL_DB, and we should read from CONFIG_DB.

Microsoft ADO: 25136266

#### How did you do it?
Read CONFIG_DB to get admin_status.

#### How did you verify/test it?
Run gnmi end2end test.
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.

4 participants