Repository: libcloud Updated Branches: refs/heads/trunk 10b21cff9 -> 526d06b86
Added us-east-2 and us-east-3 regions to the Joyent compute driver. Closes #386 Signed-off-by: Tomaz Muraus <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/526d06b8 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/526d06b8 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/526d06b8 Branch: refs/heads/trunk Commit: 526d06b86423ed1efff1b538fe0e364d29c4261e Parents: 10b21cf Author: ZuluPro <[email protected]> Authored: Mon Nov 10 20:04:27 2014 +0100 Committer: Tomaz Muraus <[email protected]> Committed: Tue Nov 11 18:06:53 2014 +0800 ---------------------------------------------------------------------- CHANGES.rst | 4 ++++ libcloud/compute/drivers/joyent.py | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/526d06b8/CHANGES.rst ---------------------------------------------------------------------- diff --git a/CHANGES.rst b/CHANGES.rst index e2136c3..09c0212 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -11,6 +11,10 @@ Compute (LIBCLOUD-632, GITHUB-385) [Borja Martin] +- Add new `us-east-2` and `us-east-3` region to the Joyent driver. + (GITHUB-386) + [ZuluPro] + Changes with Apache Libcloud 0.16.0 ----------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/526d06b8/libcloud/compute/drivers/joyent.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/drivers/joyent.py b/libcloud/compute/drivers/joyent.py index 6d8142e..42bbae2 100644 --- a/libcloud/compute/drivers/joyent.py +++ b/libcloud/compute/drivers/joyent.py @@ -46,7 +46,12 @@ NODE_STATE_MAP = { 'deleted': NodeState.TERMINATED } -VALID_REGIONS = ['us-east-1', 'us-west-1', 'us-sw-1', 'eu-ams-1'] +VALID_REGIONS = [ + 'us-east-1', 'us-east-2', 'us-east-3', + 'us-west-1', + 'us-sw-1', + 'eu-ams-1' +] DEFAULT_REGION = 'us-east-1'
