Do we have any possible way to load partial data from xml during confd start-up using confd command line argument or with the help of any yang specific statements.
Lets say, xml has number of containers and lists., here i would like to load only particular list data.
or particular container data.
Thanks in advance.
Not that I’m aware of. You can filter using xpath when you save a configuration but as far as I know load is all or nothing. It’s always possible to edit the config off-line before you load…
If anyone knows better, feel free to chip in.
You can use the confd_load command to load configuration files in XML format. You can refer to the Volume 1 of the ConfD man-pages for usage instructions of the confd_load command.