I have tried the example yang model
container arp {
config false;
tailf:callpoint jarp_data;
list arpe {
key "ip ifname";
max-elements 1024;
tailf:display-groups "none summary details";
leaf ip {
type inet:ip-address;
}
leaf ifname {
type string;
}
leaf hwaddr {
type string;
mandatory true;
tailf:display-groups "none summary details";
}
leaf permanent {
type boolean;
mandatory true;
tailf:display-groups "none details";
}
leaf published {
type boolean;
mandatory true;
tailf:display-groups "details";
}
}
}
The cli looks like
root@localhost 01:51:49> show arp
Possible completions:
arpe -
details -
displaylevel - Depth to show
summary -
We have configured display-groups inside a list ‘arpe’ but why they are being shown in possible completions of container ‘arp’.
I don’t want ‘details’ and ‘summary’ to be shown under container arp. Is there any way we can do that?