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

How to parse an SNE router ID to the gnmi request when the router ID is not exposed to outside network #518

Open
azvadva opened this issue Sep 2, 2024 · 2 comments

Comments

@azvadva
Copy link

azvadva commented Sep 2, 2024

I have an GNE-SNE configuration between two nodes. GNE has a DCN IP configured and it can be managed from outside network, while SNE has router ID and it can be accessible via GNE. Their is no DCN connectivity to the SNE and the router ID is not exposed to the outside network. SNE is accessible via the optical link(OSC) between them. I need to send grpc request to tbe SNE which I'm unable tk do now.

gnmic subscribe --address 10.140.162.34:50051 --skip-verify true --path "/alarms/current-alarms/alarm" --mode stream --stream-mode on-change --timeout 15s --username emsuser --password Infera#1 --encoding json_ietf

For NETCONF I'm able to access via port forwarding. Grpc I'm struggling. Can someone please help me to access the SNE from gNMIc client

@hellt
Copy link
Collaborator

hellt commented Sep 2, 2024

network connectivity method is irrelevant to the gnmic project.
but you should be able to use port forwarding just as you did with netconf

@azvadva
Copy link
Author

azvadva commented Sep 3, 2024

Hi @hellt can you please show how to send the gnmic request which i have shared above through port forwarding.. In NETCONF i used two separate SSH sessions.. Here I don't know how to send... Please help

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

No branches or pull requests

2 participants