03-22-2022 02:29 AM - edited 03-22-2022 02:30 AM
I have nso5.5 deployed in GCP and some openconfig-ned based ncs-netsim devices deployed for experimental purposes.
I have also 'cisco yangsuit' deployed (in the docker) in the same VM and also all the openconfig yang modules loaded in there.
yangsuit can ping the devices, upon 'ncs-netsim start' but can't connect to the devices using ssh over default port 10022 or 12022...... meaning, i can't run any RPCs.
I have made some configurations in devices using platform, system & network-instance modules.
Any help/guidance please?
03-22-2022 02:57 AM
03-22-2022 03:17 AM
Thank you snovello for the reply..
I have 3 openconfig-ned based netsim devices (127.0.0.32:12022, 127.0.0.33:12023 & 127.0.0.34:12024)... and, NSO can connect to the devices and configure them.
But the yangsuit tool can't open the socket on these devices saying 'Can't open the socket on 127.0.0.32:12022' and so... though, yangsuit can ping them on the devices on their IPs.
03-22-2022 03:49 AM
So I completely misread your question...
I have a suggestion here, the ssh command has really detailed logging when you turn on its verbose options and you can use it as a netconf client using the subsystem -s option
ssh -vvvp 12022 admin@127.0.0.3 -s netconf
and maybe that will give you a clue about what is failing.
The message about not being able to open a socket points to the fact that yangsuite is trying to reach a port where nothing is listening, that could be misconfiguration in yangsuite or misconfiguration of docker port translations for example.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide