Support IAD region for Rackspace providers.

This commit is contained in:
Everett Toews 2013-08-06 15:58:16 -05:00
parent d8fe0c9c21
commit bf2138089d
3 changed files with 6 additions and 3 deletions

View File

@ -64,9 +64,10 @@ public class CloudBlockStorageUSProviderMetadata extends BaseProviderMetadata {
public static Properties defaultProperties() {
Properties properties = new Properties();
properties.setProperty(CREDENTIAL_TYPE, CloudIdentityCredentialTypes.API_KEY_CREDENTIALS);
properties.setProperty(PROPERTY_ZONES, "ORD,DFW,SYD");
properties.setProperty(PROPERTY_ZONES, "ORD,DFW,IAD,SYD");
properties.setProperty(PROPERTY_ZONE + ".ORD." + ISO3166_CODES, "US-IL");
properties.setProperty(PROPERTY_ZONE + ".DFW." + ISO3166_CODES, "US-TX");
properties.setProperty(PROPERTY_ZONE + ".IAD." + ISO3166_CODES, "US-VA");
properties.setProperty(PROPERTY_ZONE + ".SYD." + ISO3166_CODES, "AU-NSW");
return properties;
}

View File

@ -53,9 +53,10 @@ public class CloudLoadBalancersUSProviderMetadata extends BaseProviderMetadata {
public static Properties defaultProperties() {
Properties properties = new Properties();
properties.setProperty(PROPERTY_ZONES, "ORD,DFW,SYD");
properties.setProperty(PROPERTY_ZONES, "ORD,DFW,IAD,SYD");
properties.setProperty(PROPERTY_ZONE + ".ORD." + ISO3166_CODES, "US-IL");
properties.setProperty(PROPERTY_ZONE + ".DFW." + ISO3166_CODES, "US-TX");
properties.setProperty(PROPERTY_ZONE + ".IAD." + ISO3166_CODES, "US-VA");
properties.setProperty(PROPERTY_ZONE + ".SYD." + ISO3166_CODES, "AU-NSW");
return properties;
}

View File

@ -65,9 +65,10 @@ public class CloudServersUSProviderMetadata extends BaseProviderMetadata {
public static Properties defaultProperties() {
Properties properties = new Properties();
properties.setProperty(CREDENTIAL_TYPE, CloudIdentityCredentialTypes.API_KEY_CREDENTIALS);
properties.setProperty(PROPERTY_ZONES, "ORD,DFW,SYD");
properties.setProperty(PROPERTY_ZONES, "ORD,DFW,IAD,SYD");
properties.setProperty(PROPERTY_ZONE + ".ORD." + ISO3166_CODES, "US-IL");
properties.setProperty(PROPERTY_ZONE + ".DFW." + ISO3166_CODES, "US-TX");
properties.setProperty(PROPERTY_ZONE + ".IAD." + ISO3166_CODES, "US-VA");
properties.setProperty(PROPERTY_ZONE + ".SYD." + ISO3166_CODES, "AU-NSW");
return properties;
}