02-18-2022 06:13 AM
Hello all,
I have openconfig-ned compiled and now, i am trying to create a network of netsim devices based on this openconfig-ned.
The devices are getting created and I can do "load merge" into NSO.
I can ping the devices but, I can't connect to them, means I can't create/commit any changes.
OpenConf-Dev-00 - 127.0.0.32 - 12022 - openconfig-ned-nc-1....openconfig-ned-nc-1.0
If i change the port to anything in the range of 100xx or 120xx, then it gives error as 'connection refused'.
If i change the port to 830 (for netconf), then also connection refused.
I can ssh into the devices from install directory on port 12022 and it's replying back with netconf 'hello', but, the device is showing as default cisco/ietf yang modules/capabilities installed but none of the openconfig-yang modules.
Any help please??....
Solved! Go to Solution.
02-18-2022 06:26 AM - edited 02-18-2022 06:26 AM
Hello,
Did you start your device ? After creating your netsim , you need to start the netsim then load device in NSO. Once Device is loaded in NSO , you need to perform a sync-from . I think your issue is coming from the fact you forgot to perform a sync-from
Can you run those command ncs-netsim start ncs-netsim is-alive and provide the output ?
nabil@DESKTOP-8ECTID4:~/ncs-run-5.5.4$ ncs-netsim start DEVICE TEST-IOS-XR-3.50 OK STARTED DEVICE TEST-IOS-XR-3.51 OK STARTED DEVICE TEST-IOS-XR-3.52 OK STARTED DEVICE TEST-IOS-XR-3.00 OK STARTED DEVICE TEST-IOS-XR-3.01 OK STARTED DEVICE TEST-IOS-3.00 OK STARTED DEVICE TEST-IOS-3.01 OK STARTED DEVICE TEST-IOS-3.80 OK STARTED DEVICE TEST-IOS-3.81 OK STARTED nabil@DESKTOP-8ECTID4:~/ncs-run-5.5.4$ ncs-netsim is-alive DEVICE TEST-IOS-XR-3.50 OK DEVICE TEST-IOS-XR-3.51 OK DEVICE TEST-IOS-XR-3.52 OK DEVICE TEST-IOS-XR-3.00 OK DEVICE TEST-IOS-XR-3.01 OK DEVICE TEST-IOS-3.00 OK DEVICE TEST-IOS-3.01 OK DEVICE TEST-IOS-3.80 OK DEVICE TEST-IOS-3.81 OK nabil@DESKTOP-8ECTID4:~/ncs-run-5.5.4$
Best Regards,
Nabil
02-18-2022 06:26 AM - edited 02-18-2022 06:26 AM
Hello,
Did you start your device ? After creating your netsim , you need to start the netsim then load device in NSO. Once Device is loaded in NSO , you need to perform a sync-from . I think your issue is coming from the fact you forgot to perform a sync-from
Can you run those command ncs-netsim start ncs-netsim is-alive and provide the output ?
nabil@DESKTOP-8ECTID4:~/ncs-run-5.5.4$ ncs-netsim start DEVICE TEST-IOS-XR-3.50 OK STARTED DEVICE TEST-IOS-XR-3.51 OK STARTED DEVICE TEST-IOS-XR-3.52 OK STARTED DEVICE TEST-IOS-XR-3.00 OK STARTED DEVICE TEST-IOS-XR-3.01 OK STARTED DEVICE TEST-IOS-3.00 OK STARTED DEVICE TEST-IOS-3.01 OK STARTED DEVICE TEST-IOS-3.80 OK STARTED DEVICE TEST-IOS-3.81 OK STARTED nabil@DESKTOP-8ECTID4:~/ncs-run-5.5.4$ ncs-netsim is-alive DEVICE TEST-IOS-XR-3.50 OK DEVICE TEST-IOS-XR-3.51 OK DEVICE TEST-IOS-XR-3.52 OK DEVICE TEST-IOS-XR-3.00 OK DEVICE TEST-IOS-XR-3.01 OK DEVICE TEST-IOS-3.00 OK DEVICE TEST-IOS-3.01 OK DEVICE TEST-IOS-3.80 OK DEVICE TEST-IOS-3.81 OK nabil@DESKTOP-8ECTID4:~/ncs-run-5.5.4$
Best Regards,
Nabil
02-19-2022 07:38 AM
Spot on.. thanks..
But, during device creations, it had not created .xml files which can be loaded.. so i created them manually.
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