I'm very proud to release an updated version of this code with a long awaited request from several users: VM sync support!
Please update your code and config.py file with the new variables before running the script. Several new variables have been added to the configuration file, specifically in regards to VM synchronization. And make sure to check the hostgroup variable names, these have changed with the introduction of VM's! For instance, dev_region has been changed to region because both VM's and devices can have a region.
Several other improvements and bug fixes have been implemented in this release.