Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gnmi poc update #11567

Closed
wants to merge 16 commits into from
Closed

Gnmi poc update #11567

wants to merge 16 commits into from

Conversation

ganglyu
Copy link
Contributor

@ganglyu ganglyu commented Jul 28, 2022

Why I did it

This PR is used for gNMI POC.

How I did it

How to verify it

  1. Start gnmi server
    docker exec gnmi bash -c "/usr/bin/nohup /usr/sbin/gnxi -logtostderr --port 8080 -insecure --allow_no_client_auth -v=10 >/root/gnmi.log 2>&1 &"

  2. Copy gnmi_set from gnmi container.

  3. Use below command to set gnmi request.

echo "{"qos_01": {"bw": "54321", "cps": "1000", "flows": "300"}}" > ./update.txt
./gnmi_set
-update /sonic-db:APPL_DB/DASH_QOS:@./update.txt
-insecure -username admin -password sonicadmin
-target_addr 10.250.0.101:8080
-alsologtostderr

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

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

Description for the changelog

Link to config_db schema for YANG module changes

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

@stephenxs
Copy link
Collaborator

hi @ganglyu
Is there any document about gNMI on SONiC?
thanks

@ganglyu
Copy link
Contributor Author

ganglyu commented Aug 7, 2022

hi @ganglyu Is there any document about gNMI on SONiC? thanks

sonic-net/SONiC#996

@ganglyu ganglyu closed this Apr 10, 2024
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.

2 participants