Skip to content

[LIBCLOUD-640] Add support for Softlayer DNS driver#413

Closed
vanclevstik wants to merge 1 commit into
apache:trunkfrom
teamniteo:create_softlayer_dns_driver
Closed

[LIBCLOUD-640] Add support for Softlayer DNS driver#413
vanclevstik wants to merge 1 commit into
apache:trunkfrom
teamniteo:create_softlayer_dns_driver

Conversation

@vanclevstik
Copy link
Copy Markdown
Contributor

  • Refactored SoftLayer connection, moved it to common, to be used by compute and dns driver
  • Added support for DNS driver methods
  • Unit tests for all methods

Driver has been tested a bit manually too and it seems to work. Looking for review/any comments

One thing missing is support for "update_zone" method as SoftLayer doesn't support so I don't really know how to tackle this problem?

@vanclevstik vanclevstik force-pushed the create_softlayer_dns_driver branch from 2007cc9 to 81e844d Compare December 9, 2014 12:23
@Kami
Copy link
Copy Markdown
Member

Kami commented Dec 9, 2014

Great, thanks. I will review it ASAP.

As far as update_zone goes - you can just leave it unimplemented. Most providers who support zone editing only allow you to change attributes such as "ttl" and "email" (email address of the zone owner).

@vanclevstik vanclevstik force-pushed the create_softlayer_dns_driver branch from 81e844d to 9be2d8b Compare December 9, 2014 21:57
@vanclevstik
Copy link
Copy Markdown
Contributor Author

Had some Travis fails on py3 builds, should be fine now.

Comment thread libcloud/dns/drivers/softlayer.py Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor style and consistency things - can you please re-order the methods and put "private" methods at the end (https://libcloud.readthedocs.org/en/latest/development.html#function-and-method-ordering)?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK will fix.

@vanclevstik vanclevstik force-pushed the create_softlayer_dns_driver branch from 9be2d8b to 0e76368 Compare December 15, 2014 18:11
@vanclevstik
Copy link
Copy Markdown
Contributor Author

@Kami Fixed, ready for review :)

@asfgit asfgit closed this in dd7ba77 Dec 16, 2014
@Kami
Copy link
Copy Markdown
Member

Kami commented Dec 16, 2014

I've made some more missed changes (updated delete_* methods to return a boolean on success) and merged patch into trunk.

Thanks!

@dz0ny dz0ny deleted the create_softlayer_dns_driver branch August 18, 2015 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants