Skip to content

Comments

Parameterize gNMI CONFIG DB tests with different VRFs#20456

Open
spandan-nexthop wants to merge 1 commit intosonic-net:masterfrom
spandan-nexthop:spandan-nexthop.vrf-aware-gnmi
Open

Parameterize gNMI CONFIG DB tests with different VRFs#20456
spandan-nexthop wants to merge 1 commit intosonic-net:masterfrom
spandan-nexthop:spandan-nexthop.vrf-aware-gnmi

Conversation

@spandan-nexthop
Copy link

Description of PR

Parameterize gNMI CONFIG DB tests with different VRFs to ensure correct VRF binding of gNMI listener

Summary:
Fixes sonic-net/sonic-buildimage#23865
Depends on:

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202205
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505

Approach

What is the motivation for this PR?

To test the changes in sonic-net/sonic-gnmi#503 and sonic-net/sonic-buildimage#23867

How did you do it?

Parameterized test_gnmi_configdb.py with default, mgmt_vrf and a custom VRF scenario.

How did you verify/test it?

Manual verification of relevant changes are already done with the sonic-buildimage changes.
The updated tests ran successfully in local setup.

Any platform specific information?

NA

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

Any testbed works for the default and mvrf test cases.
Custom non-mgmt VRF testcase requires a t0 topology for now, but it is not a realistic case anyway since the gNMI request is shoved through a dataplane VRF.

Documentation

NA

A picture of a cute animal (not mandatory but encouraged)

samoyed

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@spandan-nexthop spandan-nexthop marked this pull request as ready for review September 1, 2025 22:16
@spandan-nexthop spandan-nexthop requested review from a team, wangxin and yxieca as code owners September 1, 2025 22:16
@spandan-nexthop spandan-nexthop force-pushed the spandan-nexthop.vrf-aware-gnmi branch from 645f3ac to be3a2b2 Compare September 1, 2025 22:27
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@anders-nexthop
Copy link
Contributor

@qiluo-msft @sneelam20 @anand-kumar-subramanian @seiferteric

Adding sonic-gnmi maintainers for viz

Signed-off-by: Spandan Chowdhury <spandan@nexthop.ai>
@spandan-nexthop spandan-nexthop force-pushed the spandan-nexthop.vrf-aware-gnmi branch from be3a2b2 to 8eb37b5 Compare November 28, 2025 00:35
@mssonicbld
Copy link
Collaborator

/azp run

@github-actions github-actions bot requested a review from nikamirrr November 28, 2025 00:35
@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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhancement: Enable VRF binding for gNMI service

3 participants