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

help/bug: The way to read full config (CONFIG_DB) #147

Open
avl-dev opened this issue Aug 24, 2023 · 0 comments
Open

help/bug: The way to read full config (CONFIG_DB) #147

avl-dev opened this issue Aug 24, 2023 · 0 comments
Assignees

Comments

@avl-dev
Copy link

avl-dev commented Aug 24, 2023

Tried to read full config after #143 and #145 pull requests.

How to reproduce:
Build new image-vs with this repo https://github.com/sonic-net/sonic-buildimage (took 202305 branch version) and patch with #143 and #145 commits. Added it to GNS3 and started testing.

the command that was run (after deploy):
gnmi_get -target_name "$(hostname)" -ca dsmsroot.cer -cert streamingtelemetryserver.cer -key streamingtelemetryserver.key -target_addr 127.0.0.1:50051 -xpath "/sonic-db:CONFIG_DB/"

issue that was occurred:

[gnmi_get.go:142] Get failed: rpc error: code = Unavailable desc = transport is closing

Am I doing this correctly or there is another way to read full config (CONFIG_DB table)?

@avl-dev avl-dev changed the title The way to read full config (CONFIG_DB) help: The way to read full config (CONFIG_DB) Aug 29, 2023
@avl-dev avl-dev changed the title help: The way to read full config (CONFIG_DB) help/bug: The way to read full config (CONFIG_DB) Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants