ConfD User Community

How to run confd cli commands using another confd cli command using yang file


#1

i have a requirement similar to
show interface summary - which executes “show interface ethernet brief” “show interface port-channel brief” together

could someone please help on how to do the same


#2

This is rather application related question as we do not know implementation of your commands.

One option: show interface summary can be clispec command that internally calls show interface ethernet brief and show interface port-channel brief using maapi_cli_command. This will work only in CLI. Please check your sources for show interface summary to see how it is implemented.