container test {
config false;
list result {
tailf:cli-suppress-mode;
key "test";
leaf test {
type string;
}
leaf result {
tailf:cli-drop-node-name;
type enumeration {
enum Passed;
enum Failed;
}
}
}
}
You can then use wildcards if /confdConfig/cli/allowWildcard is set to “true”, which is default in your confd.conf.
Example:
# show test result * Passed
TEST RESULT
--------------
AAA Passed
CCC Passed
# show test result * Failed
TEST RESULT
--------------
BBB Failed