My requirement is to show the CLI only in the no form. I’ve tried using tailf:cli-show-no and tail:cli-boolean-no, Both of them show the no form of the CLI along with yes.
e.g.
container A { leaf B { type boolean; tailf:cli-boolean-no; } }
My requirement is to see only “no A B” CLI.
Any help on this requirement?
You can try something like:
container A { leaf B { type boolean; tailf:cli-boolean-no; tailf:cli-trim-default; default true; } }
Thanks cohult,
But it shows the A B right? My requirement is to not show the positive form, only show the negative form. no A B
More details:
Lets Say,
container A { presence true leaf B { type boolean; tailf:cli-boolean-no; tailf:cli-trim-default; default true; } }
When i configure A, It will show A B
Before commit using the C-style CLI, yes. It will not show B after commit.