forked from cloud-barista/cloud-barista
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.env
140 lines (116 loc) · 3.46 KB
/
conf.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
## Cloud-Barista API Server Address
# CB-Spider API Server
SpiderServer=localhost:1024
# CB-Tumblebug API Server
TumblebugServer=localhost:1323
## NS_ID for Tumblebug
NS_ID=NS-01
## Declare Array-like (You don't need to change)
declare -A RegionName
declare -A RegionKey01
declare -A RegionVal01
declare -A RegionKey02
declare -A RegionVal02
declare -A CONN_CONFIG
declare -A IMAGE_NAME
declare -A SPEC_NAME
## AWS
ProviderName[1]=AWS
DriverLibFileName[1]=aws-driver-v1.0.so
DriverName[1]=aws-driver01
# region01
RegionName[1,1]=aws-us-east-1
RegionKey01[1,1]=Region
RegionVal01[1,1]=us-east-1
CONN_CONFIG[1,1]=aws-us-east-1
IMAGE_NAME[1,1]=ami-085925f297f89fce1
SPEC_NAME[1,1]=t2.micro
# region02
RegionName[1,2]=aws-ap-northeast-2
RegionKey01[1,2]=Region
RegionVal01[1,2]=ap-northeast-2
CONN_CONFIG[1,2]=aws-ap-northeast-2
IMAGE_NAME[1,2]=ami-00379ec40a3e30f87
SPEC_NAME[1,2]=t2.micro
# region03
RegionName[1,3]=aws-us-west-1
RegionKey01[1,3]=Region
RegionVal01[1,3]=us-west-1
CONN_CONFIG[1,3]=aws-us-west-1
IMAGE_NAME[1,3]=ami-0dd655843c87b6930
SPEC_NAME[1,3]=t2.micro
## Azure
ProviderName[2]=AZURE
DriverLibFileName[2]=azure-driver-v1.0.so
DriverName[2]=azure-driver01
# region01
RegionName[2,1]=azure-koreacentral
RegionKey01[2,1]=location
RegionVal01[2,1]=koreacentral
RegionKey02[2,1]=ResourceGroup
RegionVal02[2,1]=test-rg
CONN_CONFIG[2,1]=azure-koreacentral
IMAGE_NAME[2,1]=Canonical:UbuntuServer:18.04-LTS:latest
SPEC_NAME[2,1]=Standard_B2s
# region02
RegionName[2,2]=azure-northcentralus
RegionKey01[2,2]=location
RegionVal01[2,2]=northcentralus
RegionKey02[2,2]=ResourceGroup
RegionVal02[2,2]=test-rg
CONN_CONFIG[2,2]=azure-northcentralus
IMAGE_NAME[2,2]=Canonical:UbuntuServer:18.04-LTS:latest
SPEC_NAME[2,2]=Standard_B2s
# region03
RegionName[2,3]=azure-canadaeast
RegionKey01[2,3]=location
RegionVal01[2,3]=canadaeast
RegionKey02[2,3]=ResourceGroup
RegionVal02[2,3]=test-rg
CONN_CONFIG[2,3]=azure-canadaeast
IMAGE_NAME[2,3]=Canonical:UbuntuServer:18.04-LTS:latest
SPEC_NAME[2,3]=Standard_B2s
## GCP
ProviderName[3]=GCP
DriverLibFileName[3]=gcp-driver-v1.0.so
DriverName[3]=gcp-driver01
# region01
RegionName[3,1]=gcp-asia-east1
RegionKey01[3,1]=Region
RegionVal01[3,1]=asia-east1
RegionKey02[3,1]=Zone
RegionVal02[3,1]=asia-east1-a
CONN_CONFIG[3,1]=gcp-asia-east1
IMAGE_NAME[3,1]="https://www.googleapis.com/compute/v1/projects/ubuntu-os-cloud/global/images/ubuntu-minimal-1804-bionic-v20191024"
SPEC_NAME[3,1]=f1-micro
# region02
RegionName[3,2]=gcp-europe-west3
RegionKey01[3,2]=Region
RegionVal01[3,2]=europe-west3
RegionKey02[3,2]=Zone
RegionVal02[3,2]=europe-west3-a
CONN_CONFIG[3,2]=gcp-europe-west3
IMAGE_NAME[3,2]="https://www.googleapis.com/compute/v1/projects/ubuntu-os-cloud/global/images/ubuntu-minimal-1804-bionic-v20191024"
SPEC_NAME[3,2]=f1-micro
# region03
RegionName[3,3]=gcp-asia-east2
RegionKey01[3,3]=Region
RegionVal01[3,3]=asia-east2
RegionKey02[3,3]=Zone
RegionVal02[3,3]=asia-east2-a
CONN_CONFIG[3,3]=gcp-asia-east2
IMAGE_NAME[3,3]="https://www.googleapis.com/compute/v1/projects/ubuntu-os-cloud/global/images/ubuntu-minimal-1804-bionic-v20191024"
SPEC_NAME[3,3]=f1-micro
## Alibaba
ProviderName[4]=ALIBABA
DriverLibFileName[4]=alibaba-driver-v1.0.so
DriverName[4]=alibaba-driver01
# region01
RegionName[4,1]=alibaba-ap-northeast-1
RegionKey01[4,1]=Region
RegionVal01[4,1]=ap-northeast-1
RegionKey02[4,1]=Zone
RegionVal02[4,1]=ap-northeast-1a
CONN_CONFIG[4,1]=alibaba-ap-northeast-1
IMAGE_NAME[4,1]=ubuntu_18_04_x64_20G_alibase_20200220.vhd
SPEC_NAME[4,1]=ecs.t5-lc1m2.large