I am working my way through the examples and am failing when I try netconf-console or netconf-console-tcp. The CLI works fine, but not when trying to use the netconf-console.
OS: Ubuntu 20.04, python 2.7(python command), python3 is also installed. Confd basic 7.6.
The server comes up fine and works without issue against the CLI in the 1-2-3 example.
All server messages say CONFD_OK on startup.
make query gets the following errors: (paramiko is imported into python3, I can only find it for python3 in Ubuntu 20.04).
murrayl@docker-yang-explorer:~/confd-7.6/examples.confd/intro/1-2-3-start-query-model$ make query
/home/murrayl/confd-7.6/bin/netconf-console cmd-get-dhcpd.xml
Traceback (most recent call last):
File “/home/murrayl/confd-7.6/bin/netconf-console.py”, line 1390, in
main(parser, o)
File “/home/murrayl/confd-7.6/bin/netconf-console.py”, line 1311, in main
fd.close()
BrokenPipeError: [Errno 32] Broken pipe
make: *** [Makefile:88: query] Error 1
murrayl@docker-yang-explorer:~/confd-7.6/examples.confd/intro/1-2-3-start-query-model$
when using the tcp option, still no joy.
murrayl@docker-yang-explorer:~/confd-7.6/examples.confd/intro/1-2-3-start-query-model$ netconf-console-tcp cmd-get-dhcpd.xml
Failed to connect to localhost: [Errno 111] Connection refused
murrayl@docker-yang-explorer:~/confd-7.6/examples.confd/intro/1-2-3-start-query-model$
I’m open to changing OSes or versions so that I can properly evaluate the product, but just need to get the product exercised so I can properly evaluate a purchase.