Is it possible to delete a default value for a leaf using "deviate delete"

leaf foo {
type int32;
default 42;
}

deviation /foo {
deviate delete {
default 42;
}
}

will this deviation work…?

Yes, this deviation will work. However, you will typically put the deviation statement in a separate annotation YANG module. You can always try this out by creating your own ConfD project or by modifying an existing example in the ConfD example collection set.

Thanks a lot Waitai :slight_smile: