09-17-2018 05:28 PM
I want to configure Cisco Switch 9200 which support NetConf using NSO.
I have added the device with device-type netconf and able to add ssh-key .
But i see following error when i do "check sync" or "sync-from"
admin@ncs# config
Entering configuration mode terminal
admin@ncs(config)# devices device Switch-c9200
admin@ncs(config-device-Switch-c9200)# sync-from
result false
info Device Switch-c9200 does not have a Network Element Driver registered
admin@ncs(config-device-Switch-c9200)#
====
This is device config :
admin@ncs# show running-config devices device Switch-c9200
devices device Switch-c9200
address 10.106.30.25
port 830
ssh host-key ssh-rsa
key-data "AAAAB3NzaC1yc2EAAAADAQABAAABAQC4pAwaSspvTQXoow4aY/mEid+ODz2M1na46NfV+03W\nYcvxBRrvN344cRwDcI4RkexMn+aJDnIWVIM22ezOBXQbt5AyJzJn80My3QPulhmRSfdS6jM1\nJ8OH/nrMb/GrkhXuMylwRWA5p9k/BuozJZDNIjjKFqgVK/9DONtadapRwzisoT+are+lgRfn\nORBo2RtnqoE7tcx+7l4HIuAOmDYijxwpNBHLCIWxEcrttyI1f0XaPjTVYiah9zkKnT8LCIvf\ngQJ9PPxvhU/zx+0P9D1Q7IJREayyAF/LI93qG6LFchV0TEdq/E91Z5VjUo0paoX/KIBA0a4B\nHA1x+cxIyChv"
!
authgroup c9200
device-type netconf
trace pretty
state admin-state unlocked
config
no ios:service password-encryption
no ios:cable admission-control preempt priority-voice
no ios:cable qos permission create
no ios:cable qos permission update
no ios:cable qos permission modems
ios:ip source-route
no ios:ip cef
no ios:ip forward-protocol nd
no ios:ipv6 cef
no ios:dot11 syslog
!
!
===
Is there any good documention on how to add and oprate NETCONF supported Cisco device from NSO ?
For NetConf supproted device - we need to generate NETCONF NED ? how to geneate that NED ?
Thanks,
Santosh
Solved! Go to Solution.
09-18-2018 11:02 AM
Right, you can't "automatically" manage a NETCONF device. NSO still needs to have the modules you want to manage from the device. So basically you need to build a NETCONF NED. You can check out the pioneer package to help you with that. https://github.com/NSO-developer/pioneer
Thanks,
-Dan
09-18-2018 01:10 AM
09-18-2018 11:02 AM
Right, you can't "automatically" manage a NETCONF device. NSO still needs to have the modules you want to manage from the device. So basically you need to build a NETCONF NED. You can check out the pioneer package to help you with that. https://github.com/NSO-developer/pioneer
Thanks,
-Dan
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