Parameterize gNMI CONFIG DB tests with different VRFs#20456
Parameterize gNMI CONFIG DB tests with different VRFs#20456spandan-nexthop wants to merge 1 commit into
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
645f3ac to
be3a2b2
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@qiluo-msft @sneelam20 @anand-kumar-subramanian @seiferteric Adding sonic-gnmi maintainers for viz |
be3a2b2 to
8eb37b5
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
8eb37b5 to
9bf6f80
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
9bf6f80 to
0364fe0
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
0364fe0 to
07ef202
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@qiluo-msft @hdwhdw @sneelam20 @anand-kumar-subramanian @seiferteric can we get a look at this as we are targeting the 202605 release and it is coming up. |
|
Retrying failed(or canceled) jobs... |
|
Retrying failed(or canceled) stages in build 1124996: ✅Stage Test:
|
|
Hi @spandan-nexthop, this PR currently has merge conflicts with the target branch. Could you confirm whether it's still relevant/active? If so, please rebase and resolve the conflicts, and we'll review it. Thanks! |
a755b0c to
d995e1a
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azpw retry |
|
Retrying failed(or canceled) jobs... |
|
Retrying failed(or canceled) stages in build 1136469: ✅Stage Test:
|
#### What I did Restarting gNMI and Telemetry services if the VRF is changed via GCU. Fixes: sonic-net/sonic-gnmi#504 Related PRs: - sonic-net/sonic-gnmi#503 - sonic-net/sonic-buildimage#23867 - sonic-net/sonic-mgmt#20456 #### How I did it This change adds gnmi and telemetry validators to check for a change in VRF and restarts the services accordingly. #### How to verify it Added gNMI and Telemetry service validator tests have been passing. #### 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) Signed-off-by: Spandan Chowdhury <spandan@nexthop.ai>
|
Hi @spandan-nexthop, CI is failing on this PR (it ran on the current commit), so a re-run won't help — could you take a look at the failures and fix them? Once CI is green we'll proceed with review. Thanks! |
d995e1a to
a9cb184
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@StormLiangMS @wangxin @yxieca A user wants to merge changes to the conditional mark files into |
|
Hi, there are workflow run(s) waiting for approval, you may be first-time contributor. I will notify maintainers to help approve once PR is approved. Thanks! ---Powered by SONiC BuildBot
|
a9cb184 to
8d2a4d1
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
8d2a4d1 to
e0f569b
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
…ct VRF binding of gNMI listener Signed-off-by: Spandan Chowdhury <spandan@nexthop.ai>
e0f569b to
ce8c53b
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Description of PR
Parameterize gNMI CONFIG DB tests with different VRFs to ensure correct VRF binding of gNMI listener
Summary:
Fixes sonic-net/sonic-gnmi#504
Depends on:
Type of change
Back port request
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.pywithdefault,mgmt_vrfand a custom VRF scenario.How did you verify/test it?
Manual verification of relevant changes are already done with the
sonic-buildimagechanges.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
mvrftest cases.Custom non-mgmt VRF testcase requires a
t0topology 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)