Confd Upgrade issue


I have a yang model which use the container format.
container xyz {
leaf a;
leaf b;
leaf c;

Later this yang model has to be updated to list format
list xyz {
leaf a { key;}
leaf b;
leaf c;

Now in the older system there is a entry for xyz in the container format. Now after upgrading to list model the yang is throwing error, it is not able to process the old entry which is in the cdb.

I am using confd-4.0.3 , is there any way to over come this ?

Hi Shafath,
As ConfD cannot automatically translate “leaf a” from a leaf in a container to a key in a list, here you need to register an upgrade client to handle the change.
ConfD UG “Using MAAPI to modify CDB during upgrade”