Skip to content

Comments

Add ability to bind GNMI server to a VRF#503

Open
spandan-nexthop wants to merge 4 commits intosonic-net:masterfrom
spandan-nexthop:spandan-nexthop.vrf-aware-gnmi
Open

Add ability to bind GNMI server to a VRF#503
spandan-nexthop wants to merge 4 commits intosonic-net:masterfrom
spandan-nexthop:spandan-nexthop.vrf-aware-gnmi

Conversation

@spandan-nexthop
Copy link

@spandan-nexthop spandan-nexthop commented Sep 1, 2025

Why I did it

Operators have requested to allow gNMI server to be bound to a particular VRF.
Though the more common use case is to be able to bind it to mvrf only, we have enabled this feature for all VRFs.
Fixes #504
Fixes sonic-net/sonic-buildimage#23865

How I did it

Added GnmiVrf to gNMI/Telemetry config which is used to create the gNMI listener bound to the given VRF.

How to verify it

  • sonic-mgmt tests have been added here for verifying the changes
  • sonic-buildimage changes with manual verification steps have been added here

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

Add GnmiVrf to gNMI/Telemetry config to bind gNMI listener to a VRF

Link to config_db schema for YANG module changes

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

beluga-whale

@mssonicbld
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@spandan-nexthop spandan-nexthop force-pushed the spandan-nexthop.vrf-aware-gnmi branch from e8e5aa6 to a30e19e Compare September 1, 2025 23:19
@mssonicbld
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@spandan-nexthop spandan-nexthop force-pushed the spandan-nexthop.vrf-aware-gnmi branch from a30e19e to 0d14a4d Compare September 1, 2025 23:42
@mssonicbld
Copy link
Contributor

/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

@mssonicbld
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@spandan-nexthop spandan-nexthop force-pushed the spandan-nexthop.vrf-aware-gnmi branch from d8d903c to f78b6e3 Compare November 27, 2025 23:14
@mssonicbld
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@spandan-nexthop spandan-nexthop force-pushed the spandan-nexthop.vrf-aware-gnmi branch from f78b6e3 to 851b709 Compare November 27, 2025 23:19
@mssonicbld
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@spandan-nexthop spandan-nexthop force-pushed the spandan-nexthop.vrf-aware-gnmi branch from 851b709 to 7a2e62c Compare November 27, 2025 23:21
@mssonicbld
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@spandan-nexthop spandan-nexthop force-pushed the spandan-nexthop.vrf-aware-gnmi branch from 7a2e62c to 3977482 Compare November 27, 2025 23:51
@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 503 in repo sonic-net/sonic-gnmi

@spandan-nexthop spandan-nexthop force-pushed the spandan-nexthop.vrf-aware-gnmi branch from fd2299c to 230bf7d Compare November 28, 2025 19:04
@mssonicbld
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: Spandan Chowdhury <spandan@nexthop.ai>
@spandan-nexthop spandan-nexthop force-pushed the spandan-nexthop.vrf-aware-gnmi branch from 230bf7d to 404b46e Compare November 28, 2025 20:05
@mssonicbld
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sneelam20 sneelam20 requested a review from qiluo-msft January 8, 2026 17:43
@mssonicbld
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@spandan-nexthop spandan-nexthop force-pushed the spandan-nexthop.vrf-aware-gnmi branch from 5638a14 to 240ad70 Compare January 20, 2026 21:59
@mssonicbld
Copy link
Contributor

/azp run

@spandan-nexthop spandan-nexthop force-pushed the spandan-nexthop.vrf-aware-gnmi branch from 240ad70 to c391c06 Compare January 20, 2026 22:00
@azure-pipelines
Copy link

Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command.

@mssonicbld
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: Spandan Chowdhury <spandan@nexthop.ai>
@spandan-nexthop spandan-nexthop force-pushed the spandan-nexthop.vrf-aware-gnmi branch from c391c06 to 803372f Compare January 20, 2026 22:17
@mssonicbld
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@spandan-nexthop spandan-nexthop force-pushed the spandan-nexthop.vrf-aware-gnmi branch from 68d3097 to ce90e5f Compare January 20, 2026 22:45
@mssonicbld
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhancement: Enable VRF binding for gNMI and Telemetry Enhancement: Enable VRF binding for gNMI service

5 participants