mirror of https://github.com/apache/jclouds.git
Added the SYD zone to Rackspace providers.
This commit is contained in:
parent
82f25150b9
commit
6249d60b0b
|
@ -64,9 +64,10 @@ public class CloudBlockStorageUSProviderMetadata extends BaseProviderMetadata {
|
||||||
public static Properties defaultProperties() {
|
public static Properties defaultProperties() {
|
||||||
Properties properties = new Properties();
|
Properties properties = new Properties();
|
||||||
properties.setProperty(CREDENTIAL_TYPE, CloudIdentityCredentialTypes.API_KEY_CREDENTIALS);
|
properties.setProperty(CREDENTIAL_TYPE, CloudIdentityCredentialTypes.API_KEY_CREDENTIALS);
|
||||||
properties.setProperty(PROPERTY_ZONES, "ORD,DFW");
|
properties.setProperty(PROPERTY_ZONES, "ORD,DFW,SYD");
|
||||||
properties.setProperty(PROPERTY_ZONE + ".ORD." + ISO3166_CODES, "US-IL");
|
properties.setProperty(PROPERTY_ZONE + ".ORD." + ISO3166_CODES, "US-IL");
|
||||||
properties.setProperty(PROPERTY_ZONE + ".DFW." + ISO3166_CODES, "US-TX");
|
properties.setProperty(PROPERTY_ZONE + ".DFW." + ISO3166_CODES, "US-TX");
|
||||||
|
properties.setProperty(PROPERTY_ZONE + ".SYD." + ISO3166_CODES, "AU-NSW");
|
||||||
return properties;
|
return properties;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -91,7 +92,7 @@ public class CloudBlockStorageUSProviderMetadata extends BaseProviderMetadata {
|
||||||
.homepage(URI.create("http://www.rackspace.com/cloud/public/blockstorage/"))
|
.homepage(URI.create("http://www.rackspace.com/cloud/public/blockstorage/"))
|
||||||
.console(URI.create("https://mycloud.rackspace.com"))
|
.console(URI.create("https://mycloud.rackspace.com"))
|
||||||
.linkedServices("rackspace-cloudservers-us", "cloudfiles-us")
|
.linkedServices("rackspace-cloudservers-us", "cloudfiles-us")
|
||||||
.iso3166Codes("US-IL", "US-TX")
|
.iso3166Codes("US-IL", "US-TX", "AU-NSW")
|
||||||
.endpoint("https://identity.api.rackspacecloud.com/v2.0/")
|
.endpoint("https://identity.api.rackspacecloud.com/v2.0/")
|
||||||
.defaultProperties(CloudBlockStorageUSProviderMetadata.defaultProperties());
|
.defaultProperties(CloudBlockStorageUSProviderMetadata.defaultProperties());
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,9 +53,10 @@ public class CloudLoadBalancersUSProviderMetadata extends BaseProviderMetadata {
|
||||||
|
|
||||||
public static Properties defaultProperties() {
|
public static Properties defaultProperties() {
|
||||||
Properties properties = new Properties();
|
Properties properties = new Properties();
|
||||||
properties.setProperty(PROPERTY_ZONES, "ORD,DFW");
|
properties.setProperty(PROPERTY_ZONES, "ORD,DFW,SYD");
|
||||||
properties.setProperty(PROPERTY_ZONE + ".ORD." + ISO3166_CODES, "US-IL");
|
properties.setProperty(PROPERTY_ZONE + ".ORD." + ISO3166_CODES, "US-IL");
|
||||||
properties.setProperty(PROPERTY_ZONE + ".DFW." + ISO3166_CODES, "US-TX");
|
properties.setProperty(PROPERTY_ZONE + ".DFW." + ISO3166_CODES, "US-TX");
|
||||||
|
properties.setProperty(PROPERTY_ZONE + ".SYD." + ISO3166_CODES, "AU-NSW");
|
||||||
return properties;
|
return properties;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -70,7 +71,7 @@ public class CloudLoadBalancersUSProviderMetadata extends BaseProviderMetadata {
|
||||||
.homepage(URI.create("http://www.rackspace.com/cloud/public/loadbalancers/"))
|
.homepage(URI.create("http://www.rackspace.com/cloud/public/loadbalancers/"))
|
||||||
.console(URI.create("https://mycloud.rackspace.com"))
|
.console(URI.create("https://mycloud.rackspace.com"))
|
||||||
.linkedServices("rackspace-cloudservers-us", "cloudfiles-us", "rackspace-cloudblockstorage-us")
|
.linkedServices("rackspace-cloudservers-us", "cloudfiles-us", "rackspace-cloudblockstorage-us")
|
||||||
.iso3166Codes("US-IL", "US-TX")
|
.iso3166Codes("US-IL", "US-TX", "AU-NSW")
|
||||||
.endpoint("https://identity.api.rackspacecloud.com/v2.0/")
|
.endpoint("https://identity.api.rackspacecloud.com/v2.0/")
|
||||||
.defaultProperties(CloudLoadBalancersApiMetadata.defaultProperties());
|
.defaultProperties(CloudLoadBalancersApiMetadata.defaultProperties());
|
||||||
}
|
}
|
||||||
|
|
|
@ -65,9 +65,10 @@ public class CloudServersUSProviderMetadata extends BaseProviderMetadata {
|
||||||
public static Properties defaultProperties() {
|
public static Properties defaultProperties() {
|
||||||
Properties properties = new Properties();
|
Properties properties = new Properties();
|
||||||
properties.setProperty(CREDENTIAL_TYPE, CloudIdentityCredentialTypes.API_KEY_CREDENTIALS);
|
properties.setProperty(CREDENTIAL_TYPE, CloudIdentityCredentialTypes.API_KEY_CREDENTIALS);
|
||||||
properties.setProperty(PROPERTY_ZONES, "ORD,DFW");
|
properties.setProperty(PROPERTY_ZONES, "ORD,DFW,SYD");
|
||||||
properties.setProperty(PROPERTY_ZONE + ".ORD." + ISO3166_CODES, "US-IL");
|
properties.setProperty(PROPERTY_ZONE + ".ORD." + ISO3166_CODES, "US-IL");
|
||||||
properties.setProperty(PROPERTY_ZONE + ".DFW." + ISO3166_CODES, "US-TX");
|
properties.setProperty(PROPERTY_ZONE + ".DFW." + ISO3166_CODES, "US-TX");
|
||||||
|
properties.setProperty(PROPERTY_ZONE + ".SYD." + ISO3166_CODES, "AU-NSW");
|
||||||
return properties;
|
return properties;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -94,7 +95,7 @@ public class CloudServersUSProviderMetadata extends BaseProviderMetadata {
|
||||||
.homepage(URI.create("http://www.rackspace.com/cloud/nextgen"))
|
.homepage(URI.create("http://www.rackspace.com/cloud/nextgen"))
|
||||||
.console(URI.create("https://mycloud.rackspace.com"))
|
.console(URI.create("https://mycloud.rackspace.com"))
|
||||||
.linkedServices("rackspace-cloudservers-us", "cloudfiles-swift-us")
|
.linkedServices("rackspace-cloudservers-us", "cloudfiles-swift-us")
|
||||||
.iso3166Codes("US-IL", "US-TX")
|
.iso3166Codes("US-IL", "US-TX", "AU-NSW")
|
||||||
.endpoint("https://identity.api.rackspacecloud.com/v2.0/")
|
.endpoint("https://identity.api.rackspacecloud.com/v2.0/")
|
||||||
.defaultProperties(CloudServersUSProviderMetadata.defaultProperties());
|
.defaultProperties(CloudServersUSProviderMetadata.defaultProperties());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue