mirror of https://github.com/apache/jclouds.git
Support HKG region for Rackspace providers.
This commit is contained in:
parent
04c9c6afd2
commit
747fde69e9
|
@ -64,11 +64,12 @@ 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,IAD,SYD");
|
||||
properties.setProperty(PROPERTY_ZONES, "ORD,DFW,IAD,SYD,HKG");
|
||||
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");
|
||||
properties.setProperty(PROPERTY_ZONE + ".HKG." + ISO3166_CODES, "HK");
|
||||
return properties;
|
||||
}
|
||||
|
||||
|
|
|
@ -53,11 +53,12 @@ public class CloudLoadBalancersUSProviderMetadata extends BaseProviderMetadata {
|
|||
|
||||
public static Properties defaultProperties() {
|
||||
Properties properties = new Properties();
|
||||
properties.setProperty(PROPERTY_ZONES, "ORD,DFW,IAD,SYD");
|
||||
properties.setProperty(PROPERTY_ZONES, "ORD,DFW,IAD,SYD,HKG");
|
||||
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");
|
||||
properties.setProperty(PROPERTY_ZONE + ".HKG." + ISO3166_CODES, "HK");
|
||||
return properties;
|
||||
}
|
||||
|
||||
|
|
|
@ -65,11 +65,12 @@ 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,IAD,SYD");
|
||||
properties.setProperty(PROPERTY_ZONES, "ORD,DFW,IAD,SYD,HKG");
|
||||
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");
|
||||
properties.setProperty(PROPERTY_ZONE + ".HKG." + ISO3166_CODES, "HK");
|
||||
return properties;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue