How to avoid key completion when using tailf:cli-prefix-key in a list

Hello,

I’m looking to avoid key completion when i m using tailf:cli-prefix-key in a list only for the first parameter.

WM(conf-node)>insert-param ?
Possible completions:
number to insert: max 35 digits [0-9,*,#,-]
in <-------------- HOW to suppress key here ???
out <------------- I m not suppose to have any key, right ?
WM(conf-node)>insert-param 45 ?
Possible completions:
in out

That’s my container :

container insert-param {
list insert-param-list {
key type;
leaf number {
type string {
length “1…35”;
tailf:info “WORD;;number to insert: max 35 digits [0-9,*,#,-]”;
}
tailf:cli-prefix-key;
tailf:cli-drop-node-name;
}
leaf type {
type enumeration {
enum “in” {
value 0;
}
enum “out” {
value 1;
}
tailf:info “;;Select field for param insertion: <in | out>”;
}
default “in”;
tailf:cli-drop-node-name;
}
tailf:cli-drop-node-name;
tailf:cli-suppress-mode;
}
tailf:info “Set param insertion”;
tailf:cli-compact-syntax;
tailf:cli-sequence-commands;
}

I found the solution : i just need to use tailf:cli-sequence-commands; and put type the leaf in the top.

Good job with finding your own solution so quickly.