Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

support setting default data center as conf option #81

@bodenr

Description

@bodenr

Jumpgate's current implementation from a compute server create perspective determines the SL DC to use by pulling the availability_zone value out of the body of a server create request. If this property is not set it appears a default of None is passed down to the SL py client and from there the San Jose DC is used by default.

Although I believe the best approach is to pull a dynamic value from a request (albeit a SL DC is really a region in my mind), it would be useful to allow the Jumgpate admin to specify a default DC to use if none is specified in server create request bodies.

For example in the jumpgate.conf we might have something like:

[compute]
driver=jumpgate.compute.drivers.sl
default_availability_zone=wdc01

which indicates to use the Washing DC data center is none is specified in server create request body.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions