First start zendmd from the command line:
We open a file for writing and then write the desired information for each device to the file, separated by semicolons.
>>> f = open("/tmp/devices.txt", "w")
>>> for d in dmd.Devices.getSubDevices():
Of course you can customize the device information and the separator - further you can add all interfaces of each device or any other information available to this report.#