python script

Kawshik Sarkar


I have used python 3 and ncclient...(netconf client) library to connect and script Cisco/Juniper boxes in the past. I tried the same thing with VPP server , and heres the response i got...

  File "./", line 12, in <module>
    with manager.connect(host=device, port="2831", username = uname, password = password, device_params={'name':'default'})as m:
  File "/usr/local/lib/python3.5/dist-packages/ncclient/", line 154, in connect
    return connect_ssh(*args, **kwds)
  File "/usr/local/lib/python3.5/dist-packages/ncclient/", line 119, in connect_ssh
    session.connect(*args, **kwds)
  File "/usr/local/lib/python3.5/dist-packages/ncclient/transport/", line 403, in connect
    raise SSHUnknownHostError(host, fingerprint)
ncclient.transport.errors.SSHUnknownHostError: Unknown host key [55:f5:c5:01:c8:00:cb:52:12:c2:c3:0e:7b:5b:af:a4] for []

I checked the device-handler list and VPP or Honeycomb is missing. Does honeycomb use a different library when talking to its devices via python 3/3.5?

Is it ''libhoney'' insetad of ncclient?

Any example/sample scripts?