restore: Add missing exoscale region dropdown

This commit is contained in:
Girish Ramakrishnan
2019-01-23 18:04:43 -08:00
parent 031d7a1f18
commit 318ee89e89
2 changed files with 14 additions and 0 deletions
+9
View File
@@ -34,6 +34,7 @@ app.controller('RestoreController', ['$scope', '$http', 'Client', function ($sco
// List is from http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
$scope.s3Regions = [
{ name: 'Asia Pacific (Mumbai)', value: 'ap-south-1' },
{ name: 'Asia Pacific (Osaka-Local)', value: 'ap-northeast-3' },
{ name: 'Asia Pacific (Seoul)', value: 'ap-northeast-2' },
{ name: 'Asia Pacific (Singapore)', value: 'ap-southeast-1' },
{ name: 'Asia Pacific (Sydney)', value: 'ap-southeast-2' },
@@ -42,6 +43,8 @@ app.controller('RestoreController', ['$scope', '$http', 'Client', function ($sco
{ name: 'EU (Frankfurt)', value: 'eu-central-1' },
{ name: 'EU (Ireland)', value: 'eu-west-1' },
{ name: 'EU (London)', value: 'eu-west-2' },
{ name: 'EU (Paris)', value: 'eu-west-3' },
{ name: 'EU (Stockholm)', value: 'eu-north-1' },
{ name: 'South America (São Paulo)', value: 'sa-east-1' },
{ name: 'US East (N. Virginia)', value: 'us-east-1' },
{ name: 'US East (Ohio)', value: 'us-east-2' },
@@ -56,6 +59,12 @@ app.controller('RestoreController', ['$scope', '$http', 'Client', function ($sco
{ name: 'SGP1', value: 'https://sgp1.digitaloceanspaces.com' }
];
$scope.exoscaleSosRegions = [
{ name: 'CH-DK-2', value: 'https://sos-ch-dk-2.exo.io' }, // default
{ name: 'DE-FRA-1', value: 'https://sos-de-fra-1.exo.io' },
{ name: 'AT-VIE-1', value: 'https://sos-at-vie-1.exo.io' }
];
$scope.storageProvider = [
{ name: 'Amazon S3', value: 's3' },
{ name: 'DigitalOcean Spaces', value: 'digitalocean-spaces' },