ConfD User Community

Netconf-console on windows


#1

Hi,

I like to use netconf-console on a windows machine. Any suggestion what I’d need to get going?

Below is my error trace on windows using netconf-console python script that comes with confd 6.3 linux i686:

SSH:
d:\>python netconf-console --host=gIOS13 --proto=ssh --port=13022 --user=admin  --password=admin --hello
No handlers could be found for logger "paramiko.transport"
Traceback (most recent call last):
  File "netconf-console", line 734, in <module>
    c.connect()
  File "netconf-console", line 232, in connect
    password=self.password)
  File "C:\Anaconda\lib\site-packages\paramiko\transport.py", line 1086, in connect
    self.start_client()
  File "C:\Anaconda\lib\site-packages\paramiko\transport.py", line 500, in start_client
    raise e
ImportError: DLL load failed: The operating system cannot run %1.


TCP:
d:\>python netconf-console --host=gIOS13 --proto=tcp --port=13023 --user=admin  --password=admin --hello
Traceback (most recent call last):
  File "netconf-console", line 734, in <module>
    c.connect()
  File "netconf-console", line 302, in connect
    self.sock.send("["+self.username+";%s;tcp;%d;%d;%s;%s;%s;]\n"%(sockname[0], os.getuid(), os.getgid(), self.suplgids, os.getenv("HOME", "/tmp"), self.groups))
AttributeError: 'module' object has no attribute 'getuid'

#2

I haven’t tried running netconf-console on Windows. Tail-f’s products and tools can usually only run on Linux.

However, there is now an optional feature on Windows 10 called Windows Subsystem for Linux. I don’t haven any first hand experience with this. You may want to give that a try.


#3

I can confirm that netconf-console works using Windows Subsystem for Linux. You will need to install the python-paramiko package (sudo apt-get install python-paramiko)