Hi,
I’ve yang model defined with list of params and key is a combination of 2 properties, category, property. Could you please let me know how to use confd_cmd to set value
model
grouping global_params {
container parameters {
list parameter {
key "category property";
leaf category {
tailf:cli-expose-key-name;
type string;
mandatory true;
}
leaf property {
tailf:cli-expose-key-name;
type string;
mandatory true;
}
leaf value {
type string;
mandatory true;
}
}
}
}
Tried this command, but didn’t work.
/opt/confd/bin/confd_cmd -o -c "create /parameters/parameter{CAT1 PROP1}/value{true}"