ConfD User Community

Is it possible for netconf to retrieve partial list from data-provider?


#1

In our implementation, the max elements of list is 65535 and the server providing the data would take much time to update the stutus before send the data to data-provider. Is it possible for netconf to only retrieve partial list, e.g. 20K~30K?


#2

A NETCONF client may require that the result is filtered; there are many options for filtering, in your case you may want to use XPath filters in a form like

/files/file[position() > 10000 and position() < 20000]

But: first, it could be that even if the NETCONF client uses such filter, ConfD would still try to retrieve all entries from your data provider. Second, if the NETCONF client requests unfiltered data, ConfD (and the data provider) must provide it no matter what.