Hi,
I would like to know if the leaf help information is displayed in confd c style cli if it is applied by cli-drop-name. normally it is OK, but if the parent container is annotated by cli-sequence-commands, it is different.
for example, my yang model is like this:
container foo2 {
leaf bar1 {
type string;
description "bar1 info";
}
leaf bar2 {
type string;
description "bar2 info";
}
}
there is no any cli extension annotation, so we can do it like this:
Entering configuration mode terminal
[local]h1(config)#foo2 ?
Possible completions:
bar1 bar1 info
[local]h1(config)#foo2 bar1 ?
Possible completions:
<string>
[local]h1(config)#foo2 bar1 abc ?
Possible completions:
bar2 bar2 info
<cr>
[local]h1(config)#foo2 bar1 abc bar2 ?
Possible completions:
<string>
[local]h1(config)#foo2 bar1 abc bar2 bcd ?
Possible completions:
<cr>
[local]h1(config)#foo2 bar1 abc bar2 bcd
[local]h1(config)#
leaf bar1
and bar2
help information is displayed in nature, but if the model snippet is annotated
container foo2 {
tailf:cli-sequence-commands;
leaf bar1 {
tailf:cli-drop-node-name;
type string;
description "bar1 info";
}
leaf bar2 {
tailf:cli-drop-node-name;
type string;
description "bar2 info";
}
}
sequence commands work like this:
[local]h1(config)#foo2 ?
Possible completions:
<string>
[local]h1(config)#foo2 abc ?
Possible completions:
<string> <cr>
[local]h1(config)#foo2 abc bcd ?
Possible completions:
<cr>
[local]h1(config)#foo2 abc bcd
but it loses the help information.
so is there any cli-extension allowing to display help information inline?
for example:
[local]h1(config)#foo2 ?
Possible completions:
<string> bar1 info
[local]h1(config)#foo2 abc ?
Possible completions:
<string> bar2 info <cr>
[local]h1(config)#foo2 abc bcd ?
Possible completions:
<cr>
[local]h1(config)#foo2 abc bcd
appreciate for any assistance