Hi!
I'm using python to get all attributes of a node which are configured on a device.
For example, I have a routing instance on Juniper device which is a List, and I want to get all the attributes which are configured on that node (interface, policy, etc..). So something like show running-config would do in CLI.
Currently I'm iterating child objects and also retrieving values with getattr() function, but this gets complicated when a node contains more Lists, Containers etc. So If there's a simpler solution I'd be happy to hear about it 
Simon