Perform Set on multiple list entries via confd CLI

We have a list which for each entry has multiple leaves. There can be hundreds of list entries.
We would like from the CLI to be able to set more than one list entry at a time. It seems like there is no ranging or iteration type of commands or wildcarding for set, even though this does exist for gets. Is there a way to express this in the confd CLI?
i.e. pretend I had this structure:
list rectangle {

key “length width”; // composite key (both fields together)

leaf length {

type int32;

}

leaf width {

type int32;

}

}
and I wanted to change the length to 1 for every member of the list.
Is there a way to do this, and if not, why?

Example usage

Given a model like this:

list rectangle {
  key name;
  leaf name { type string; }
  leaf length { type int32; }
  leaf width { type int32; }

}

You could do:

set rectangle * length 1

or with a range on integer keys:

set rectangle 1-5 length 1

Issue with your specific example

In your YANG model, length and width are key leaves. Key values are immutable in YANG - once a list entry is created, you cannot change its keys. You would need to delete and create instances. To “change length to 1 for every member” you’d need length to be a non-key leaf. You’d need a separate key (e.g., name) and then length/width as regular leaves,

Summary

Wildcard SET is supported and works by iterating over all matching existing instances.
The feature is controlled by the same allowRangeExpression / tailf:cli-allow-range settings
used for show commands.

The limitation in your example is that key leaves cannot be modified — that’s a YANG constraint, not a CLI one.