'Is there a way to create xml file of a flow in opendaylight using python?

I want to write a python script which takes a flow and then create the xml for that flow and store it in a file. Is there a library that I can use? I checked this link https://docs.opendaylight.org/projects/openflowplugin/en/latest/users/flow-examples.html which has some flow examples. Where can I find opendaylight flow inventory to see what are the valid tags to use in xml? and what is the meaning of each of them. for example in the link that I mentioned there is a tag named order that I don't know its purpose.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source