Opened a PR with the code https://github.com/apache/libcloud/pull/148
Feel free to comment. If there aren't any objections and blockers I'll merge the code into trunk next week. On Fri, Sep 13, 2013 at 10:25 PM, Jayy Vis <[email protected]> wrote: > It's an important piece to abstract away the differences among DNS > providers. > > +1 to have it in core. > > > > > On Fri, Sep 13, 2013 at 9:24 PM, Dinesh Bhoopathy < > [email protected] > > wrote: > > > +1 on this! > > > > On Thu, Sep 12, 2013 at 11:39 PM, John Carr <[email protected]> wrote: > > > +1 to having this in core. > > > > > > On 10 Sep 2013, at 22:22, Tomaz Muraus <[email protected]> wrote: > > > > > >> All, > > >> > > >> Over the weekend I migrated some of my domains to a different DNS > > provider ( > > >> > > > http://www.tomaz.me/2013/09/07/exporting-libcloud-dns-zone-to-bind-zone-file-format-and-migrating-between-dns-providers.html > > >> so > > >> I wrote a very simple script which allows you to export Libcloud zone > to > > >> BIND zone format. > > >> > > >> Script is available at > > >> > > > https://github.com/Kami/python-libcloud-dns-to-bind-zone/blob/master/libcloud_to_bind/__init__.py > > >> > > >> I believe this functionality would be useful in Libcloud core so I > > propose > > >> the addition of the following methods to the base DNS driver: > > >> > > >> - Zone.export_to_bind_format(file_obj) > > >> - driver.export_zone_to_bind_format(zone, file_obj) > > >> > > >> Some people might ask why would we add this to the core, but not > > >> functionality for exporting VMs to different formats: > > >> > > >> - VM export functionality is not supported by every provider. > > >> - This code is simple and has no external dependencies. VM conversion > > code > > >> would be anything but simple. Besides that, there are already other > > tools > > >> which can do this (there is a redhat tool which can do that, but I > can't > > >> remember the name atm). > > >> > > >> I would love to hear other people's opinion. Do you think this would > be > > >> useful in the core? Do you think this belongs in the core? > > >> > > >> Thanks, > > >> Tomaz > > > > > > > > > > > -- > > Dinesh > > >
