Ansible network_cli plugin development for custom network device

Hi,
I have written code for cliconf and terminal for new network device to support network_cli but i am unable to load the cliconf when i am running the command for the device.
the cliconf and terminal both are in respective path:-
/home/nshet/.ansible/collections/ansible_collections/myorg/myos/plugins/terminal

/home/nshet/.ansible/collections/ansible_collections/myorg/myos/plugins/cliconf

when i increase verbosity below is the error that i am finding:-

local domain socket does not exist, starting it
<172.16.7.232> control socket path is /home/nshet/.ansible/pc/fd6295b4b1
<172.16.7.232> Loading collection ansible.netcommon from /home/nshet/.ansible/collections/ansible_collections/ansible/netcommon
<172.16.7.232> Loading collection myorg.myos from /home/nshet/.ansible/collections/ansible_collections/myorg/myos
<172.16.7.232> local domain socket listeners started successfully
<172.16.7.232> unable to load cliconf for network_os myorg.myos.myos
<172.16.7.232>

Please help me on this.

Thanks,
Nitesh

Hi Nitesh,

It is difficult to tell what might be causing the problem without looking at the plugins you wrote. Have you tried explicitly setting the environment variable ANSIBLE_CLICONF_PLUGINS to point to your custom cliconf plugin file and see if that works?

Thanks,
Nilashish Chakraborty
Senior Software Engineer - Ansible