Hi All!
I have my yang as below…
tailf:action peer-statistics {
tailf:actionpoint clear-enb-ap-peer-stats;
input {
leaf instance {
tailf:cli-drop-node-name;
type string;
mandatory true;
}
choice peer {
leaf cs {
type config:Name;
}
leaf me {
type config:Name;
}
} // End of choice
}
output {
leaf result { tailf:cli-drop-node-name; type string; }
}
} // End of peer-statistics
here we want to show either cs/me after peer statistics but we are getting like below…
# peer-statistics ?
Possible completions:
<string> cs me
# peer-statistics me ?
<string> cs me
# peer-statistics me me ?
<string>
Please let me know if I am missing something
What we want is once me/cs is chosen other shouldn’t be shown…
To add as per rfc6020
choice | 7.9 | 0…n |
is a valid sub statement in input…