softlayer / jumpgate

A simple library to make more clouds compatible with OpenStack.
http://softlayer.github.io/jumpgate/
MIT License
46 stars 29 forks source link

support for dynamic domain names on server boot #63

Open bodenr opened 10 years ago

bodenr commented 10 years ago

In the current jumpgate impl, the domain name is always jumpgate.com as per: https://github.com/softlayer/jumpgate/blob/master/jumpgate/compute/drivers/sl/servers.py#L200

Clearly this is something that is slated to be updated given the 'TODO' in the code.

This task is to track such work.

A few ideas on how we might consider more dynamic fqdn on boot server:

[DEFAULT]
default_domain_name = provider.com

This value should be used as the domain name when non is specified on the boot server call.

sudorandom commented 10 years ago

I like all of these solutions. The only one I'm uneasy about is having the server.name be the FQDN because it changes what name actually means from the point of view of the OpenStack API.

jimlindeman commented 10 years ago

The current code is a solution for a single-tenant jumpgate environment as the default domain-name is now settable in the etc/jumpate.conf. However, it is not suitable for multi-tenant environment when two different tenants (or the same tenant) want to use a different domain name. Will transfer this to the next milestone so that can be tracked.