Skip to content

[202411] Enable gnmi/telemetry user authorization by config_db (#21363)#23248

Merged
kperumalbfn merged 1 commit intosonic-net:202411from
liuh-80:dev/liuh/gnmi_enable_auth_202411
Jul 9, 2025
Merged

[202411] Enable gnmi/telemetry user authorization by config_db (#21363)#23248
kperumalbfn merged 1 commit intosonic-net:202411from
liuh-80:dev/liuh/gnmi_enable_auth_202411

Conversation

@liuh-80
Copy link
Contributor

@liuh-80 liuh-80 commented Jul 8, 2025

Enable gnmi/telemetry user authorization by config_db.

Why I did it
gnmi/telemetry user authorization flag not used in SONiC and can't config by config_db

How I did it
Update Yang model and update gnmi/telemetry start script.

How to verify it
Pass all UT.

Why I did it

Work item tracking
  • Microsoft ADO (number only):

How I did it

How to verify it

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

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

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

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

Enable gnmi/telemetry user authorization by config_db.

Why I did it
gnmi/telemetry user authorization flag not used in SONiC and can't config by config_db

How I did it
Update Yang model and update gnmi/telemetry start script.

How to verify it
Pass all UT.
@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@qiluo-msft
Copy link
Collaborator

Pass all UT -> Is there a UT testcase to cover this feature? If no, could you create a sonic-mgmt testcase?

@liuh-80 liuh-80 marked this pull request as ready for review July 9, 2025 01:31
@liuh-80 liuh-80 requested a review from kperumalbfn July 9, 2025 01:32
@kperumalbfn
Copy link
Contributor

/azpw ms_conflict -f

@kperumalbfn
Copy link
Contributor

@liushilongbuaa Please check the ms_conflict failures.

@kperumalbfn kperumalbfn merged commit 258389d into sonic-net:202411 Jul 9, 2025
18 of 19 checks passed
@liuh-80 liuh-80 deleted the dev/liuh/gnmi_enable_auth_202411 branch July 10, 2025 00:13
tshalvi pushed a commit to tshalvi/sonic-buildimage that referenced this pull request Aug 25, 2025
…12 (sonic-net#1335)

```<br>* 37bad37 - (HEAD -> 202412) Merge branch '202411' of https://github.com/sonic-net/sonic-buildimage into 202412 (2025-07-15) [Sonic Automation]
* 718490f - (head/202411) [submodule] Update submodule sonic-linux-kernel to the latest HEAD automatically (sonic-net#23287) (2025-07-11) [mssonicbld]
* 258389d - Enable gnmi/telemetry user authorization by config_db (sonic-net#21363) (sonic-net#23248) (2025-07-09) [Hua Liu]
* 31fdefd - Including platform_utils in make and removing default initialization of $SMARTSWITCH in TSA, TSB, TSC (sonic-net#23258) (2025-07-09) [mssonicbld]
* f5332b0 - [build] Use package.trafficmanager.net instead of sonicstorage.blob.core.windows.net to Refine Azure resource. (sonic-net#23256) (2025-07-09) [Liu Shilong]
* 07ba952 - [submodule] Update submodule sonic-platform-common to the latest HEAD automatically (sonic-net#23214) (2025-07-07) [mssonicbld]<br>```
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.

4 participants