I am tweaking something in confd which is configured by any other enginer.
We have defined yang scheme. E.g.:
The top module is top.yang (has container “top”) and it includes two modules such as a.yang (has container “a”) and and b.yang (has container “b”). I compiled and and put the *.fxs files in loadPath.
In confd_cli, no matter in configuration or operation, when I type cmd “show top” and tab, I can see
show
Possible completions:
a
b
This makes sense. But when I type “show” cmd in cli and try to tab it, I can see
show
Possible completions:
a
b
top
This confused me since this doesn’t match with the yang schema I defined. I can’t figure out why container “a” and “b” show in parallel level as “top”. This is the expected behavior we need. However, I just don’t understand what configuration or something be done in confd which can show these in confd_cli.
Anyone has idea ?
Thanks in advance.