NSO-developer / pioneer

Your Swiss army knife for NETCONF, YANG and NSO NEDs
33 stars 13 forks source link

better error reporting for missing prerequisites #4

Closed martin-volf closed 5 years ago

martin-volf commented 6 years ago

New users often forget to install some of the package prerequisites, especially Paramiko. In such case, Pioneer reports somewhat useless error message:

admin@ncs(config-device-DEV)# pioneer netconf hello
error Operation failed
admin@ncs(config-device-DEV)#

The change fixes that to

admin@ncs(config-device-DEV)# pioneer netconf hello
error You must install the python ssh implementation paramiko
in order to use ssh.
admin@ncs(config-device-DEV)#