ConfD User Community

How do I iterate over configuration nodes only while using maapi_iterate()?


#1

I am using the function maapi_iterate() to iterate over “/” . But this is iterating over operational nodes also. I need to iterate configuration nodes only. Any idea on how to do this?


#2

Try using the flag MAAPI_FLAG_CONFIG_ONLY with maapi_start_trans_flags() or maapi_set_flags().