Hi,
My list looks as below.
list a {
key "b"
leaf b {
type string;
}
}
cdb has entries as:
/key-path-before the list/a{b1}
/key-path-before the list/a{b2}
I need to fetch the leaf b1 and b2 entries to write an upgrade proc based on these two values.
i was able to get number of instances as 2 for the path “/key-path-before the list/a”, but unable to get the values b1 and b2. I tried to use the following:
- /key-path-before the list/a[0] to make use of cdb_get_object, it failed.
- /key-path-before the list/a[0] to make use of cdb_get, it failed.
Kindly provide your inputs.