Hi,
/clispec/$MODE/cmd/callback/table
<callback>
<table>
<root>/all:config/hosts/host</root>
Could you please help to understand the “all:config” in this root path?
We have a below yang file
container hosts
{
config false;
list host
{
leaf name
{
type string;
}
}
}
We are trying to write a custom command in .cli as below
<cmd name="system" mount="show"> <info/> <help/> <callback> <table> <root>/hosts/host</root> <item> <width>20</width> <header>Name</header> <path>name</path> </item> </table> </callback> </cmd> </operationalMode> </clispec>
On executing “show system”
Confd triggers below error. Could you please guide to solve this ?
confd failed to parse child path for show table command: “wrong number of identifiers”
Thanks in advance.