ConfD User Community

Cdb_get_next_object with nested lists


#1
list one {
   tailf: callpoint list_one;
   leaf L_one {
       type string;
   }
   list two {
      tailf: callpoint list_two;
      leaf L_two {
          type string;
      }
      list three {
         leaf L_three {
             type string;
         }
      }
  }
}

I have a nested lists as described above, I want to use get_next_object() for list two as part of this I want return the contents of list two and list three together. Is this possible or i have to install a different get_next_object for list_three explicitly?


#2

Reuse the get_next_object() but do not provide nested lists back to ConfD.
See for example Oper Data Handler: Nested dynamic elements not allowed